You can go to any dollar store, gas station, big box store, or your favorite Internet retailer and get a USB power bank. It’s a lithium battery mashed into a plastic enclosure with a USB port, probably poorly engineered, but it does serve as a great power supply for the Raspberry Pi. For the Raspberry Pi Zero contest we’re running over on hackaday.io, [Patrick] built a lithium phosphate battery pack that’s much better engineered and has some features a simple USB power bank will never have.
[Patrick]’s Raspberry Pi UPS isn’t just a battery and charge controller attached to the power rails; this board has a microcontroller that has full control over when the Pi wakes up, when the Pi goes to sleep, and can put the Pi into a clean shutdown, even in headless mode. SD cards around the world rejoiced.
The electronics for this project are just a low-power MSP430 microcontroller and a boost regulator. The battery pack/power manager attaches to the Pi through the first few GPIO pins on the Pi’s 40-pin header. That’s enough to tap into the 3.3 and 5V supplies, along with the serial console so power events can be scripted on the Pi.
So far, [Patrick] has made a few time-lapse movies with his lithium battery backup, a Pi Model A+, and a Raspberry Pi camera. He managed to take 99 pictures over the course of about 24 hours, powered only by a single lithium-ion cell. You can check that video out below.
Continue reading “Battery Backup For The Raspberry Pi”
Unless your main workstation is a laptop, you’ve probably got a APC or similar battery backup kicking around. But have you ever thought of modifying it to make it a bit more useful? After all, it can be used as a useful DC power supply…
[The 8-Bit Guy] shows us how he modified his APC to include a voltage readout, and direct DC output jacks. As it turns out you can get a lot more battery life if you’re not using the built-in pesky AC/DC power inverter! Stick around after the break for a very informative video on how he did it.
Continue reading “Ultimate Battery Backup Mod”
[Benoit] was using an extremely old alarm clock which normally ran on mains power, and he plugged it in to his computer’s UPS to keep it operational during power outages. He noticed that when the UPS switched on that the clock would run fast, though, and apparently it was keeping time by watching the power system frequency. To solve this problem he created his own feature-dense clock which runs Linux.
This alarm clock has everything: seven-segment displays housed in clear epoxy, a touch interface, battery backup, the ability to retrieve the time from an NTP server, and a web interface to change the clock’s settings over the network. That was a large part of [Benoit]’s decision to have the clock run Linux; the network capabilities add a lot of functionality to the clock like the ability to send commands to other devices at particular times. The clock runs on an Aria G25 SOM and has a custom case that looks very professional.
We’re suckers for a high-quality clock builds here, and [Benoit]’s most recent project hits all of our buttons. Even though it doesn’t currently drive people insane or tell confusing time, the Linux and networking capabilities could certainly open up options!
When the power went out at his parents’ shop and ruined the contents of their fridge, [Lauters Mehdi] got to work building a custom power failure alert system to prevent future disasters. Although some commercial products address this problem, [Lauters] decided that he could build his own for the same cost while integrating a specific alert feature: one that fires off an SMS to predefined contacts upon mains power failure.
The first step was to enable communication between an Arduino Micro and a Nokia cell phone. His Nokia 3310 uses FBus protocol, but [Lauters] couldn’t find an Arduino library to make the job easier. Instead, he prototyped basic communication by running an Arduino Uno as a simple serial repeater to issue commands from the computer directly to the phone, and eventually worked out how to send an SMS from the ‘duino. [Lauters] then took the phone apart and tapped into the power button to control on/off states. He also disconnected the phone’s battery and plugged it into an attached PCB. The system operates off mains power but swaps to a 1000mAH 9V backup battery during a power outage, logging the time and sending out the SMS alerts. A second message informs the contacts when power has been restored.
Head over to [Lauters’s] project blog for schematics and photos, then see his GitHub for the source code. If you want to see other SMS hacking projects, check out the similar build that keeps a remote-location cabin warm, or the portable power strip activated by SMS.
[Hackett’s] back at it, this time with some practical advice for the next power outage to hit your city: why not prepare for the worst by building your own bike generator? You’ll no doubt recall that hurricane Sandy devastated New York City’s grid, even flooding substations and causing massive explosions. [Hackett] experienced the Sandy outages first-hand, and knows the value of having this simple build ready to roll.
The project uses a permanent magnet DC motor (around 250 watts), which you can find in electric wheelchairs or other mobility scooters. His setup’s gear reduction spins the motor 50 times for each revolution of the bike wheel. The apparatus [Hackett] built to press-fit the wheel to the motor’s spindle is particularly clever: a threaded rod adjusts the position of the motor, which is bolted onto a hinged platform, with the other part of the hinge welded to a larger frame that supports the bike wheel.
The motor is connected to a home-built charge controller based on Mike Davis’s design, which monitors the deep-cycle batteries and both kills the charge when it’s full as well as turns charging back on after it’s reached a set level of discharge. The rest is gravy: with the deep cycle battery connected to a power inverter, [Hackett] can plug in and keep phones charged, music playing, and even (some of) the lights on. If you’re a fan of [Hackett’s] straightforward, practical presentation style, check out his tripod build and his demonstration of stripping pipes of their galvanization.
Continue reading “Bicycle Generator for Emergency Electricity”
About the size of a shoebox and stuffed with a compact battery/inverter combo, the BatBox packs a mean wallop at 480Wh. What else was [Bill Porter] supposed to do with his free time? He’s already mailed out electronic wedding invitations and built custom LED centerpieces for the reception. He and his wife [Mara] then made an appearance in a Sunday roundup tying the knot by soldering a circuit together. Surely the LED Tetris Tie would have been in the ceremony had it existed. This time, though, [Bill’s] scrounged up some leftover electronics to put a realistic spin on a Minecraft favorite: the BatBox.
A pair of 18V high energy density batteries connect up to a 12V regulator, stepping them down to drive a 110VAC inverter. The BatBox also supplies 5V USB and 12VDC output for portable devices. Unfortunately, [Bill]’s first inverter turned out to be a low-quality, voltage-spiking traitor; it managed to let the smoke out of his fish tank’s LED bar by roasting the power supply. Undeterred, [Bill] pressed on with a new, higher-quality inverter that sits on an acrylic shelf above the batteries. OpenBeam aluminum extrusion seals up the remainder of the enclosure, completing the BatBox with a frame that looks both appealing and durable.
[Chris] and [Dom] wanted to build their own battery backup system on the cheap. They were very creative in sourcing the parts, and ended up putting together a battery-backed CCTV system for about eighty bucks.
Since short power outages are fairly common in the area this battery backup makes sense. We’ve seen some pretty gnarly whole-house systems but this is more of a novelty. That’s a good thing, because the hacking duo decided to reuse batteries which were headed for the scrap yard. They’re connected to a trickle charger which makes sure that they’re continually topped off when mains power is energized. But when there’s a blackout a relay switches an outlet box over to the inverter (also a used part).
The system is outlined in the entertaining video after the break. You’ll see they guys show off the completed build, followed by a walk through of the circuit they designed and how it functions.
Continue reading “Roll your own battery backup system”