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

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

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

Comments

author
Mr innovative made it! (author)2015-03-02

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

MY CIRCUIT.png
author
hadisa-hussein made it! (author)hadisa-hussein2017-02-06

can uh plz tel me about ur crkt that how it will work

author
kdyz made it! (author)2015-08-30

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.

author
kelkar.apoorva2012 made it! (author)2015-02-15

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!

author
sarju7 made it! (author)sarju72015-02-24

i wasnt allowed to go inside the lights circuitry

author
diy_bloke made it! (author)diy_bloke2015-03-02

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

author
diy_bloke made it! (author)2015-02-24

great. i am impressed

author
sarju7 made it! (author)sarju72015-02-24

thanks

author
Akin Yildiz made it! (author)2014-12-22

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 !!

author
sarju7 made it! (author)sarju72014-12-22

Thanks for the kind words. I actually made this because I wasnt allowed to open up the light switch

author
Akin Yildiz made it! (author)Akin Yildiz2014-12-22

genius..

author
Vitim made it! (author)2014-12-18

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.

author
sarju7 made it! (author)sarju72014-12-19

Thats a pretty great idea im probably gonna use it so I can spare 2 servos

author
Sasando_Rote made it! (author)2014-12-01

it's cool concept

author
sarju7 made it! (author)sarju72014-12-16

Thanks

author
MobileWill made it! (author)2014-11-21

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.

author
sarju7 made it! (author)sarju72014-11-30

thank you

author
leadzeplin made it! (author)2014-11-10

cool

author
sarju7 made it! (author)sarju72014-11-10

Thanks

author
sghosh21 made it! (author)2014-11-10

very interesting concept man......keep it up

author
sarju7 made it! (author)sarju72014-11-10

Thanks so much

author
Wired_Mist made it! (author)2014-11-09

Never seen someone go about the problem like that before, Nice job !

author
sarju7 made it! (author)sarju72014-11-09

Thanks for the kind words

author
MsSweetSatisfaction made it! (author)2014-11-09

Ooo that's nice little life hack, definitely looks like it works really well!

author
sarju7 made it! (author)sarju72014-11-09

Thanks so much vote for me

About This Instructable

13,622views

230favorites

Bio: Hey!!! My name is Sarju. I am currently 16 years old and I love to program and tinker with my arduinos. I got into making ... More »
More by sarju7:Python Gmail CheckerL.E.D Tester and Container JarQuickType - A new way to type!
Add instructable to: