• Skip to main content
  • Skip to secondary menu
  • Skip to primary sidebar
  • Skip to footer
Circuits Gallery

Circuits Gallery

All about Electronics and Circuits

  • Home
  • Basics
    • Components
    • Wiring
    • Circuitry
    • Oscilloscope
    • Conductivity
  • Project
    • Using 555 Timer
    • Using Op-Amp
  • MicroController
    • PIC
  • Arduino
  • Simulation
  • Digital
  • Communication
  • How To
  • About Us

Arduino Project | Simple Arduino Robot Controlled by Android via Bluetooth Module HC-06/HC-05

April 18, 2022 by Charles Clark Leave a Comment

Having posted some quality PIC microcontroller projects, I think now it’s time to take a break and have some great Arduino projects. Arduino project kits are becoming quite popular these days due to their advantages over other microcontroller systems. If you’re a newbie to Arduino then I strongly recommend you to read our article on getting started with Arduino.

Now let’s build an Arduino robot that can be controlled by an android mobile or tablet, with the help of an android app that can be downloaded from Google Playstore. The android application gets connected to the Bluetooth module and sends desired commands. This app-controlled robot is capable to move in any direction. Though there are lots of Robot control apps out there in the google play store to program with.

Components Required for Arduino Android Robot

  1. Arduino Board
  2. Robot Control Android App
  3. HC-06 Bluetooth module
  4. L293D IC
  5. 100 RPM DC motor X 2

Arduino Project Circuit

Working Principle of Bluetooth Controlled Arduino Robot

  • The TX pin of the HC-06 blue tooth module is connected to the RX pin (Pin 0) of the Arduino.
  • Now the android application will connect the android device to Bluetooth module HC-06 or HC-05.
  • You can scan the Bluetooth device ( HC-06 or HC-05) to connect using this application.
  • After the connection has been established, you can start pressing buttons. When the forward button is pressed it will send letters ‘F’, ‘B’ for back, ‘R’ for right, ‘L’ for left, and ‘S’ for stop.
  • Arduino will receive these letters via the serial pin RX of baud rate 9600.
  • There are different program functions for forward, back, left, and right.
  • After receiving data from the android device, Arduino switches the function corresponding to the letter received.
  • Here I am using a 12V 100 RPM DC gear motor, so it can’t be driven by Arduino, I have used L293D to drive motors.
  • The four pins of Arduino(4, 5, 6, and 7) are connected to the input pins of L293D for sending signals to drive the motor.
  • By pressing the forward button on the android device, it will send an ‘F’ to the Bluetooth module which is received through RX (pin 0) of Arduino and it will store this into a variable ‘A’.
  • Using the case statement it switches to the corresponding function, for forwarding movement both motors will rotate in the same direction, and to move it back both the motor will rotate in opposite directions to that of the forwarding direction.
  • To move left and right either of the motors will rotate and stop both motors will stop.
  • You can use either HC-06 or HC-05 Bluetooth module because here Bluetooth module acts as a slave, HC-05 can be used as master too but here we want to use it as a slave. You can buy a Bluetooth module for $10 approx.
  • These modules are automatically enabled when you power up the device and you have to pair this with your android device using the default passkey 1234. You can change the name and passkey using AT commands.

Conclusion

We have recently introduced an obstacle avoidance robot using a PIC microcontroller. But this project itself is quite enough for beginners.

Filed Under: Arduino, MicroController, Project

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

More To See

Hot Springs Hot Tub Power Light Blinking

Hot Springs Hot Tub Power Light Blinking | 5 Causes And Fixes

Is Dyson Airwrap Dual Voltage

Is Dyson Airwrap Dual Voltage | Efficiency Over Roamability

Will the Power Company Know if I Pull My Meter

Will the Power Company Know if I Pull My Meter | Consequences and Detection of Meter Bypass

High Pot Test vs Megger

High Pot Test vs Megger

More About

  • Arduino
  • Basics
  • Circuitry
  • Communication
  • Components
  • Conductivity
  • Digital
  • How To
  • MicroController
  • Oscilloscope
  • PIC
  • Project
  • Simulation
  • Using 555 Timer
  • Using Op-Amp
  • Wiring

Footer

QUICK LINKS

  • About Us
  • Privacy Policy
  • Terms and Conditions
  • Contact
  • Arduino
  • Basics
  • Circuitry
  • Communication
  • Components
  • Conductivity
  • Digital
  • How To
  • MicroController
  • Oscilloscope
  • PIC
  • Project
  • Simulation
  • Using 555 Timer
  • Using Op-Amp
  • Wiring

AFFILIATE DISCLOSER

Circuits Gallery is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for website owners to earn advertising fees by advertising and linking to amazon (.com, .co.uk, .ca etc) and any other website that may be affiliated with Amazon Service LLC Associates Program

© 2023 · Circuits Gallery | All Rights Reserved