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.

Modular 555 Synth is Controlled by MIDI

[Atdiy and Whisker] aka [The Tymkrs] have created a  MIDI controlled 8 note modular synthesizer. (YouTube link). The project was designed to highlight some of the modules they have available at their Tindie Store. Essentially, the synthesizer is 8 classic Atari Punk Console (APC) tone generators. Each APC is made up of two 555 chips, rather than the 556 used in the original design. The APCs are tuned to a Pentatonic scale, with the 8 notes covering 1.5 octaves. [Whisker] added a single potentiometer which controls all 8 of the monostable oscillators at once. Tweaking this knob gives the synth that classic Atari Punk Console sound we’ve all come to know and love.

The 8 APC outputs are routed to once side of an AND gate. The other side of the AND gate is connected to a 74hc595 shift register. A Parallax Propeller processor converts MIDI note data into a serial stream that can be daisy chained across several ‘595 shift registers. The outputs of the 8 and gates are mixed to a single combined output, which goes out to [The Tymkrs] studio amplifier.

Like many [Tymkrs] videos, this one ends with a MIDI driven jam session, outlining how the circuit would sound in a song. Click past the break to see it all in action!

Continue reading “Modular 555 Synth is Controlled by MIDI”

Sucking PIC Firmware Out of an Old APC Battery Backup


Looking at this huge Uninterruptible Power Supply we are a little envious. It’s meant to hang on the wall of a utility room and power your critical devices. [Radek Hvizdos] has had it in service for quite some time, and when he started thinking of replacing the internal battery he decided to see if he could also extend the functionality. To do so he needed to get at the firmware of the chip controlling the device. And so began his adventure of dumping the firmware from the read-protected PIC 18F452.

The challenge of dumping code from a write-protected chip is in itself a fun project. But [Radek] was actually interested in fixing bugs and adding features. The wishlist feature we’d be most interested in is a kind of triage for shutting down devices as the internal battery starts to run low. Nice! But starting from scratch with the firmware is a no-go. You can see the two places where he connected to the PCB. The upper is for using a PIC programmer. The lower is an I2C connection used to dump the EEPROM with an improvised Bus Pirate.

In the end it was improper lock bit settings that opened the door to grabbing the firmware. The bootloader section of the PIC is not locked, and neither is the ability to read from FLASH at run-time. These two combined allowed him to write his own code which, when flashed to the bootloader section, dumps the rest of the firmware so that it may be combined into a complete file afterward. Since posting this fascinating article he has made a follow-up about disassembling the code.

A Linux server that tweets power changes


Twitter has been used for lots of experiments, both useful and just for fun. [FIRESTORM_v1] sent in his project that falls under the useful category. When he wanted a way to monitor his server’s power statistics, Twitter was a logical choice. Similar to the Tweet-a-Watt, he wrote a script that posts messages from APCUPSd to a Twitter account that he follows, and gets the updates on his phone. [FIRESTORM_v1] documents all of the scripts he used and the steps to get your server up and tweeting.