Arduino Room Automation Via Bluetooth





Introduction: Arduino Room Automation Via Bluetooth

About: 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 instructables and arduino from the Instructables user ASCAS. Check out his profile too.

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 .

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


jumper cables

bluetooth module i got mine from

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

Step 3: Wiring

Follow picture attached.

Step 4: Video

IF you cant see it then heres the link



    • Creative Misuse Contest

      Creative Misuse Contest
    • Oil Contest

      Oil Contest
    • Clocks Contest

      Clocks Contest

    25 Discussions

    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

    MY CIRCUIT.png
    1 reply

    2 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.

    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!

    2 replies

    actually, using ways to automate without rewiring or touching high voltage circuitry isnt that fat fetched:

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

    2 replies

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

    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.

    1 reply

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

    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.

    1 reply