Arduino-Based Power Failure Alert System

arduinoPowerFailBox

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.

20 Android Tablets Form An Interactive Photo Collage

You might not have a small army of unused tablets lying around, but if you did, you should try turning them into what Minn calls a “Giant Interactive Photo Array Display:” A Giant IPAD. Har har.

[Minn’s] first step was to hit eBay, hoping to find a score of low-priced, broken-yet-easily-repairable tablets. The only ones available (and for cheap), however, were resistive touch screens with narrow viewing angles. After waiting patiently for nearly half a year, [Minn] hit the capacitive touch jackpot: snagging a pile of 10″ and 7″ Android tablets. The frame is custom made to provide a solid surface for mounting and enough depth for the tablets to fit correctly. Rather than form his own brackets to hold each device, [Minn] re-purposed some IKEA cupboard handles, screwing them into the MDF backboard and clamping the tablets to them with bolts that press against the case. An adhesive rubber bumper stuck to the top of the bolts prevents any damage.

Providing power to the diverse collection required another custom solution; two 5V 10A supplies and one 9V 16A supply fit into an accompany box safely deliver the needed juice. [Minn] chose an app that will grab photos from cloud storage so he can update the collection without having to dig around inside the frame. See the result in a video below! Want to try this project but only have one tablet to spare? The in-wall tablet mount might help.

Continue reading “20 Android Tablets Form An Interactive Photo Collage”

Automated Aquarium Is Kitchen-Sinky

fishtankAutomation

People have been converting their old Power Macs and Mac G5s into fish tanks for a few years now, but [Hayden’s] Internet-enabled tank is probably the most awesome ever crammed into an aquarium along with the water and the fish—and we’ve seen some fascinating builds this summer. After gutting the G5 and covering the basic acrylic work, [Hayden] started piling on the electronics: a webcam, timed LED lighting, an LCD for status readouts, filter and bubble control via a servo, an ultrasonic sensor to measure water levels, thermometer, scrolling matrix display, an automatic feeding mechanism, and more. He even snuck in the G5’s old mainboard solely for a cool backdrop.

The build uses both a Raspberry Pi and an Arduino Mega, which sit underneath the tank at the base. The Pi provides a web interface written in PHP and jQuery, which presents you with the tank’s status and allows changes to some settings. Nearly every component received some form of modification. [Hayden] stripped the webcam of its case and replaced the enclosure with a piece of acrylic and a mountain of silicone, making it both waterproof and slim enough to fit in the appropriate spot. Though he decided to stick with an Amazon-bought Eheim fish feeder, he disabled the unit’s autofeed timer and tapped in to the manual “feed” button to integrate it into his own system.

It’d take half of the front page to explain the rest of this thing. We’ve decided to let the aquarium tell you the rest of its features in the video below. Yeah…it can talk.

Continue reading “Automated Aquarium Is Kitchen-Sinky”

Arduino Astronomic Clock Automates Lights

ardAst

[Paulo’s] garden lights are probably a bit more accurately automated than anyone else’s on the block, because they use latitude and longitude clock to decide when to flip the switch. [Ed Note from the far future: this page no longer exists, but you can still read it on the Wayback Machine. The TimeLord library has also been superceded, so you’ll have some porting to do.]

Most commercial options (and hobbiest creations) rely on mechanical on/off timers that click on an off every day at the same time, or they use a photosensitive element to decide it’s dark enough. Neither is very accurate. One misplaced leaf obscuring your light-dependent resistor can turn things on unnecessarily, and considering the actual time of sunset fluctuates over the year, mechanical switches require constant adjustment.

[Paulo’s] solution addresses all of these problems by instead relying on an algorithm to calculate both sunrise and sunset times, explained here, combined with swiftek’s Timelord library for the Arduino. The build features 4 7-segment displays that cycle through indicating the current time, time of sunset and of sunrise. Inside is a RTC (real time clock) with battery backup for timekeeping along with an Omron 5V relay to drive the garden lamps themselves. This particular relay comes with a switch that can force the lights on, just in case.

Check out [Paulo’s] project blog for the full write-up, links to code and more details, then take a look at some other home automation projects, like the SMS-based heater controller or occupancy-controlled room lighting.

Fail Of The Week: Automatic Baby Rocker

fotw-baby-bouncer

The art of hacking requires you to straddle many different types of engineering. In this case, it looks like [Dan] could use a little bit of brain-storming on how to get this doubly-failed project back on track. Do go easy on him as he wasn’t the one that submitted the write-up for this week’s Fail.

Continue reading “Fail Of The Week: Automatic Baby Rocker”

Ask Hackaday: Can You Hack An Appliance Into A Spy Device?

crackinGoodTeapot

A story surfaced a few days before Halloween on Russian news site Rosbalt (yep, that’s in Russian), claiming Russian authorities intercepted Chinese-made electric irons and kettles: each equipped with microphones and WiFi. You can read a summary in English on the BBC’s website. The “threat” imposed by these “spy appliances” is likely the result of gross exaggeration if not downright fear mongering against Chinese-made products. It’s not worth our (or your) effort to speculate on what’s really happening here, but the situation does present a fun exercise.

Say you wanted to spice up your pen testing by altering a small home appliance: how easily could you build it? Let us know in the comments which appliance would serve as the best “host” for the modifications and what features you would include. Could you manage all the components listed in the article–a microphone, WiFi (any chance of cracking unsecured networks?), plus some vague indication that it “spreads viruses?” There’s a video below with a few glimpses of the electronics in question, but unless you speak Russian it probably won’t offer much insight.

Continue reading “Ask Hackaday: Can You Hack An Appliance Into A Spy Device?”

DIY Doggy Doorbell

doggy doorbell

Is your dog the strong silent type? Ever wish he or she could tell you when it is time to go do their business? This Reddit r/DIY user found a simple solution — a doggy doorbell!

The dog in question isn’t very vocal, so his owner sought a simple solution, similar to Pavlov’s bells — the only problem? He needed some range on it, as you can’t always hear a few bells throughout the entire house. The solution? A wireless doorbell that he repackaged into a dog friendly button!

Compared to our last post on an automatic pet watering system, this one is a very simple hack that requires absolutely no electrical experience. It could be improved upon quite easily though, by wiring a second switch in parallel so the dog can ring the doorbell from the outside of the house too!

According to the owner, it only took a few treats to get the pooch trained well enough to use it whenever he needs to go out!

[Via Reddit]