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

Participated in the
Microcontroller Contest

Participated in the
First Time Author Challenge
25 Comments
8 years ago on Introduction
i need help.
dear simon72post i am building bluetooth remote relay switch same as yours. i am using components as mention below
1) arduino uno.
2) 4 channel, 12vdc relay card.
3) HC-05 Bluetooth module.
4) Arduino bluetooth control device android app
5) jumper wires etc.
How i wired my componnents i have shown in blow pic.
now please can you provide me a sketch so that i can operate relay via my android mobile using Arduino bluetooth control device android app.
i think u understand what i want from you i am a bignner in this arduino world and i found your this post very much closer to my need
and please guied me my friend
please my friend help me you can mail me on sharmaz747@gmail.com
Reply 6 years ago
can uh plz tel me about ur crkt that how it will work
8 years ago
Your wall switch has screws, you could maybe use a relay to save electric energy and material costs aaand it would definitely be more silent than a servo.
Using a relay is actually more simple, it's just like a switch, an electric one though.
And it would also save energy and material costs if you switched from bluetooth to infrared :>
P.S. I read that you weren't allowed to mess with the circuitry... Too bad... wish you the best though.
8 years ago on Introduction
This is ridiculous!!! Hahahaha!! WHY SERVOS!! Just use a simple relay and have a better control. Relays are so much cheaper than servos! Anyways nice project!
Reply 8 years ago
i wasnt allowed to go inside the lights circuitry
Reply 8 years ago on Introduction
actually, using ways to automate without rewiring or touching high voltage circuitry isnt that fat fetched:
http://spectrum.ieee.org/geek-life/hands-on/how-to-automate-your-home-without-rewiring
8 years ago on Introduction
great. i am impressed
Reply 8 years ago
thanks
8 years ago on Introduction
perfect for people who aren't allowed to solder yet and/or have access to relays. this project can be used in many different ways, thank you for sharing !!
Reply 8 years ago
Thanks for the kind words. I actually made this because I wasnt allowed to open up the light switch
Reply 8 years ago
genius..
8 years ago on Introduction
Cool! you could get it to work with a single servo per switch, if you put it on the middle. You can make it stand on 90 degrees and go to 0 or 180 to turn on and off.
Reply 8 years ago
Thats a pretty great idea im probably gonna use it so I can spare 2 servos
8 years ago
it's cool concept
Reply 8 years ago
Thanks
8 years ago on Introduction
Pretty cool. I think you can improve it with only one servo per switch. If you place the servo on the side with a longer arm or a bar across the horn of the servo it can hit both on and off.
Added to my collection. Thanks.
Reply 8 years ago on Introduction
thank you
8 years ago on Introduction
cool
Reply 8 years ago
Thanks
8 years ago on Introduction
very interesting concept man......keep it up