Introduction: Arduino - Obstacle Avoiding Robot Using L298N

In this Arduino project tutorial we will learn how to make obstacle avoiding robot using L298N h-bridge motor driver.

Also we will use for this project HC SR04 ultrasonic distance sensor. And we will use NewPing library in the arduino code.

Step 1: Required Hardware

Picture of Required Hardware

Arduino Board -

L298N H-bridge -

HC SR04 Sensor -

SG90 Servo -

DC Motor Wheel -

Chassis -

HC SR04 Bracket -

Front Wheel -

Breadboard -

F to F Jumper -

M to M Jumper -

9V Battery -

Battery Clip -

Power Cable -

Some Promotion Links

Flash Deals --

Mega Stock Clearance --

Arduino Kits --

More Budget 3D Printers --

Anet A8 3D Printer Promotion --

Step 2: Connections

Picture of Connections

You can find more inform about connection from video tutorial.

Step 3: Source Code

Picture of Source Code

You must download and install the NewPing library.

Get the library -

You just copy and paste the code into empty page of the Arduino IDE

Get the Code -

Step 4: You Can Subscribe to My YouTube Channel

Picture of You Can Subscribe to My YouTube Channel

You can subscribe to the my YouTube channel for more tutorials and projects. Subscribe for support. Thank you.

Go to my YouTube Channel -


About This Instructable




Bio: For more project and tutorial visit my YouTube channel Mert Arduino and Raspberry Pi
More by MertArduino:XY Plotter Drawing Robot | Arduino | PolargraphArduino - Balance - Balancing Robot | How to Make?Arduino - MPU6050 GY521 - 6 Axis Accelerometer + Gyro (3D Simulation With Processing)
Add instructable to: