Arduino Room Automation Via Bluetooth




Hey!!! My name is Sarju. I am currently 16 years old and I love to program and tinker with my ard...

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

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

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

Microcontroller Contest

Participated in the
Microcontroller Contest

First Time Author Challenge

Participated in the
First Time Author Challenge

Be the First to Share


    • Made with Math Contest

      Made with Math Contest
    • Multi-Discipline Contest

      Multi-Discipline Contest
    • Robotics Contest

      Robotics 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

    4 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

    Reply 4 years ago on Introduction

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

    Akin Yildiz

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

    2 replies
    sarju7Akin Yildiz

    Reply 4 years ago

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


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

    1 reply

    Reply 4 years ago

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


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

    1 reply