432 MHz Wireless Sensors and Power Outlets for Home Automation Using Arduino
Intro: 432 MHz Wireless Sensors and Power Outlets for Home Automation Using Arduino
Home automation becomes more and more popular, affordable and fascinates people. Internet offers such possibilities as never before. Impress your friends showing on Iphone that you can switch on/off lamp in your apartment 1000 km away and simultaneously see it through a webcam.
Wirelessly controlled power outlets are best suited for switching on/off appliances as they do not need cables and only the remote control needs to be interfaced to a microcontroller. Design is electric -shock -safe as the high voltage modules are not opened.
Arduino microcontroller greatly simplifies the task, because it is a standard board that can be easily reprogrammed. Arduino could be connected to a PC, WiFi router with USB running OpenWRT, or direct connection to Internet could be done via Arduino Ethernet shield.
Picture below illustrates how home automation box could look. There are external sensors attached to Arduino, PIR, photodiode, sound level monitor, 1-wire temperature sensors DS18B20
The first attached pdf file contains details how to program Arduino for steering the wireless power sockets.
Second pdf file describes how to connect sensors and relays.
Wirelessly controlled power outlets are best suited for switching on/off appliances as they do not need cables and only the remote control needs to be interfaced to a microcontroller. Design is electric -shock -safe as the high voltage modules are not opened.
Arduino microcontroller greatly simplifies the task, because it is a standard board that can be easily reprogrammed. Arduino could be connected to a PC, WiFi router with USB running OpenWRT, or direct connection to Internet could be done via Arduino Ethernet shield.
Picture below illustrates how home automation box could look. There are external sensors attached to Arduino, PIR, photodiode, sound level monitor, 1-wire temperature sensors DS18B20
The first attached pdf file contains details how to program Arduino for steering the wireless power sockets.
Second pdf file describes how to connect sensors and relays.
9 Comments
TimL5 9 years ago
I created something similar but didn't hack the remote. I used a 433mhz chip to send the rf signal. Check it out here: http://timleland.com/wireless-power-outlets/
lentildude 11 years ago
janisalnis 11 years ago
Arduino does not have real time clock. Solution is to use Arduino RTC shield or to program software clock that you set up every time you power Arduino up.
This was my first try to decode codes. So I used brute force method.
First looked on oscilloscope and then coded the expected pulse length sequence into arduino. Well, you can use arduino itself instead of oscilloscope to measure pulse lengths and sent measurements to PC via serial.
Saxtus 11 years ago
janisalnis 11 years ago
It is nice idea to have a separate transmitter. Then one does not need to open remote control and solder wires.
I know only cheap 433 MHz boards for 5 ca USD.
I think if you can get the sequence out that is necessary then transmitter does not matter. If the carier frequency is the same. It is simple amplitude modulation. Just on or off.
May be you can ask the manufacturer.
The oscilloscope trace that is necessar5y to reproduce is in the instructable.
I am working on a C programm to use USB to serial adapter with CP2102 chip to direct control one of the pin instead of Arduino.
Saxtus 11 years ago
Saxtus 11 years ago
The thing is: Does it need to be encoded in a specific way?
Maybe rev power outlets are X10 compatible by default? Or doesn't matter at all...
I don't want to buy the transceiver only to find out that it's not compatible...
dorcari 12 years ago
janisalnis 12 years ago