AI Disclosure:
I used a tiny bit of AI to help me understand how components work or why they weren’t working as I expected, but the current state is and the finished project should be AI free. My main goal is to learn how to do it, not just to get it done. I’ll ask AI when something doesn’t work to help me figure out why.
This has been a long story, and I might go into more detail later, but I just want to get started with the discussion somewhere. I specifically joined the L1T forums because I heard Wendell talk about Devember and I thought this is the best place to talk about my project, get some feedback, share ideas, learn a lot of stuff and have fun.
The story begins during the dark times of 2020, when I was forced to work from home and due to some personal health issues I also started looking into home automation.
Because of wfh I decided to get a standard off-the-shelf UPS for my desktop setup, and at the time didn’t really think of any other devices needing special protection, since I didn’t really have anything critical running at home. At the same time I also got an Odroid C4 that I used as my general purpose self-hosting machine (AdGuard, HomeAssistant, Vaultwarden etc.).
Over time I was thinking “what good does my desktop UPS do me when my internet, my smart home, my sensor devices, cameras etc. don’t have battery backup. But all of these are very low power devices, getting another standard UPS is pretty expensive and terribly inefficient. Power costs are high here, every Watt I run 24/7 costs me more than 2.50€ a year.
Now I know a little bit of engineering, a bit of physics, a bit about electronics and thought to myself surely there are better ways, and with doing some research I found a few models specifically designed as “router UPS” that come in a 9V or 12V variant, you plug your router wall wart into one side and the router itself into the other, and when power goes out they keep your device running. But these are very limited in terms of what voltages and how many devices they can supply, and I didn’t feel like buying half a dozen of those, so I looked around for other solutions.
I came across this guide: DIY Mini UPS for WiFi Router V5.0 : 18 Steps (with Pictures) - Instructables which made me realize, making my own UPS is not actually that hard, but that design is not very good and not suitable when you want to keep adding outputs and increasing the load. Also I didn’t like that it was using set voltages and barrel jack connectors.
In 2025 I finally took up the idea again, because I somewhere saw a video or a post about USB-C to barrel jack adapters with built in USB-PD trigger to power various (older or recent) devices with unified USB-C chargers. That made my idea a lot easier, I could just do a generic USB-C PD output device and the little adapters would make sure it works with every device I want to power from it.
Luckily I was also aware (due to my tinkering curiosity) of the premade “PD65W” boards that you can buy in many places, a tiny module that does exactly what I just described, you feed it a DC voltage and it has a USB-C output, will auto-negotiate and auto-regulate USB-PD voltages.
Also LFP batteries have become a lot cheaper and more accessible as a safer alternative to Li-Ion for tinkering, so with all of that knowledge combined I went back to the guide for the mini-UPS and made my own variant, using an old laptop power brick, a 4S LFP configuration and 4 USB-C PD65W output modules. I’ll write a detailed component list and schematic in my next post.
This is how it looks, and it’s been running flawlessly since January, powering my Zyxel VDSL Modem, my GL.iNet Flint 2 router and my Odroid C4 Home Assistant machine while only drawing 20W at the wall. The three devices with their original wall warts drew about 18W combined, so only 2W added, and most of that is probably the old laptop charger not being very efficient. On Battery it draws about 14.5W.
It’s been through a couple of simulated power outages as well as a real one, I get about 17 hours of runtime for my 3 devices before the voltage drops too low for the Zyxel, did not test how long the other devices would last after that.
Now you might say “why are you posting your finished project in the Devember category”, but the truth is I don’t consider it finished, it is a DiY project, it is homelab related, and it will involve some dev eventually.
I hope this is okay to share in the Devember event. My point here is that I’m not building some fantasy project, I already have a proof of concept working.
My plans for the next steps are, and this is where I want to learn how to do this:
- turn the current project board into a printable PCB that I can share with anyone interested, to be ordered from any of your favorite PCB providers
- on the printable PCB, replace the laptop input with USB-C and a 20V PD trigger for itself to be powered from any regular USB-C power supply (yay efficiency)
- add a relay to fully turn off the charging circuit when the battery is fully charged, plus little LEDs to indicate when the setup is running on battery or charging the battery, and probably a fuse to protect the battery from accidental short circuits
- add a microcontroller, to monitor battery state, maybe output port switching and monitoring, and make it NUT compatible so I can easily integrate it into my ecosystem
- design an enclosure with a display, maybe one in 10” rackmount size with external battery and one in 19” rackmount size with internal battery
- scale it up to use a much more powerful PSU (probably some commercial 30V or something), an 8S battery configuration and be able to output true 20V 65W (or higher) USB-PD so it can run more powerful devices, right now I’m limited to 12V output.
If anyone has some good guides to help me get started on PCB design (using KiCAD preferably) or wants to chat about the project feel free to reach out. I’m not looking for someone doing all the work, I don’t want a finished PCB, I want to learn how to do it.
I’ll provide a detailed look at the current setup in my next post, whenever that will be.








