This is a set containing of one transmitter and a couple receivers to wirelessly switch lights (plugged into the outlets) on or off.
The Arduino has a 433 Mhz transmitter and receiver. This way I can listen to what is being broadcast, or I can send signals/codes myself. This is the one I am using: http://www.emartee.com/product/41357/
I used my Arduino to "sniff" the sent signal from the transmitter to the receiver switching the lights. I did this for all on/off combinations for all lights.
The Arduino is also equipped with an ethernet shield, so I can host a litte web application on it. I use this to be able to command my Arduino over the internet or my house network.
So I have:
- An Arduino that "understands" the remote control and can learn from it;
- The possibility to send signals myself as well;
- A small web application running on the Arduino.
- To be able to send and receive the remote's signals, I used the RemoteSwitch library as RF-library, check https://bitbucket.org/fuzzillogic/433mhzforarduino/wiki/Home
- For the webserver on the Arduino, I used the Webduino Library.
- To store the learned codes, and be able to remember them (even after a reset of the Arduino), I store them in the EEPROM. An easy way to store stuff in the EEPROM, is by using the EEPROMAnything code.
- My code examples:
- Simplified source using GET requests and without 7-segment LED display: https://gist.github.com/rogiervandenberg/1f923f0760225054946d
- Source code I am using in the video: https://gist.github.com/rogiervandenberg/1d9c138bbc44524c004c