Arduino Tutorial 12 – Servo Motor Control via Bluetooth (with Smartphone)

In this tutorial you will be creating an aplication for controlling a servo motor.
Use slider in your application and move to servo motor from 0-180.

Hardware Required :

Arduino Boards —
Bluetooth Module —
Servo Motor —
Wires —

Recommended Shopping Site —
Arduino Starter Learning Kit —
Arduino Compatible Tools —
Arduino Modules Boards —
Professional Tools —
3D Printer and Tools —
Flash Deals for Electronic —
Mobile Device Deals —

Important Advices :

– Before uploading the code, remove the VCC cable from bluetooth module.
– If you use HC-05 bluetooth module, it will ask the PIN to you. Usually 1234.
– If you get an error similar to (ERROR 507 or 516 broken pipe) please try to connect a few times. Sometimes connection will be broken.
– Make sure that your Arduino or Genuino board is attached to your computer via USB to enable serial communication through the serial monitor window of the Arduino Software (IDE).
– Include SoftwareSerial library

*** I recommend! You not connect directly the servo motor to arduino. I suggest you use external power to the servo.

SG90 Mini RC servo motors can be used. This can damage the Arduino MG996 instant high torque.

MG996 Stall Torque: 9.4kg / cm (4.8V) – 11 kg / cm (6.0V) and Operating voltage: 4.8 ~ 6.6v.

I wanted to tell in this tutorial; connections, code generation and motor control. So I did not give more details about the engine.

About the Code :

The Arduino hardware has built-in support for serial communication on pins 0 and 1 (which also goes to the computer via the USB connection).

The SoftwareSerial library has been developed to allow serial communication on other digital pins of the Arduino, using software to replicate the functionality (hence the name “SoftwareSerial”)

Digital pins 10 and 11 on your Arduino or Genuino boards are used as virtual RX and TX serial lines. The virtual RX pin is set up to listen for anything coming in on via the main serial line, and to then echo that data out the virtual TX line. Conversely, anything received on the virtual RX is sent out over the hardware TX.

Make sure that your Arduino or Genuino board is attached to your computer via USB to enable serial communication through the serial monitor window of the Arduino Software (IDE).

About the Application :

– Create your application with MIT App inventor.
– After completing the Program in MIT app inventor, go to Build and select App( save .apk to my computer)
– Transfer the file to your android mobile phone or tablet.
– Go to setting in your android mobile; select security and device administration and give access to allow install application from unknown sources.


Get the Source Code and Application —



Bluetooth module hc-05 with Arduino

Bluetooth module hc 05 with Arduino.
In this tutorial we will learn how we can connect bluetooth module hc-05 with arduino.
Code Link:


Arduino Bluetooth Android – LED Controller Project

This video to show you how to connect the Bluetooth HC-06 with Arduino UNO to On and Off the LED with your Android Phone or tablet.

You can find the more detail on below link:

Arduino and Bluetooth HC-06 to Control the LED with Android Device

Android Application


Arduino Tutorial #8 – Controlling Robots with Bluetooth (HC-05)

In this tutorial we learn how to use the HC-05 bluetooth module with Arduino. The end result being a robot that is controlled via bluetooth.

Support me on Patreon:

Social Links



Tutorial # 3: Configure & Interface Bluetooth Module with Arduino UNO in Urdu

This Tutorial Show you that how to configure a Bluetooth Module (HC-06) with AT Commands using Arduino and how to interface a Bluetooth Module (HC-06) with Arduino


Schematic 1 :
Schematic 2 :
Arduino Sketch :
Android App :


How to set AT Command mode for HC-05 Bluetooth module arduino

AT Command mode is use to change default settings of HC-05 BT module like device name, device role master or slave etc.
This video is to show how to configure AT COMMAND mode for HC-05 BT Module for Arduino.
There are two types of BT Module available in market one with small push button on it and one is without push button both of them are cover in this video.

Complete instruction is available at

How to set AT command mode for HC-05 Bluetooth module

AT Command stands for — Attention Command

Link for AT Command list

Link for AT command arduino sketch

Link to buy HC-05 BT module

Friends please like and subscribe us for more videos


How to PAIR Bluetooth HC-05 Modules

This video explains how to pair tw HC-05 modules so that they can replace Serial wired communication to a Wireless one.
Arduino UNO is used to configure SLAVE module.
USB-TTL board is used to configure the Master.

Bluetooth HC05- How to pair two modules

TERATERM serial terminal download

It’s not RealTerm as mentioned in video.I’ve used TERATERM.


Arduino Code: HC-05 Bluetooth module setup as communication device

Arduino Bluetooth HC-05 Circuitry & Code

Schematic using 3.3v Regulator:

Schematic using resistors as voltage regulator:


The voltage regulator is used to prevent the 5v output
from the Arduino’s Transmit pin (TX)
overloading the 3.3v Receive pin (RX) of the Bluetooth module.

To change the Name, Password, Mode ect of you HC-05 device
see here:

Please leave a ‘Like’ to help support further development.
Subscribe for upcoming content

Any questions or requests, feel free to leave a comment.

I’ll help where I can with questions & project requests

..happy coding; }



-Minimalist starter concept models to build upon.|
-Simple code & schematics for easy digestion.|
-Cataloguing individual projects.|
-Easy to combine prototypes.|


Configuring The HC-05 Bluetooth Module with AT Commands

In this video, I will demo how to change the settings of the ubiquitous HC-05 Bluetooth module using the AT command set. The HC-05 comes with a rich set of AT commands to perform various tasks such as changing the module’s default settings including changing the pass code, the device name, and the baud rate. Please refer to the detailed guide on to wire and set-up the HC-05 to the Arduino for AT command mode.

Follow the instructions here:


Arduino #15 Bluetooth Tutorial – Easy Wireless for your Robots Android

In the 15th Arduino Tutorial we will be connecting to our module via Bluetooth. this connection is fairly simple and will be done through either iOS or Android from an application which is already available in either store. You will learn how to dim an LED, toggle your digital outputs and expand your knowledge of wireless connectivity.

Relevant Tutorials:

Relevant Links:
1. Android App:

– To establish a Bluetooth Connection to the HC-06 Module
– To send data to the Arduino which will change the brightness of an RGB LED.

Hardware Required:
– Bluetooth Module (HC-06 or HC-05)
– Arduino
– Jumper Cables
– Breadboard
– Resistors (220 ohm)

Optional Hardware:
– Resistors for voltage devider (10k x 3)

Get in touch:
Personal website:

Search Terms:
Wireless Arduino
Wireless Communication
Bluetooth tutorial
Ultrasonic Sensor
Servo Motor
Arduino Tutorial
HC SR04 Sensor
Motion Detection
Range Sensor
Proximity Sensor