ablab

Hello Readers, welcome to my Blog - A Blog For Bloggers By A Blogger. I'm Arun, an entrepreneur Blogger from India.

HC-06 Bluetooth Module to Android Mobile Wireless Data Communication with ATmega32 and LED Display

1871
Mark as Favourite

In this project, we will learn HC-06 Bluetooth Module to Android Mobile Wireless Data Communication with AVR ATmega32 microcontroller and LED Display. Here, we will connect the HC-06 Bluetooth and Android Mobile through Bluetooth. And, we will send data wirelessly from HC-06 Bluetooth to Android Mobile. The transmitted data is also displayed in 1X8 LED array.

The communication between HC-06 Bluetooth Module and Android Mobile takes place through wireless Bluetooth technology. And the communication between HC-06 Bluetooth Module and ATmega32 microcontroller takes place through UART serial communication protocol. The HC-06 Bluetooth Module and Android Mobile are connected through Bluetooth. The ATmega32 microcontroller will send the string “ABLab Solutions” to the HC-06 Bluetooth Module. One character is sent at a time with a delay of 500ms. The HC-06 Bluetooth Module transmits the received characters wirelessly to the Android Mobile and the Android mobile displays the received characters in the Bluetooth Terminal App window. The microcontroller will also display the ASCII value of the transmitted character in a 1X8 LED array.

Softwares Required

Hardwares Required

Name Quantity
AVR Trainer Board-100 with ATmega32 1pc
AVR USB Programmer 1pc
12V, 1A DC SMPS Adaptor 1pc
HC-06 Bluetooth Board 1pc
1 to 1 Connector-Female to Female 4pc
10 to 10 FRC Female to Female Connector 2pc

Circuit Diagram

Video

Connection Guide

The step-by-step connection guide for HC-06 Bluetooth Module to Android Mobile Wireless Data Communication with ATmega32 and LED Display is as follows

  • Steps - 1 ( 0f 12 )

    Insert the DC Pin of 12V, 1A DC Adapter to the DC Socket of AVR Trainer Board-100.

  • Steps - 2 ( 0f 12 )

    Connect PortB header with LED header in AVR Trainer Board-100 with a 10 to 10 FRC Female Connector.

  • Steps - 3 ( 0f 12 )

    Connect the VCC and GND pins of HC-06 Bluetooth Module with the 5V(VCC) and GND header pins of AVR Trainer Board-100 respectively with 1 to 1 Connectors.

  • Steps - 4 ( 0f 12 )

    Connect the TXD and RXD pins of HC-06 Bluetooth Module with PD0 and PD1 pins of PortD header of AVR Trainer Board-100 respectively with 1 to 1 Connectors.

  • Steps - 5 ( 0f 12 )

    Connect the ISP header of AVR Trainer Board-100 with AVR USB Programmer header of AVR USB Programmer with a 10 to 10 FRC Female Connector.

  • Steps - 6 ( 0f 12 )

    Connect the AVR USB Programmer to the PC/Laptop's USB Port directly or with the help of USB AM-FM Cable.

  • Steps - 7 ( 0f 12 )

    Download the HC-06 Bluetooth Module to Android Mobile Wireless Data Communication with ATmega32 and LED Display Hex file to AVR Trainer Board-100 with the help of SinaProg Hex downloader and AVR USB Programmer.

  • Steps - 8 ( 0f 12 )

    Switch on the power with the help of Power Switch of AVR Trainer Board-100.

  • Steps - 9 ( 0f 12 )

    Pair the HC-06 Bluetooth Module with Android Mobile. Default PIN of HC-06 is 1234.

  • Steps - 10 ( 0f 12 )

    Open the Bluetooth Terminal App in the Mobile and Connect the HC-06 Bluetooth Module with it.

  • Steps - 11 ( 0f 12 )

    Reset the AVR Trainer Board-100 using its Reset switch.

  • Steps - 12 ( 0f 12 )

    See the output in the 1X8 LED array of the AVR Trainer Board-100.

  • Insert the DC Pin of 12V, 1A DC Adapter to the DC Socket of AVR Trainer Board-100.

    Steps - 1 ( 0f 12 )

  • Connect PortB header with LED header in AVR Trainer Board-100 with a 10 to 10 FRC Female Connector.

    Steps - 2 ( 0f 12 )

  • Connect the VCC and GND pins of HC-06 Bluetooth Module with the 5V(VCC) and GND header pins of AVR Trainer Board-100 respectively with 1 to 1 Connectors.

    Steps - 3 ( 0f 12 )

  • Connect the TXD and RXD pins of HC-06 Bluetooth Module with PD0 and PD1 pins of PortD header of AVR Trainer Board-100 respectively with 1 to 1 Connectors.

    Steps - 4 ( 0f 12 )

  • Connect the ISP header of AVR Trainer Board-100 with AVR USB Programmer header of AVR USB Programmer with a 10 to 10 FRC Female Connector.

    Steps - 5 ( 0f 12 )

  • Connect the AVR USB Programmer to the PC/Laptop's USB Port directly or with the help of USB AM-FM Cable.

    Steps - 6 ( 0f 12 )

  • Download the HC-06 Bluetooth Module to Android Mobile Wireless Data Communication with ATmega32 and LED Display Hex file to AVR Trainer Board-100 with the help of SinaProg Hex downloader and AVR USB Programmer.

    Steps - 7 ( 0f 12 )

  • Switch on the power with the help of Power Switch of AVR Trainer Board-100.

    Steps - 8 ( 0f 12 )

  • Pair the HC-06 Bluetooth Module with Android Mobile. Default PIN of HC-06 is 1234.

    Steps - 9 ( 0f 12 )

  • Open the Bluetooth Terminal App in the Mobile and Connect the HC-06 Bluetooth Module with it.

    Steps - 10 ( 0f 12 )

  • Reset the AVR Trainer Board-100 using its Reset switch.

    Steps - 11 ( 0f 12 )

  • See the output in the 1X8 LED array of the AVR Trainer Board-100.

    Steps - 12 ( 0f 12 )

Post a Comment