Battery Backup Conceals A Pentesting Pi

Over the last few years one thing has become abundantly clear: hackers love cramming the Raspberry Pi into stuff. From classic game systems to mirrors, there’s few places that haven’t been invaded by everyone’s favorite Linux SBC. From the inspired to the bizarre, we’ve brought such projects to your attention with minimal editorialization. As we’ve said before: it’s not the job of Hackaday to ask why, we’re here to examine how.

That said, some builds do stand out from the crowd. One such project is the “Pentesting BBU Dropbox” which [b1tbang3r] has recently posted to Hackaday.io. Noticing the battery bay in a cheap Cyberpower 350VA battery backup was just about the same size as the Raspberry Pi, he decided to convert it into a covert penetration testing device. Of course the illusion isn’t perfect as the battery backup function itself doesn’t work anymore. But if you hid this thing in an office or server room, there’s very little chance anyone would ever suspect it didn’t belong.

The key to the final device’s plausibility is that from stock it had dual RJ-11 jacks for analog modem surge protection. Swapping those jacks out for RJ-45 network connectors gives the BBU Dropbox an excuse to be plugged into the network. At a cursory glance, at least. Internally there is a TRENDnet Ethernet switch which allows the Pi to get on the network when an Ethernet cable is plugged into the battery backup.

We especially like the little details [b1tbang3r] put in to make the final device look as real as possible. The “Reset” button and “Wiring Fault” LED have been connected to the GPIO pins of the Pi, allowing for an exceptionally discrete user interface. For instance the LED could be setup to blink when a scan is complete, or the button could be used to wipe the device in an emergency.

This build reminds us of the Power Pwn released back in 2012 by Pwnie Express. That device was based around a relatively bulky power strip, and the only “feature” it looks like this DIY build is missing from the professional version is the $1,300 price.

Teardown: LED Bulb Yields Tiny UPS

Occasionally you run across a product that you just know is simply too good to be true. You might not know why, but you’ve got a hunch that what the bombastic phrasing on the package is telling you just doesn’t quite align with reality. That’s the feeling I got recently when I spotted the “LED intellibulb Battery Backup” bulb by Feit Electric. For around $12 USD at Home Depot, the box promises the purchaser will “Never be in the dark again”, and that the bulb will continue to work normally for up to 3.5 hours when the power is out. If I could repurpose that to make a tiny UPS for a microcontroller project of my own, it could be even more useful.

Now an LED light bulb with a battery in the base isn’t exactly rocket science, we can understand the product conceptually at a glance. But as they say, the devil is in the details. The box claims the bulb consumes 8.5 watts, but a battery with enough capacity to run such a load for 3.5 hours would be far too large to fit inside of a light bulb. Obviously there’s more to the story.

On the side of the box, in the smallest font used on the whole package, we get our clue. The bulb drops down to 200 lumens when in battery backup mode, or roughly as bright as a cheap LED flashlight. Now things are starting to come together. Without even opening the device, we can be fairly sure it will contain two separate arrays of LEDs: one low set for battery, and a brighter set to run when the bulb has AC power.

Still, I tend to be of the opinion that anything less than $20 or so is worth cracking open to see what makes it tick. Even if the product itself is underwhelming, there’s a chance the internal components could be useful or interesting. With that in mind, let’s see what’s inside a battery backup light bulb, and what we might be able to do with it.

Continue reading “Teardown: LED Bulb Yields Tiny UPS”

Great Emergency Lights From Not-So-Great UPS

We know your shame. Like you, we wanted to save some scratch and bought the bottom-of-the-range UPS, only to discover that it is no use to man or beast as it lacks the power to perform any reasonable task. It’s now sitting in a corner, to gather dust as its batteries deteriorate.

Not so fast with the UPS abandonment! [rue_mohr] came up with a modification for a small APC UPS that turned it into something a little more useful. Removing the mains inverter from the picture with a few displaced wires and PCB mod, the UPS is now a 12V battery with a mains charger and power outage detection built-in. In this state it’s the perfect power pack for some 12V LED strips used for emergency lighting. There is a handy 3D print that fits the rear socket cut-outs on the US version of the device and provides apertures  for a pair of DC power jacks.

This is a relatively simple hack, but we like it for taking the focus away from the obvious part of the UPS, its mains inverter, and turning to the batteries as the main event. It’s a relatively tiny device, but in the past we’ve featured a UPS at the other end of the scale being used for power back-up to a whole house. Meanwhile we’d like to take a leaf from the [BOFH]’s book, and recommend that the most important piece of infrastructure requiring a UPS is the sysadmin’s coffee machine.

Gas Heater Gets A Battery Backup

With the availability of cheap modules, it has become easy to hack/make stuff at home and home appliances see the most creative hacks of all. In one such hack, [Vadim] takes the DIY route to adding battery backup to his gas heater.

