Control an LED wirelessly using the HC-06 Bluetooth module and Arduino board with a mobile app.
This project allows you to control an LED connected to pin 13 of an Arduino board wirelessly using the HC-06 Bluetooth module. Commands to turn the LED on and off are sent by sending the characters 1
and 0
via Bluetooth from a mobile app.
- Wireless LED control via Bluetooth
- Utilizes the HC-06 Bluetooth module for communication
- Displays received data on the Arduino Serial Monitor
Component | Quantity |
---|---|
Arduino Board (Uno/Leonardo) | 1 |
HC-06 Bluetooth Module | 1 |
LED | 1 |
Breadboard | 1 |
-
Wiring
- Connect the HC-06 module to the Arduino as follows:
- HC-06 TX → Arduino Pin 10 (RX)
- HC-06 RX → Arduino Pin 9 (TX)
- HC-06 VCC → Arduino 5V
- HC-06 GND → Arduino GND
- Connect the LED to Pin 13 of the Arduino and the other leg to GND.
- Connect the HC-06 module to the Arduino as follows:
-
Upload the Code
- Upload the provided Arduino code to your board using the Arduino IDE.
-
Bluetooth Pairing
- Pair your mobile device with the HC-06 Bluetooth module using the default password "1234".
-
Mobile App
- To interact with the Arduino via Bluetooth, you can use the following mobile app: Download Bluetooth Serial Monitor on Google Play