BlenderDefender: Automating Pavlovian Conditioning

blenderDefender

This isn’t your typical home automation project; who turns a blender on remotely? [Brian Gaut] did, when he rigged his blender and a strobe light to scare his cat off the kitchen counter. To be fair, we’ve linked to this project before on Hackaday—twice actually—but neither the article about relays or the related cat waterwall article actually talk about the BlenderDefender, and that’s a shame, because it’s pretty clever.

[Brian] began by installing a DCS-900 network camera on the wall near his kitchen sink. The camera monitors any motion on the counter, and once it detects something, a networked computer starts recording individual frames. This security camera setup isn’t looking for criminals: [Brian] needed to keep his cat away from a particularly tasty plant. The motion detection signals an X10 Firecracker module to turn on both a nearby blender and a strobe light, provoking some hilarious reactions from the cat, all of which are captured by the camera.

Check out some other ways to work with the X10 firecracker, and feel free to jump into the home automation discussion from last week.

[Thanks Joy]

Working With Relays

relay

SparkFun’s latest tutorial shows you how to work with relays. A relay is an electrically operated switch. In this case, they’re using it to switch a 120V AC outlet. The article carries the standard warnings about how not to kill yourself with AC (plus some non sequitor linking throughout). As an extra precaution, they chose a GFI outlet. You probably know how a relay works, but it’s worth seeing how they implemented it. They use a transistor to prevent overloading the microcontroller’s GPIO pin. The control pin is pulled to ground to keep the relay off. A diode is placed across the relay coil to manage the power flow when it discharges. An indicator LED is included to show when the relay closes. This is a great foundation for an automation project, or maybe you just want to terrorize your cat.