Introduction: Mobile Controlled Obstacle Avoidance Car

About: Hey guys! This is Vedaansh. I am a 14 year old school going boy. I pursue robotics as a hobby. I have various other interest like fish keeping, Casio playing etc. I do robotics just for fun so if I ever do a m…

Hi !! I am Vedaansh Verdhan . This project is an awesome project as you can convert your car from Obstacle Avoiding to Mobile Control from mobile. I have done a lot research and checking to make this project. As you know that converting a car from mobile is not easy, but it's possible. You can even upload your code if you want to upgrade it. Hope you like it !!!!

Step 1: Parts You Will Need :-

1) Arduino Uno

2) l298n Motor Driver

3) Ultrasonic Sensor

4) Servo Motor

5) HC-05 Bluetooth Module

6) Jumper Wires

7) Breadboard

8) Chasis

9) Motors

10) Wheels

11) 18650 Lithium Battery

12) Battery Holder

13) Ultrasonic Sensor Holder

14) Battery Charger

Step 2: About Project :-

This project is designed to build a robot that automatically detects the obstacle on its path and guides itself whenever an obstacle comes ahead of it. This robotic vehicle is built, using Arduino UNO board. An ultrasonic sensor is used to detect any obstacle ahead of it. A motor driver IC and 4 DC motors are used for controlling the movement of the robot. A servo motor is also used in this project. The ultrasonic sensor is then mounted on the servo and by rotating the servo to different angles we will obtain the readings from the ultrasonic sensor in those angles. This will help the controller to detect the exact path to navigate. A Bluetooth module is also added to the project (which is optional ) in order to control the robot from your android phone when it is in manual mode.

Step 3: Circuit Diagram :-

Assemble the circuit as shown in the diagram! Important connections are explained below.

HC SR04 is the ultrasonic sensor that we are using here. The ultrasonic sensor has 4 pins: Vcc, Trig, Echo and Gnd. Vcc and Gnd are connected to the supply pins of the Arduino. Trig is connected to the 11th pin and Echo is connected to 10th pin of the Arduino. As mentioned earlier a motor driver IC called L293D is used for controlling the DC motors. It is a 16 pin IC which can drive two motors simultaneously. 1st and 9th pin are the enable pins, which are connected to the 5th and 6th pins of the Arduino board. Pins 2 and 7 are control inputs from microcontroller for first motor. They are connected to pins A0 and A1 of Arduino respectively. Similarly, pins 10 and 15 are control inputs from microcontroller for second motor. They are connected to pins A2 and A3 of Arduino.

Step 4: Uploading Code :-

Upload the above code to arduino.

Step 5: Making Your Robot Clean :-

Tie all loose wires to each other with some tape or zip ties. You can attach some led's at to make it look cooler. Choose a nice and sturdy chasis so your robot can handle crashes and look cool and tidy.

Step 6: Download the Android App :-

Download the android app apk :-

Step 7: And You Have Made Your Own Mobile and Obstacle Avoiding Car