Introduction: Bluetooth Controlled Fan Regulator With Arduino

Picture of Bluetooth Controlled Fan Regulator With Arduino

Hello friends,

In this instructable, i have shown how to make a diy system to control fan regulator the help of Arduino servo motor & a Bluetooth module.

We can switch on & off a fan easily with a relay but controlling speed is a difficult part but with a servomotor it is easy to control its speed, & we can do it wirelessly too.

Things we will need

    Arduino Nano

    Servo motor

    Bluetooth module ( i used HC-05)


    Rubber band or some thing like rubber band. ( i used small pieces of Tyre tube)

    Jumper cables

    Double sided tape


Step 1: Gluing, Sticking, Attaching & Placing..

Picture of Gluing, Sticking, Attaching & Placing..

Gluing : Take the rubber band and stick it with metal/plastic piece of servo motor with the help of glue.

Use enough glue so rubber & give it some time to set so it don't slip from its position.

Sticking : take the servo motor and stick it to your switch board with double sided tape just like the image.

like the rubber band, use enough tape to stick it at least two side of servo motor. other wise it rip off from its position because of rubber band's stretching.

When you finish sticking & gluing,
Attaching : Attach the plastic piece to the servo motor.

Placing : place the rubber band to fan regulator like the image above.

Step 2: Coding

// Created by Gautam ( )// On February 22, 2016.#include<Servo.h>intpos=0;intinput=0;Servomyservo;voidsetup(){



Step 3: Wiring

Picture of Wiring

Stick a small breadboard nearby switch board,

and place Nano and Bluetooth module on it.

take some jumper cable attach all the things like the image above.

Servo :

Yellow wire > D9

Red wire > 5V

Black > GND

Bluetooth module :

Rx > Tx

Tx > Rx


VCC > 3.3V

Step 4: Power Up

When you finish all the steps. power up your nano.

The led of Bluetooth module should blink.

Connect to Bluetooth module via PC & select the right port in IDE.

Now open serial monitor.

type 1 & enter, the servo will move 5 degrees clock wise.

type 0 & enter the servo will rotate 5 degree anti clock wise.

If you have any suggestion related to this instructable or need help,

you can write to me in the comment section below. ^_^


SIM-Tech (author)2016-02-26

ummm what does this code has to do with BT ? this is all serial BT is not needed for this what am i missing ?>

Gautam1807 (author)SIM-Tech2016-02-27

you can do this tutorial with data cable too...

gast (author)2016-02-23

Is pos<=180 the same as if(pos>=180) pos = 180: ? I have never seen that short cut before. Can you provide any reference for that? Seems like a pretty nice trick.

Thanks for sharing nice instructable.

SIM-Tech (author)gast2016-02-26

in not a trick thats the conventional way

darrenhall (author)2016-02-22

pretty cool - high tech, meets low tech to get the job done

About This Instructable




Bio: Curious by nature. Like to know how things works & love to learn about them. Especially electrical, electronics, mechanical, micro-processors.
More by Gautam1807:How to Build a JIG for LEDcube (Full Tutorial)Hide & See Partition in Windows 7/8/8.1Controlling blinking speed of an LED with Arduino & Pot (With video)
Add instructable to: