Summary of Object Detecting Android Mobile Phone Controlled Bluetooth Robot Using PIC Microcontroller 16F877A
This article details an Android and Bluetooth-controlled robot using a PIC16F877A microcontroller. It features obstacle avoidance via an ultrasonic sensor, which triggers beeps and displays distance on an LCD screen. Users control the robot wirelessly through a custom app that sends commands for forward, backward, left, and right movements. The system integrates wireless communication with autonomous safety navigation for electronics students.Parts used in the Android and Bluetooth Controlled Robot:
- PIC16F877A
- L293D IC
- 7805 IC
- LCD 16×2
- Ultrasonic Sensor HC-SR04
- Crystal 20MHz
- Transistor BC548
- Resistor (10Kx2, 1Kx2)
- Capacitor (33pfx2, 10uF/16V)
- PCB
- DC gear motor (100 rpm x 2)
- Robot frame and wheels
- HC-06 / HC-05 Bluetooth module
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.

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
- PIC16F877A
- L293D IC
- 7805 IC
- LCD 16×2
- Ultrasonic Sensor HC-SR04
- Crystal 20MHz
- Transistor BC548
- Resistor (10Kx2, 1Kx2)
- Capacitor (33pfx2, 10uF/16V)
- PCB
- DC gear motor (100 rpm x 2)
- 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.
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
Quick Solutions to Questions related to Android and Bluetooth Controlled Robot:
- How can I control the robot?
You can control the robot using an Android phone or tablet over a Bluetooth signal after installing MikroElectron's Robot Control App. - What is the main feature of this project?
The eye-catching feature is the object detection capability using an ultrasonic sensor that prevents the robot from hitting walls. - Does the robot make sounds when it detects an obstacle?
Yes, the robot makes beep sounds if any obstacle is found. - What does the LCD screen display?
The LCD screen is used to display the distance to the specified object. - Which microcontroller is used to control the robot?
The project uses a PIC16F877A to control the robot. - What letters does the Android application send to move the robot?
The application sends letters F, B, R, and L to move the robot forward, backward, right, and left respectively. - Where are the received letters available on the Bluetooth module?
The received letters are available in the TX pin of the HC-06 module. - Can the robot navigate safely without touching obstacles?
Yes, the robot will navigate safely without touching any obstacles due to its object detection capability.
Related projects
Exploring Various Applications of Microcontrollers: A World of Tiny Brains
Exploring Various Applications of Micro Controller Microcontrollers have become ubiquitous in the modern world with applications in nearly every industry. This student...
Wireless & IoTIntelligent Sips: Revolutionizing Dining with the SmartCup
Abstract The SmartCup Attachment is a comprehensive system designed for restaurants to monitor the liquid levels in their customers' cups. This system...
Wireless & IoTMaximizing Wi-Fi Capabilities with the Explorer 16 Development Board
As society progresses, the necessity for wireless communication is evolving from a mere luxury to an essential requirement. Wi-Fi, extending beyond conventional...
Wireless & IoTTransform Your Home into a Smart Haven with DIY Wireless Automation
Introduction Smart home technology has grown tremendously in popularity over the last decade. A recent survey found that 46% of consumers view...
Wireless & IoTMicrocontrollers: Space Exploration and other fields applications
What is a Microcontroller? Microcontrollers are small, standalone computers used to manage operations in electronic devices. They can be found in a...
Wireless & IoTBluetooth Wireless Voltage Meter using Wiimote + Pic Chip + AutoIt
In this tutorial I'm going to be showing you how you can send voltage values to your pc using a Pic chip,...
