Arduino Obstacle Avoiding Robot Car 4WD with Source Code

04 Dec 2016 16:18 414
282,980
Mert Arduino Download
2,897 107

DIY Home Security - New Video: https://youtu.be/UBNpL5WpJ54

In this tutorial, you will make obstacle avoiding robot. This tutorial involves building a 4WD robot with an ultrasonic sensor that can detect nearby objects and change its direction to avoid these objects. The ultrasonic sensor will be attached to a servo motor which is constantly scanning left and right looking for objects in its way.

Required Hardware :
Arduino Board - https://goo.gl/UyGYeF
Motor Shield L293D - https://goo.gl/9Ph44b
Ultrasonic Sensor - https://goo.gl/dRkWUg
Mini Servo Motor - https://goo.gl/Hxejko
DC Motor and Wheel x4 - https://goo.gl/rpxoMu
Chassis 4WD - https://goo.gl/GeBWs1
Bracket for HC-SR04 - https://goo.gl/1RrOgP
Battery Buckle x2 - https://goo.gl/aBKusM
Wires - https://goo.gl/TdGrkk
Button
Glue Gun
Battery 9V x2

Arduino Compatible SCM - https://goo.gl/yi21yB
Electronics Equipments - https://goo.gl/covX9J
Module Board For Arduino - https://goo.gl/81dafX

Copy the Source Code and install the Library:
1) Open the new Arduino IDE page
2) Delete everything on the page
3) Get the code from my blog page
4) Paste empty Arduino IDE page
5) First Install the Arduino Library
6) The AF_Motor Arduino library

Before you can use the Motor shield, you must install the AF_Motor Arduino library.
Close the Arduino IDE
You can find the library link in video descriptions
Download the library
Uncompress the ZIP file onto your desktop
Check that inside AFMotor is AFMotor.cpp and AFMotor.h files
Place the AFMotor folder into your arduinosketchfolder/libraries folder.
Rename the uncompressed folder AFMotor

7) The NewPing Arduino Library

You can find the library link in video descriptions
Download the library
Uncompress the ZIP file onto your desktop
Move to the Arduino library folder

8) Restart the IDE
9) Now you can see the libraries you have installed
10) When you verify, you will not see any errors

Get the AFMotor Library - https://github.com/adafruit/Adafruit-Motor-Shield-library

Get the NewPing Library - https://bitbucket.org/teckel12/arduino-new-ping/downloads

Source Code: http://bit.ly/2DF9Umj
Download Source Code: http://bit.ly/2KrGvgt
Web Site: www.mertarduino.com

Social Media:
https://www.instagram.com/mertarduino/
https://www.facebook.com/mertarduino/

Related of "Arduino Obstacle Avoiding Robot Car 4WD with Source Code" Videos