E-bike Powerstation Conversion
Turning a worn-out e-bike battery into a safe, high-power portable power station, later made hot-swappable with a second pack.
- Hardware
- 3D Printing
- Electronics
- DIY
Overview
I used to ride my e-bike to work every day until the battery degraded to the point where it could no longer hold a charge for the round trip. After buying a replacement pack, I didn’t want the old battery to go to waste, so I decided to turn it into something genuinely useful: a portable power station.
Because it was a large battery, I set myself a challenge: make it not just functional, but a properly finished, safe product I’d actually trust to use every day. Working with lithium batteries can be dangerous, so safety drove almost every decision in the build.
The result is a power station with a 140W USB module capable of charging anything from a phone to a power-hungry laptop, later extended with a 24V expansion that lets it run larger appliances like my compressor coolbox, and later still with a second, hot-swappable battery pack that doubles how long it can keep going.
Key features
- 140W USB module with two USB-A and two USB-C ports, USB-C delivering full 20V Power Delivery (140W total across the module).
- 24V XT-60 expansion adding two 24V ports later, with a custom cable that plugs a compressor coolbox straight into the pack.
- Hot-swappable extension pack, a second 36V 10Ah battery in its own 3D-printed housing that plugs into a dedicated XT-60 port and can be connected or pulled while the system is running.
- Ideal-diode isolation between the two packs, so they never backfeed into each other no matter how differently charged they are.
- Single-charger setup, with a 3D-printed charge splitter that fills both packs simultaneously from the one original e-bike charge adapter.
- Safety-first electronics, with the original battery and BMS left completely untouched, fusing at every stage of the circuit to protect both the battery and each individual component, and components rated well beyond their actual load.
- Kill switch wired to a relay that cuts power to the entire system instantly.
- Live monitoring through a small display showing voltage and battery percentage.
- Active cooling from a fan tied to the USB module that pulls fresh air into the enclosure whenever the module climbs above 40°C.
- Custom-fitted housing, a 3D-printed end-cap that replaces the original e-bike terminal, matched precisely to the battery’s metal shell, which is kept as a strong protective outer case.
The build
The core is a 36V 10Ah e-bike battery, left intact with its original BMS. A buck converter steps the voltage down to 24V, which feeds both the USB module (for full 20V PD) and the 24V XT-60 ports. The original charge port was kept but swapped for a sturdier metal connector.
Every stage is fused, every component is rated well beyond its real load, and a relay-driven kill switch can cut the whole system instantly. These are the details that turn a battery and a converter into something safe to leave running unattended.
The enclosure end-cap was modelled in OnShape, my first time doing any 3D modelling at all. I originally wanted to print in PETG carbon fibre for its higher temperature resistance, but a faulty filament batch caused endless print problems, so I ended up printing in standard PLA. It could warp at higher temperatures, but so far it has held up fine.
For the coolbox, I built a custom XT-60 cable that connects the compressor cooler directly to the pack. To test it properly, I took a full cooler of cold beer and ice packs to a festival in temperatures up to 38°C, and even after adding warm drinks to chill, I had ice-cold beer for two full days straight before the pack ran empty.
Capacity extension
That festival was also where the limits showed: two days of coolbox was good, but it was the point where the pack ran out, not the point where I wanted to stop. So I added a second 36V 10Ah pack, bought complete with its own BMS so the new cells are monitored independently of the original battery.
The goal was never one bigger battery. It was modularity: carry the extension only when the trip needs it, and be able to swap it without shutting anything down. That meant the two packs have to be able to sit on the same rail at different states of charge without fighting each other.
The answer was two ideal diodes, fitted into the power station itself behind a new dedicated XT-60 port. They let both packs feed the system while blocking any current from flowing backwards from the fuller pack into the emptier one. With those in place the extension became genuinely hot-swappable: plug it in or pull it out mid-use and nothing browns out, sparks, or cross-charges.
The pack itself lives in a tall 3D-printed housing designed to be robust enough to actually trust around a lithium battery, rather than a box that merely holds it. The green brackets in the first photo were only ever a test fit to settle the geometry.
Two packs would normally mean two chargers, or charging them one after the other. Instead I built a charge splitter: a small printed box with a pair of ideal diodes inside. It takes two inputs, an XT-60 and a socket matching the original e-bike charger, so it can be fed from either, and splits that into two barrel-jack outputs. Both packs then charge simultaneously off the single original adapter, with the diodes again keeping them isolated from each other while they do it.
Challenges
The hardest part was the 3D model. Every component had to fit onto it perfectly and line up with the battery’s existing metal housing, which meant painstakingly recreating the original terminal’s exact dimensions. It took a lot of headaches and test prints to get right, especially as a complete 3D-modelling beginner.
The extension brought two more. The first was the ideal-diode circuit itself: getting the isolation right so that two packs at different charge levels could share a rail safely, and so that connecting or disconnecting one mid-use was a non-event rather than a surprise.
The second was retrofitting. The power station was already finished, closed up and in regular use, so adding the dedicated XT-60 port and the diodes meant opening it back up and working inside a build I’d deliberately packed tight. That also forced a new back cap, since the old one had nowhere to put the extra port.
What I learned
This project taught me a huge amount across several disciplines: designing electronic logic from scratch, 3D modelling from zero, and (maybe most of all) patience. Working with batteries also gave me a healthy respect for doing things safely and not cutting corners when the stakes are real.
The extension added a different lesson: designing for change. Retrofitting a sealed, working build is far harder than designing the room in from the start, and ideal diodes turned out to be the small, unglamorous component that made the whole modular idea possible.