Remote Servo-controlled Lightswitch

remoteServoLightSwitch

We frequently get home automation tips, many of which have simple circuit-based on/off control for lights. [Paulo Borges] has created something quite different, however, with his in-the-wall servo-controlled light switch. This build forgoes the need of any relay to switch mains power, and because it’s physically flipping your switch, provides a distinct advantage over other builds that require a phone or tablet interface: you can use your switches as you normally would.

[Paulo] picked up a rocker-type switch at the local hardware store and carefully pried off the large, flat switch plate to notch out a small hole at its fulcrum. He then carefully shaped a piece of 12 gauge wire to provide a pivot point for the servo. His choice to use wire here seems to be entirely to provide a sturdy yet bendable component that functions mechanically rather than electrically. A small 9G servo fits to the back of the switch’s housing, and the servo’s arm connects up to the previously attached 12 gauge wire. He pieced together the remote control feature with an RF link kit with an inexpensive 433mhz Code duplicator from eBay.

[Paulo] explains that his Instructable is simply an overview rather than a step-by-step guide, so if you’re eager to reproduce this hack you’ll have to work out the code and the remote control portion yourself. He also acknowledges the biggest remaining hurdle: finding space in the wall to shove all the microcontroller guts. Check out a couple of videos of the switch after the break, and remember, there’s always the option of doing away with all light switches.

Continue reading “Remote Servo-controlled Lightswitch”

Web Connectivity And Other Addons For An Automatic Schnauzer Feeder

web-enabled-automatic-dog-feeder

[Ben Miller] and his dad combined forces to create this automatic dog feeder. It not only keeps their two schnauzers happy, but gives them peace of mind as they can double-check that he feeding happened by pulling up an image on the Internet. Make sure you make it through all three posts of the build to get the entire picture.

The project started with some research which turned up a project that used a commercially available automatic feeder. That one used Arduino, but because of the cost the board plus a WiFi shield is a bit high, [Ben] went with a Raspberry Pi and a USB WiFi dongle instead. The Pi is much more powerful and adds the functionality for capturing images via a webcam.

After a convoluted process of connecting the Pi to the existing button traces on the automatic feeder it was time to start coding. The system runs from a Perl script which monitors a Gmail account for remote commands (in addition to a regular feeding schedule). The final touch is a bit of mechanical engineering which splits the output into two bowls so the dogs each have their own serving.

We still use the Autodine we built several years back but its single-serving limitation has always kept a second version on our project list. Hopefully seeing a well-executed system like this will motivate us to get building!

Voice Controlled Home Automation Uses Raspberry Pi And LightwaveRF

It’s not quite artificial intelligence, but saying “Jeeves, lights!” will switch on the bulbs in the room. [Chipos81] built the voice-activated home automation around a Rapsberry Pi board with LightwaveRF devices switching lights and outlets.

The LightwaveRF system offers a WiFi link which provides Internet connectivity for all of those devices in your house. This makes it a snap for [Chipos81] to control them from the RPi. To provide speech recognition he’s using CMU Sphinx. It’s an open source speech recognition library developed by researchers at Carnegie Mellon University and released under a BSD license. It seems to do a great job in the video of quickly parsing several sets of commands.

“Jeeves” will even talk back to you to confirm a command. This is generated by Festival, a package developed by the University of Edinburgh.  This provides some entertainment in the last seconds of the video as we detect a distinct Scottish accent when it says “See you tomorrow”.

The GPIO pins provide a bit of feedback, using three colored LEDs to let you know what is going on with the system. There’s even an IR LED used to add voice control to your Television.

Continue reading “Voice Controlled Home Automation Uses Raspberry Pi And LightwaveRF”

Electric Imp As An Internet To RF Gateway

a-little-automation-with-the-electric-imp

This project is a study in connecting several different families of hobby electronic hardware. The image above shows the Electric Imp side of things. It bridges its Internet connection with the RF connections of the rest of the project.

