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]

Arduino Keypad Door Automation

arduino door pad

[Andrea] just sent us this great student hack he made for his room. He’s constructed an Arduino keypad door lock — without using any proper fastening hardware!

The entire build is made out of scrap parts he had lying around: some DVD’s, a bit of wood, an allen key, a motor and belt from a broken printer, an old hard drive enclosure, and a few power supplies. As you can see the entire setup is held up rather artistically using good old duct tape.

The system auto-locks after 5 seconds, and just in case, [Andrea] has hard-coded in a few safety codes into the firmware to allow him to forcefully open the door — you know, if it malfunctions or something. Not overly confident in his code, he also has it reset every 5 minutes of idling to safeguard against potential memory leaks — probably a good idea! All in all it’s a very cool build, and we have to give him props for not damaging the door to mount it! Down the road he’s also planning on adding a knock sensor using the small speaker that is already part of the circuit, because, why not?

Stick around after the break to see this magnificent contraption that would make Red Green proud.

Continue reading “Arduino Keypad Door Automation”

Heathkit Clock Updated With A PIC32 And GPS

heathkit-clock

One of [Bob’s] most treasured possessions is a Heathkit alarm clock he put together as a kid. Over the years he’s noticed a few problems with his clock. There isn’t a battery backup, so it resets when the power goes out. Setting the time and alarm is also a forward only affair – so stepping the clock back an hour for daylight savings time means holding down the buttons while the clock scrolls through 23 hours. [Bob] decided to modify his clock with a few modern parts. While the easiest method may have been to gut the clock, that wouldn’t preserve all those classic Heathkit parts. What [Bob] did in essence is to add a PIC32 co-processor to the system.

Like many clocks in the 70’s and 80’s, the Heathkit alarm clock was based upon the National Semiconductor MM5316 Digital Alarm Clock chip. The MM5316 operates at 8 – 22 volts, so it couldn’t directly interface with the 3.3V (5V tolerant)  PIC32 I/O pins. On PIC’s the input side, [Bob] used a couple of analog multiplexer chips. The PIC can scan the individual elements of the clock’s display. On the PIC’s output side, he used a couple of analog switches to control the ‘Fast’, ‘Slow’, and ‘Display Alarm/Time’ buttons.

Continue reading “Heathkit Clock Updated With A PIC32 And GPS”