Friday, January 29, 2021

 Arduino Bluetooth Project


Let’s Start Building

The circuit is so simple and small, there are only a few connections to be made

Arduino Pins           Bluetooth Pins

RX (Pin 0)     ———->      TX

TX (Pin 1)      ———->      RX

5V                ———->      VCC

GND             ———->      GND

Connect a LED negative to GND of Arduino and positive to pin 13 with a resistance valued between 220Ω – 1KΩ. And you're done with the circuit


Note: Don’t  Connect RX to RX and TX to TX of Bluetooth to Arduino you will receive no data, Here TX means Transmit and RX means Receive

How Does it Work?

HC 05/06 works on serial communication.here the android app is designed to send serial data to the Bluetooth module when a certain button is pressed. The Bluetooth module at the other end receives the data and sends it to Arduino through the TX pin of the Bluetooth module(RX pin of Arduino). The Code fed to Arduino checks the received data and compares it.If received data is 1 the LED turns on turns OFF when received data is 0

Open the serial monitor and watch the received data

Android Application

In this tutorial, I will not be covering tutorials on android app development.You can download the android application from here and the source code of the entire project. In future, I may be posting it tutorials here http://mgprojecthub.com

How to use the App?

Watch in video how to pair to Bluetooth module

  • Download the Application form here or here
  • Pair your device with HC 05/06 Bluetooth module1) Turn ON HC 05/06 Bluetooth module2) Scan for available device3) Pair to HC 05/06 by entering default password 1234 OR 0000
  • Install  LED application on your android device
  • Open the Application
  • Press paired devices
  • Select your Bluetooth module from the List (HC 05)
  • After connecting successfully
  • Press ON button to turn ON LED and OFF button to turn OFF the LED

    No comments:

    Post a Comment

    My Flame Sensor