This project will allow you to switch outlets/lights from your iPhone, or any browser.
You will also be able to send out serial commands remotely.
This project is based on SmartLinc.
http://www.smarthome.com/2412N/SmartLinc-INSTEON-Central-Controller/p.aspx
http://wiki.smarthome.com/index.php?title=2412_Manual_rev_2.0
Components
• OpenWRT compatible router, with serial header
• AVR microcontroller Development Board (like Arduino)
• Actuators like: RF switched outlets (433.92Mhz) with a remote
Remove these ads by
Signing UpStep 1Overview
The Router runs a web server, you access it via browser.
After you push a button on the web page the router sends out a serial command,
we process this with a microcontroller, the AVR converts it to RF protocol, injects it into the RF remote, which controls the RF outlets.
| « Previous Step | Download PDFView All Steps | Next Step » |













































http://mrx23dot.blogspot.com/2012/01/cloning-upb-home-automation-system.html
Great project!
I am doing it, but I have a problem that hex data is not received correctly.
First I tried to send from the router to my PC via:
echo -e "\x9B\x11\x08\x22\xC5\x0D" > /dev/ttyS0
I received: 0x9B 0x11 0x08 0x22 0xC5 0x0D 0x0D 0x0A
I receive 2 bytes in excess and I don't know why!
Then I tried to send from the router to pic, then from pic to my PC to check the received data, I get only 6 bytes but all wrong, not the data I sent.
I am using pic18f452 as I didn't use avr before..
I think the problem is the interface circuit..I used shmitt trigger, res, cap as you did but it doesn't work. Is this circuit need to be modified to be suitable for PIC?
Thanks
you can do it with PUTTY:
http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe
but you need to know linux command line, because it doesn't have any GUI.
WINSCP should work easily on any PC
http://tinyurl.com/3ft8u62
maybe try older versions, or ask for support.
cheers,
Can you elaborate in more detail how to set up and configure the 741 so it allowed to remote control from outside wifi network (from internet)?
- 1st 2 arrows: Schmitt trigger inverters, in one package you get 6 of them, the last 2 of them are unused (so they had to be terminated properly)
- the PSU nets are only connected logically, in the schematic
- the last one is an LED
I wouldn't recommend this project for beginners, first you should learn the basics on an Arduino.
Cheers,
Greets max
for ~$30 you get:
- ~17MB of free user flash space (that's a lot)
- LAN PHY, no need to get magnetics, no soldering involved
- Sweet case, SMPS PSU
- Wifi -> can't beat this with AVR :D
- Linux OS, the possibilities are endless
- upload new web pages via SSH anytime
- No hassle with IP stack
- 400 Mhz CPU
- Possible USB 1.1/2.0 support
- Pre-installed web server app
You will save insane amount of time, if you choose this route.
Serial communication was very easy, it's a state machine in C, built in one day.
Lets compare this to the widely used Arduino:
Arduino Eth Shield $40
Arduino $30 -> flash space for web pages <<1MB
+ PSU + CASE + Time^2...
It's an easy choice.
You can make this system much safer, if you protect your home network with WPA2.
http://www.amazon.com/Stanley-31164-Wireless-Control-Transmitter/dp/B0020ML762/ref=sr_1_5?s=hi&ie=UTF8&qid=1289680424&sr=1-5
Thank you.
http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/ar71xx/default/openwrt-ar71xx-generic-tl-wr741nd-v1-squashfs-factory.bin
Openwrt runs perfectly, it's very stable.