ablab

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

Password Protected HC-05 Bluetooth based Android Mobile Controlled Wireless Robot with ATmega32

2113
1
Mark as Favourite

In this project, we will learn How to design a Password Protected HC-05 Bluetooth based Android Mobile Controlled Wireless Robot with AVR ATmega32 microcontroller. Here, we will use the Android Mobile as the input device to enter the password and to drive the robot in different direction.

The communication between HC-05 Bluetooth Module and Android Mobile takes place through wireless Bluetooth technology. And the communication between HC-05 Bluetooth Module and ATmega32 microcontroller takes place through UART serial communication protocol. The HC-05 Bluetooth Module and Android Mobile are connected through Bluetooth. First, the user will enter the 4 digit password from the Android Mobile through Bluetooth Terminal App and microcontroller will compare the entered password with the set password. The system will ask to enter the password till the correct password is entered by the user. After the correct password is entered, the ATmega32 microcontroller will receive the robot control signal from the Android Mobile through Bluetooth Terminal App and the Android Mobile transmits the control signal to the HC-05 Bluetooth Module through its bluetooth. The HC-05 Bluetooth Module receives the control signal and transmits it to the ATmega32 microcontroller through UART.

The ATmega32 microcontroller receives the control signal and processes it and sends the required control signal to the DC Motor Driver(L293D) of the robot to drive the robot in the desired direction and it will send the direction of movement of robot to Android Mobile also(direction of robot will be displayed in Android Mobile). The control keys for the robot are F or f, B or b, L or l, R or r and S or s to drive the robot in forward, backward, left, right direction and to stop it respectively. Now, press different keys from the Android Mobile and drive your robot as you want.

Control Keys

Robot Direction

F or f

Forward

B orb

Backward

L or l

Left

R or r

Right

S or s

Stop

Softwares Required

Hardwares Required

Name Quantity
AVR Trainer Board-100 with ATmega32 1pc
AVR USB Programmer 1pc
12V, 1A DC SMPS Adaptor 1pc
DC Motor Driver 1pc
HC-05 Bluetooth Board 1pc
Robot V 4.0 1pc
1 to 1 Connector-Female to Female 5pc
10 to 10 FRC Female to Female Connector 2pc

Circuit Diagram

Video

Connection Guide

The step-by-step connection guide for Password Protected HC-05 Bluetooth based Android Mobile Controlled Wireless Robot with ATmega32 is as follows

  • Steps - 1 ( 0f 15 )

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

  • Steps - 2 ( 0f 15 )

    Connect PortB header of AVR Trainer Board-100 with Input header of DC Motor Driver with a 10 to 10 FRC Female Connector.

  • Steps - 3 ( 0f 15 )

    Connect the 12V pin of PWM & Motor Voltage header of DC Motor Driver with the 12V header of AVR Trainer Board-100 with a 1 to 1 Connector.

  • Steps - 4 ( 0f 15 )

    Connect the Robot connector to the Output header of the DC Motor Driver.

  • Steps - 5 ( 0f 15 )

    Switch off the Mode Switch of DC Motor Driver.

  • Steps - 6 ( 0f 15 )

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

  • Steps - 7 ( 0f 15 )

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

  • Steps - 8 ( 0f 15 )

    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 - 9 ( 0f 15 )

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

  • Steps - 10 ( 0f 15 )

    Download Password Protected HC-05 Bluetooth based Android Mobile Controlled Wireless Robot with ATmega32 Hex file to AVR Trainer Board-100 with the help of SinaProg Hex downloader and AVR USB Programmer.

  • Steps - 11 ( 0f 15 )

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

  • Steps - 12 ( 0f 15 )

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

  • Steps - 13 ( 0f 15 )

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

  • Steps - 14 ( 0f 15 )

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

  • Steps - 15 ( 0f 15 )

    Press different keys from Mobile Keypad and see the output.

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

    Steps - 1 ( 0f 15 )

  • Connect PortB header of AVR Trainer Board-100 with Input header of DC Motor Driver with a 10 to 10 FRC Female Connector.

    Steps - 2 ( 0f 15 )

  • Connect the 12V pin of PWM & Motor Voltage header of DC Motor Driver with the 12V header of AVR Trainer Board-100 with a 1 to 1 Connector.

    Steps - 3 ( 0f 15 )

  • Connect the Robot connector to the Output header of the DC Motor Driver.

    Steps - 4 ( 0f 15 )

  • Switch off the Mode Switch of DC Motor Driver.

    Steps - 5 ( 0f 15 )

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

    Steps - 6 ( 0f 15 )

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

    Steps - 7 ( 0f 15 )

  • 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 15 )

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

    Steps - 9 ( 0f 15 )

  • Download Password Protected HC-05 Bluetooth based Android Mobile Controlled Wireless Robot with ATmega32 Hex file to AVR Trainer Board-100 with the help of SinaProg Hex downloader and AVR USB Programmer.

    Steps - 10 ( 0f 15 )

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

    Steps - 11 ( 0f 15 )

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

    Steps - 12 ( 0f 15 )

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

    Steps - 13 ( 0f 15 )

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

    Steps - 14 ( 0f 15 )

  • Press different keys from Mobile Keypad and see the output.

    Steps - 15 ( 0f 15 )

Downloads

Password Protected HC-05 Bluetooth based Android Mobile Controlled Wireless Robot with ATmega32
  • 6 downloads 0 Kb

Post a Comment

    • Kartavya Bhatt
      Can you please upload a video of connections done and working demo of robot ? It would be great help.
      2017-03-05 22:40:08
      Reply