The Imp is a peculiar (intriguing?) piece of hardware. Take a look at [Brian Benchoff’s] hand’s on experience with the SD form factor hardware which is not an SD card at all. It’s an embedded system which uses light programming and a cloud-based software setup to bring wireless Internet to your projects.

In this case [Stanley Seow] started wondering if he needed multiple Imps to connect different parts of his setup. A bit of head scratching led him to the use of nRF24L01 modules which are cheap and easy to use Radio Frequency transceiver boards. He took a partially finished driver project and brought it home to play nicely with the Imp. Now he can use the system to communicate with other components which will eventually be used for home automation. Right now his proof of concept issues wireless commands to an Arduino driving a strip of LEDs.

Home Audio And Lighting Taken Over By The Raspberry Pi

687474703a2f2f7777772e6265616b61626c652e636f6d2f696d672f707265766965772d312e706e67

We’re beginning to see a lot of momentum building for using Raspberry Pi boards as the basis of your home automation. This latest offering from [Iain Hamilton] combines lighting and audio control through a single web interface. His frontend is run as a web page from the RPi board. It even includes separate layouts for mobile devices and computers in order to maximize use of the screen real estate.

Three buttons at the top of the interface allow him to configure the settings and switch between lighting and audio controls. This audio control screen issues commands to the Spotify client running on the Pi. The Mopidy package takes care of almost everything (as we’ve seen with other single-board computer Spotify servers). Future iterations will offer other streaming services like SoundCloud. [Iain’s] home lighting system uses X10 modules for control. He’s using a USB dongle to facilitate control of that system.

Continue reading “Home Audio And Lighting Taken Over By The Raspberry Pi”

Web Based Automation Courtesy Of Raspberry Pi

web-based-automation-via-rpi

This project is a great example of the Raspberry Pi’s ability to eclipse Arduino when it comes to interaction. [Fall Deaf] mentions that he used to use an Arduino board with an Ethernet shield to add extensible interactivity to his project. But this one, which is a home automation lamp project, uses a Raspberry Pi instead. The concepts end up being very similar. But the cost of the hardware is less and the coding work is arguably orders of magnitude easier.

Don’t get us wrong, the hardware is fundamentally different. When you move from Arduino to RPi you lose some I/O pins and the low level control of them isn’t quite as straight-forward. But you also don’t have to program the thing in C. The Linux kernel handles the low level control which means you can write your scripts using Python. Because Python is an interpreted language the testing and debugging is much faster — no need to flash new code, just run the script again.

This project used the RPi GPIO to drive a strip of LEDs which use the WS2801 protocol. The board includes a NIC which makes it a snap to use as a web server. The smart phone controls seen above are served up from the Pi using jQuery. Right now there’s a cord running out of the lamp. But there should be plenty of room to use a screw-in outlet adapter and to hide the RPi and its PSU inside.

The board still has enough juice to drive other automation features too, like acting as a web radio server.

Continue reading “Web Based Automation Courtesy Of Raspberry Pi”

24-hour Hackathon Project Adds Object-based Automation To Hackerspace

hackerspace-automation

[Jeremy Blum], [Jason Wright], and [Sam Sinensky] combined forces for twenty-four hours to automate how the entertainment and lighting works at their hackerspace. They commandeered the whiteboard and used an already present webcam as part of their project. You can see the black tokens which can be moved around the blue tape outline to actuate the controls.

MATLAB is fed an image from the webcam which monitors the space. Frames are received once every second and parsed for changes in the tokens. There are small black squares which either skip to the next track of music or affect pause/play. Simply move them off of their designated spot and the image processing does the rest. This goes for the volume slider as well. We think the huge token for the lights is to ensure that the camera can sense a change in a darkened room.

If image processing isn’t your thing you can still control your audio entertainment with a frickin’ laser.

Continue reading “24-hour Hackathon Project Adds Object-based Automation To Hackerspace”