In this project, we will learn How to test the AT Command Mode of HC-06 Bluetooth Module with AVR ATmega32 microcontroller. Here, we will check whether the HC-06 Bluetooth Module is in AT Command mode or not. To configure the HC-06 Bluetooth Module, the module must be in the AT Command mode.
The communication between HC-06 Bluetooth Module and ATmega32 microcontroller takes place through UART serial communication protocol. To test the AT Command mode, the ATmega32 microcontroller will send the AT command “AT” to the HC-06 Bluetooth Module. In return, the HC-06 Bluetooth module will send a response to ATmega32 microcontroller. If the AT command is executed successfully, the HC-06 Bluetooth Module will send “OK” to ATmega32 microcontroller as response. The ATmega32 microcontroller will also display the current mode of the HC-06 Bluetooth Module in a 16X2 alphanumeric LCD.
The step-by-step connection guide for HC-06 Bluetooth Module AT Command Mode Testing with ATmega32 is as follows
Steps - 1 ( 0f 11 )
Insert the DC Pin of 12V, 1A DC Adapter to the DC Socket of AVR Trainer Board-100.
Steps - 2 ( 0f 11 )
Connect PortB header with LCD data header in AVR Trainer Board-100 with a 10 to 10 FRC Female Connector.
Steps - 3 ( 0f 11 )
Connect RS, RW & EN pins of LCD control header with PC0, PC1 & PC2 pins of PortC header respectively in AVR Trainer Board-100 with 1 to 1 Connectors.
Steps - 4 ( 0f 11 )
Connect the 16X2 Alphanumeric LCD to the LCD header of AVR Trainer Board-100.
Steps - 5 ( 0f 11 )
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 - 6 ( 0f 11 )
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 - 7 ( 0f 11 )
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 - 8 ( 0f 11 )
Connect the AVR USB Programmer to the PC/Laptop's USB Port directly or with the help of USB AM-FM Cable.
Steps - 9 ( 0f 11 )
Download the HC-06 Bluetooth Module AT Command Mode Testing with ATmega32 Hex file to AVR Trainer Board-100 with the help of SinaProg Hex downloader and AVR USB Programmer.
Steps - 10 ( 0f 11 )
Switch on the power with the help of Power Switch of AVR Trainer Board-100.
Steps - 11 ( 0f 11 )
See the output in the 16X2 Alphanumeric LCD.
Insert the DC Pin of 12V, 1A DC Adapter to the DC Socket of AVR Trainer Board-100.
Steps - 1 ( 0f 11 )
Connect PortB header with LCD data header in AVR Trainer Board-100 with a 10 to 10 FRC Female Connector.
Steps - 2 ( 0f 11 )
Connect RS, RW & EN pins of LCD control header with PC0, PC1 & PC2 pins of PortC header respectively in AVR Trainer Board-100 with 1 to 1 Connectors.
Steps - 3 ( 0f 11 )
Connect the 16X2 Alphanumeric LCD to the LCD header of AVR Trainer Board-100.
Steps - 4 ( 0f 11 )
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 - 5 ( 0f 11 )
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 - 6 ( 0f 11 )
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 - 7 ( 0f 11 )
Connect the AVR USB Programmer to the PC/Laptop's USB Port directly or with the help of USB AM-FM Cable.
Steps - 8 ( 0f 11 )
Download the HC-06 Bluetooth Module AT Command Mode Testing with ATmega32 Hex file to AVR Trainer Board-100 with the help of SinaProg Hex downloader and AVR USB Programmer.
Steps - 9 ( 0f 11 )
Switch on the power with the help of Power Switch of AVR Trainer Board-100.
Post a Comment