His existing unit operates on two D-type batteries which need to be replaced once they are depleted. [Vadim] wanted to implement a reversible method since he lives in a rented place. He replaced the original cells with battery adaptors and brought out the connections using two wires. He then proceeded to add two cellphone batteries with a TPS54233 regulator so as to supply the desired voltage to the gas heater. This is interesting since the module used is an official Texas Instruments EVM instead of the traditional eBay purchase.

The batteries in question are charged using modules based on the TP4056 which in turn are fed 5V from power supply modules. The DC voltage is coupled with a LM1117 to provide power to the heater from the mains and the switch over is accomplished using an SPDT relay. The enclosure is a humble box which resembles a plastic food container and is fitted with PG9 cable glands along with a fuse holder to boot. Take a look at the original post for a plethora of images and details of construction.

This an excellent example of a project that came together using available parts to solve a problem without the frills. The DIY fish feeder is another example of a project with functional design and is a great example of DIY.

Hackaday Prize Entry: LiFePO4wered/Pi+

For some of you the title might seem familiar, as [Patrick Van Oosterwijck] LiFePO4wered/Pi project is a quite successful Hackaday.io project. Now he’s designing from scratch the plus version to fill in some gaps and solve some of the challenges that affected the initial project. So what exactly is LiFePO4wered/Pi+ and what can it do?

In a nutshell, it’s a smart UPS for the Raspberry Pi. The standard version allows a Model A+ and Pi Zero to run on battery for over 2 hours, and the B+, B2 and B3 to run for at least an hour (it maybe less, depending on the system load, of course). It implements two-way communications between the power system and the Raspberry Pi (running the open-source daemon) over the I2C bus. This allows for continuous measurement of the battery voltage and load voltage, with user programmable thresholds for boot, clean shutdown and hard power down. There’s a touch pad that provides clean boot/shutdown capability even in a headless setup, a wake timer allowing the Raspberry Pi to be off for low duty cycle applications and an auto-boot feature to maximize uptime by making the Raspberry Pi run whenever there is sufficient battery power.

That’s the standard version, which we covered last year… what else could the plus version have?

Well, to start, it brings more current to run complete systems with LCD screen and hard drives, the previous version was limited when it came to current. It will provide the option for a wider range of input power sources, such as solar panels, which is pretty nice. The on/off button and the power led will no longer be soldered on the main board so they can ‘relocated’ elsewhere, for example, when making a custom enclosure. Detection of input power to trigger automatic boot and shutdown will be added and last, but not least, a real-time clock with absolute time wake up.

So there it is, the new LiFePO4wered/Pi+ version, with all bells and whistles for the Raspberry Pi enthusiast.

Powering A Laptop With Supercapacitors

What do you do when you find a small horde of supercapacitors? The correct answer is a spectrum of dangerous devices ranging from gauss guns to quarter shrinkers. [Rinoa] had a less destructive idea: she’s replaced the battery in a laptop with a bank of supercapacitors.

The supercaps in question are 2.7 Volt, 500 Farad caps arranged in banks six for a total of about 3 watt-hours in each bank. The laptop used for this experiment is an IBM Thinkpad from around 1998. The stock battery in this laptop is sufficiently less advanced than today’s laptop batteries. Instead of using a microcontroller and SMBus in the battery, the only connections between the battery and laptop are power, ground, and connections for a thermocouple. This is standard for laptops of the mid-90s, and common in low-end laptops of the early 2000s. It also makes hacking these batteries very easy as there’s no associated microprocessors to futz around with.

With all the capacitor banks charged, the laptop works. It should – there isn’t a lot of intelligence in this battery. With one bank of six supercaps, [Rinoa] is getting a few minutes of power on her laptop. With a stack of supercaps that take up about the same volume as this already think Thickpad, [Rinoa] can play a few turns of her favorite late-90s turn-based strategy game. It’s not much, but it does work.

Check out [Rinoa]’s video below.

Continue reading “Powering A Laptop With Supercapacitors”

This Quick Hack Will Keep You Online During Your Next Power Outage

The modern human’s worst nightmare: a power outage. Left without cat memes, Netflix, and — of course — Hackaday, there’s little to do except participate in the temporary anarchy that occurs when left without internet access. Lamenting over expensive and bulky uninterruptible power supplies, Youtube user [Gadget Addict] hacked together a UPS power bank that might just stave off the collapse of order in your household.

This simple and functional hack really amounts to snipping the end off of a USB  power cable. The cable is then attached to a screw terminal to barrel connector adapter and plugged it into a pass-through power USB power bank. No, really — that’s all there is to it. [Gadget Addict] notes that while most modems and routers are designed to run off a 12V power supply, they still operate at 5V. He goes on to connect several router and router/modem combination units to the power bank. In each case the system appears to boot up and perform normally.

Continue reading “This Quick Hack Will Keep You Online During Your Next Power Outage”