Controlling Servo Motor With Bluetooth With A Self-made App

Controlling Servo Motor With Bluetooth With A Self-made App

Project link

Hello everybody, I am Shafin a member of Aiversity. I am going to share how to control a servo motor with a self-made app.

The parts of the Arduino Uno are given


  • Arduino Uno
  • HC – 05 Bluetooth module
  • Tower Pro Micro 9g servo motor
  • Jumper Wires

Arduino Uno R3

Arduino Uno is a microcontroller for controlling many components

The parts of the Arduino Uno are given.

The pins at the right of the board from 13 to 2 are output and input pins.

The 1 and 0 pins are the TX and RX pins

The lower pins on the left are analog input pins

The upper left pins are the 5v, GND, and other pins.

For more detailed explanation of arduino see the video below: 

arduino uno pinout - Google Search | Arduino, Usb, Electrical ...

Connecting More Parts


The solderless breadboard is ideal for testing projects.The diagram is given:

At the bottom of the breadboard, the sides of the breadboard are connected together There are 1 positive and 1 negative rails on each side.

The between each row has 5 pins connected to each other.

Servo Motor:

A servo motor is a motor in which we can program just an angle from 0° to 180°.

In this project, we have used a tower pro micro 9g servo. We have to output 5v to the servo. Larger servos may use more voltage than that.

Unlike a DC motor, the servo motor has 3 pins. The brown wire is for GND or negative current, the red wire for positive current, and the yellow wire for PWM which is for outputting the angle.

The servo has two parts- the motor and the horn. The horn is the plastic thingy attached to the shaft of the motor.

The Arduino IDE has a library for Servo Motors. I will explain this in detail while explaining the code.

Servo Motor SG-90 Basics, Pinout, Wire Description, Datasheet

BlueTooth Module HC-05 - India - Circuit Uncle


HC-05 Bluetooth module is a Bluetooth component for your Arduino. It can connect to your Bluetooth device as a master or a slave. It has 6 pins but we will use only 4 pins in our project – GND, 5v, TX, and the RX pin.