Object Detecting Android Mobile Phone Controlled Bluetooth Robot Using PIC Microcontroller 16F877A

Last time we had a project on Arduino robots with Bluetooth and Android, and in that one our readers Mr. Paul asked how he can make an obstacle avoidance robot. So today I came up with another engineering project for electronics and communication students, Android and Bluetooth controlled robot using PIC Microcontroller with object detecting capability.

Object Detecting Android Mobile Phone Controlled Bluetooth RobotAfter installing MikroElectron’s Robot Control App from Play Store you should be able to control the robot with your android phone/ tablet over bluetooth signal. The eye catching feature of this project is the ‘objects detection’ capability with the help of Ultrasonic sensor, so you don’t have to worry about the robot hitting any object or wall in front of it. Robot will navigate safely without touching any obstacles. Moreover it will make beep sounds if any obstacle is found and a LCD screen is used to display distance to the specified object.

Speaking about the hardware, I’ve used PIC16F877A to control the robot, ultrasonic sensor will generate ultrasonic pulses to detect objects and calculate the distance, LCD screen to display distance, HC-06 / HC-05 Bluetooth module for communicating to Robot wirelessly.

Components for Android Robot

  1. PIC16F877A
  2. L293D IC
  3. 7805 IC
  4. LCD 16×2
  5. Ultrasonic Sensor HC-SR04
  6. Crystal 20MHz
  7. Transistor BC548
  8. Resistor (10Kx2, 1Kx2)
  9. Capacitor (33pfx2, 10uF/16V)
  10. PCB
  11. DC gear motor (100 rpm x 2)
  12. Robot frame and wheels

Circuit Diagram of Bluetooth Controlled Robot

Working of Obstacle avoidance robot

For simplicity let’s consider this project having 2 parts- Bluetooth navigation section and object detection section.

Object Detecting Android Mobile Phone Controlled Bluetooth Robot

Bluetooth Wireless Navigation

  • HC-06 / HC-05 Bluetooth module is used to receive data from android based device.
  • After pairing (connecting) the Bluetooth module with android phone or tablet, open the application and connect to the paired device HC-06 or HC-05.
  • Android application will send letters ‘F’, ‘B’, ‘R’ and ‘L’ to move robot forward, backward, right and left respectively.
  • These are received by the Bluetooth receiver, those letters are available in TX pin of HC-06..


For more detail: Object Detecting Android Mobile Phone Controlled Bluetooth Robot Using PIC Microcontroller 16F877A

Current Project / Post can also be found using:

  • simulation of an obstacle avoidance robot using bluetth module proteus simulation

Leave a Comment

= 4 + 1

Read previous post:
Computer controlled infrared transmitter based on PIC

description This is a programmable infrared (remote control) transmitter, which can be controlled from a computer serial port. It is...

Scroll to top