Skip to content

An Arduino-based project to control an LED wirelessly via Bluetooth using the HC-06 module and a mobile app.

Notifications You must be signed in to change notification settings

rezamardaniDev/Arduino-LED-Control-via-Bluetooth-HC-06

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Arduino LED Control via Bluetooth (HC-06)

Control an LED wirelessly using the HC-06 Bluetooth module and Arduino board with a mobile app.


📜 Project Description

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.


🚀 Features

  • Wireless LED control via Bluetooth
  • Utilizes the HC-06 Bluetooth module for communication
  • Displays received data on the Arduino Serial Monitor

🔧 Required Components

Component Quantity
Arduino Board (Uno/Leonardo) 1
HC-06 Bluetooth Module 1
LED 1
Breadboard 1

📦 Installation

  1. Wiring

    • Connect the HC-06 module to the Arduino as follows:
      • HC-06 TXArduino Pin 10 (RX)
      • HC-06 RXArduino Pin 9 (TX)
      • HC-06 VCCArduino 5V
      • HC-06 GNDArduino GND
    • Connect the LED to Pin 13 of the Arduino and the other leg to GND.
  2. Upload the Code

    • Upload the provided Arduino code to your board using the Arduino IDE.
  3. Bluetooth Pairing

    • Pair your mobile device with the HC-06 Bluetooth module using the default password "1234".
  4. Mobile App

About

An Arduino-based project to control an LED wirelessly via Bluetooth using the HC-06 module and a mobile app.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages