Introduction: Arduino Room Automation Via Bluetooth
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
Step 1: Materials Needed
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
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
Attachments
Step 3: Wiring
Follow picture attached.
Step 4: Video
IF you cant see it then heres the link https://www.youtube.com/watch?v=k731rVGq1Js