Introduction: All in 1 Car (Self Driving + Lane Follow + Obstacle Avoidance) in Tinkercad

About: Final Year Student. Cloud Enthusiastic. Automation.

Overview:

·    This is all in 1 car which drives itself by sensing the obstacle, and can move in other directions automatically sensing data.

·     This is also lane following car which means car can move on, in the center of given path.

·     This is real world based project which can be used for many applications like self-driving car, Agriculture Robots, Robotics etc.


Please refer pdf for complete details..

Supplies

Hardware required to build this project:

(you can open link to check out hardware. you will see it from Amazon.in)


1.   1 Arduino UNO Microcontroller

2.   1 Ultrasonic Sensor

3.   2 DC Motor or Gearmotor (for wheels)

4.   1 (9 Volt) Battery for Power Supply

5.   1 I2C lCD (here you can use 16*2 LCD as well as per your preference)

6.   2 Photoresistor

7.   1 L239D (H – Bridge Motor Driver)

8.   Few Wires

9.   2 Resistor (Value 1K ohm)

10. Breadboard



Connections:


  • Photoresistor:

A0 to left photoresistor

A1 to right photoresistor

Here photoresistor is connected with resistor (1k ohm) first then connected with ground

Other end is directly connected with +ve of breadboard

(Same end which is connected to resistor -> ground is connected with new wire to Analog pins (both for left & right Photoresistor).


  • Ultrasonic Sensor

Trigpin -> 6 digital pin on Arduino

echopin -> 7 digital pin on Arduino


  • L239D (H bridge)

input 1 -> 2 digital pin on Arduino

input 2 -> 3 digital pin on Arduino

input 3 -> 4 digital pin on Arduino

input 4 -> 5 digital pin on Arduino

output 1 -> +ve of right dc motor

output 2 -> -ve of right dc motor

output 3 -> -ve of left dc motor

output 4 -> +ve of leftdc motor


  • I2C LCD

SDA -> SDA of Arduino

VCC -> VCC of Arduino

GR -> Ground of Arduino

SDL -> SDL of Arduino


Please refer pdf for complete details..

Step 1:

Please refer pdf for complete details..

I hope you'll find it helpful. Please feel free to comment for any queries!

Block Code Contest

Participated in the
Block Code Contest