Bluetooth is a powerful device for short-range communication. You must be familiar with Bluetooth, the one that we have in our smartphones. Do you know that you can connect your smartphone with Arduino using the popular HC-05 Bluetooth module? In the following article, we will learn to connect your android phone with Arduino and control it.
|How to install and Arduino software download software
|Arduino Bluetooth control
How Arduino uses Bluetooth
HC-05 Bluetooth is based on SPP (Serial Port Protocol) module, designed to send serial wireless data between two different bluetooth devices.
|Used to start for AT Command (You can change the name and password with AT Command)
|Transmitter (Transmit data )
|Receiver (Revive data)
|Enable or disable the module to save power
- -80dBM Sensitivity
- Up to +4dBM RF transmit power
- Operate on 1.8-3.6V
- PIO control
- UART interface with programmable baud rate
- Integrated Antenna
- Edge Connector
The Connection with HC-05 Arduino is very simple. HC-05 works on both 3.3V & 5V, it is recommended to use 5v. This module is having an inbuilt 3.3V voltage regulator.
|HC-05 Module Pin
|Pin 0 (RX)
|Pin 1 (TX)
Note:- RX and TX always connect in cross connection
Mobile Application Setup
Download the application Arduino Bluetooth Control from the Google Play Store.
The next step is to pair your mobile phone with the HC-05 Module. To do so, open your mobile, go to Settings>Bluetooth. Then, turn on the Bluetooth, and search for the device in the list. Find your device (generally end with HC-05), it will ask for a password. The default password for HC-05 must be 0000 or 1234.
After pairing, open the app and connect with the Module.
Open buttons and press 1 and 2. Also, you can send custom data or re-program the buttons.