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 controlling it.
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
Up to +4dBM RF transmit power
Operate on 1.8-3.6V
UART interface with programmable baud rate
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 inbuild 3.3V voltage regulator.
Pin 0 (RX)
Pin 1 (TX)
Note:-RXandTXalway connect in cross connection
Mobile Application Setup
Download the application Arduino BluetoothControl 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.