Arduino - Obstacle Avoiding Robot Using L298N

31,234

35

5

Introduction: Arduino - Obstacle Avoiding Robot Using L298N

About: Robotic Projects (Arduino, Raspberry Pi, ESP8266, PCB, IoT, 3D, Electronics)

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

Arduino Board - https://goo.gl/Rqc5w2

L298N H-bridge - https://goo.gl/Ucvx6J

HC SR04 Sensor - https://goo.gl/F0m7hN

SG90 Servo - https://goo.gl/F0m7hN

DC Motor Wheel - https://goo.gl/F0m7hN

Chassis - https://goo.gl/F0m7hN

HC SR04 Bracket - https://goo.gl/F0m7hN

Front Wheel - https://goo.gl/F0m7hN

Breadboard - https://goo.gl/F0m7hN

F to F Jumper - https://goo.gl/F0m7hN

M to M Jumper - https://goo.gl/F0m7hN

9V Battery - https://goo.gl/F0m7hN

Battery Clip - https://goo.gl/F0m7hN

Power Cable - https://goo.gl/F0m7hN

Some Promotion Links

Flash Deals -- https://goo.gl/CVqg7P

Mega Stock Clearance -- https://goo.gl/eCbuiP

Arduino Kits -- https://goo.gl/uwr19e

More Budget 3D Printers -- https://goo.gl/uwr19e

Anet A8 3D Printer Promotion -- https://goo.gl/uwr19e

Step 2: Connections

You can find more inform about connection from video tutorial.

Step 3: Source Code

You must download and install the NewPing library.

Get the library - https://goo.gl/Qe6XU6

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

Get the Code - https://goo.gl/iiVsTk

Step 4: 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 - https://goo.gl/f0RHmR

3 People Made This Project!

Recommendations

  • Lamps and Lighting Contest

    Lamps and Lighting Contest
  • Robots Contest

    Robots Contest
  • Retro Tech Challenge

    Retro Tech Challenge

5 Comments

0
THE CREATIVE GUY
THE CREATIVE GUY

Question 1 year ago on Introduction

HI sir
Can you please mail me the codes of arduino obstacle avoiding car with motor driver. your given code files are not opening
Thank you

0
costalesrobin08
costalesrobin08

Answer 1 year ago

Hi sir, do you have the codes already? Can I have it too?

0
Crux Australis
Crux Australis

3 years ago

The overlapping wires in your connection schematic make it very difficult to see which wire goes where, especially where the wires are the same colour!

0
sumanethilaka
sumanethilaka

Reply 2 years ago

yes you are right