Arduino Room Automation Via Bluetooth

by sarju7 in Circuits > Arduino

15222 Views, 230 Favorites, 0 Comments

Arduino Room Automation Via Bluetooth

20141109_070458 - Copy - Copy.jpg
20141109_070507 - Copy - Copy.jpg
20141109_070443 - Copy - Copy - Copy.jpg
20141109_070447 - Copy - Copy - Copy.jpg
20141109_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 learned https://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

Materials Needed

20141109_070712.jpg
20141109_070722.jpg
20141109_070743.jpg
20141109_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 from http://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...

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

Wiring

Wiring1.png

Follow picture attached.

Video

Room Automation

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