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.
After 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
- 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.
- 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