Wireless control is one of the most exciting features of modern electronics. In this project, we will control an LED using a Bluetooth module and a mobile phone. The Arduino receives commands from the phone through Bluetooth and switches the LED ON or OFF accordingly.
This project uses Arduino Uno and HC-05 Bluetooth Module.
🧰 Components Required
-
Arduino Uno
-
HC-05 Bluetooth Module
-
LED
-
220Ω Resistor
-
Breadboard
-
Jumper wires
-
Android mobile phone with Bluetooth app
🔌 Circuit And Connections
HC-05 to Arduino
| HC-05 Pin | Arduino Pin |
|---|---|
| VCC | 5V |
| GND | GND |
| TXD | Pin 10 |
| RXD | Pin 11 |
LED Connection
-
LED Anode (+) → Arduino pin 13 through 220Ω resistor
-
LED Cathode (–) → GND
📜 Arduino Code
⚙️ Working Principle
-
The mobile phone sends characters via Bluetooth.
-
HC-05 receives the data and sends it to Arduino using serial communication.
-
Arduino reads the received character.
-
If the character is
'1', the LED turns ON. -
If the character is
'0', the LED turns OFF.
📱 Mobile App Setup
Install any Bluetooth terminal app:
-
Serial Bluetooth Terminal
-
Bluetooth Terminal
-
Arduino Bluetooth Controller
Pairing HC-05:
-
Default password: 1234 or 0000
Send:
-
1 → LED ON
-
0 → LED OFF
⚠️ Important Notes
-
Disconnect HC-05 TX and RX while uploading the code.
-
Use a voltage divider on Arduino TX → HC-05 RX.
-
Default baud rate of HC-05 is 9600.
-
Fast blinking LED on HC-05 = not connected.
-
Slow blinking LED on HC-05 = connected.
🔍 Applications
-
Home automation
-
Wireless light control
-
Robotics
-
IoT starter projects
-
Smart switch systems
🎯 Conclusion
This project demonstrates how Bluetooth communication can be used to control devices wirelessly using Arduino. It is a beginner-friendly project and a foundation for advanced Bluetooth-based automation systems.