Arduino Room Automation via Bluetooth

Written by: roboguru

Picture of Arduino Room Automation via Bluetooth20141109_070507 - Copy - Copy.jpg20141109_070443 - Copy - Copy - Copy.jpg20141109_070447 - Copy - Copy - Copy.jpg20141109_070518(0) - Copy - Copy.jpg

Before I start I would like to thank the instructable user ASCAS for showing me how to use bluetooth in my project. Here is howi learnedhttp://www.instructables.com/id/Voice-Activated-Ar... .

What I did in this project was use 4 servos to physically turn on and off the lights and fan in my room. It will only work with switches similar to mine. This is great if you dont want to open up your light switches to use a relay. To turn on the lights you can say "lights on" "turn lights on" "turn the lights on" for lights off you can say "lights off" "turn lights off" "turn the lights off" for the fan you can say "fan on" " turn fan on" and "turn the fan on" for fan off you can say "fan off" " turn fan off" and "turn the fan off". Remember to vote for me if you like my project

Step 1: Materials Needed

Picture of Materials Needed20141109_070722.jpg20141109_070907.jpg

4 servos and servo horn showed in picture along with the smallest screw that comes with the servo. I used some small 9gram servos fromhttp://www.dx.com/p/towerpro-sg90-9g-mini-servo-wi...

breadboard

jumper cables

bluetooth module i got mine from http://www.dx.com/p/jy-mcu-arduino-bluetooth-wirel...

arduino board with tx rx pin and can supply 5 volts and has at least 4 digital pins for each servo.

wall wart power supply

android phone with this app

https://play.google.com/store/apps/details?id=robo...

Step 2: Code

Put code on board and you will probably have to mess with the number of degrees you want the servo to turn depending on the servo horns position

http://www.instructables.com/files/orig/FH7/Z88W/I2ABMWCJ/FH7Z88WI2ABMWCJ.ino

Step 3: Wiring

Picture of Wiring

Follow picture attached.

Step 4: Video

IF you cant see it then heres the link https://www.youtube.com/watch?v=k731rVGq1Js

Leave a Reply