How to Build an Obstacle Avoiding Robot

by cristinepotu7171 in Circuits > Arduino

669 Views, 6 Favorites, 0 Comments

How to Build an Obstacle Avoiding Robot

test2.png
snapshot60.png
in teste.png
Robot Follow The Road!
In this tutorial we see how we can build a robot and how we can program an Arduino using Visuino software.


What We Will Need

xczxc.jpg
download (1).jpg
l298n-punte-h-dubla-dual-h-bridge-motor-dcsteppe.jpg
eng_pl_2WD-210mm-Car-Chassis-Robot-Platform-2-Wheels-2-Motors-Set-Arduino-566_1.jpg
YM2758-arduino-compatible-9g-micro-servo-motorImageMain-515.jpg
download.jpg
mini-breadboard-colorat.jpg
1k-ohm-resistor__05927.1532890549.jpg
download (8).jpg
downloadV.png

1.Arduino UNO

2.HC-SR04 ultrasonic sensor

3.L298N dual bridge

4.2 Wheel Arduino Car Kit

5.SG90 servo motor

6. jumper wires

7. breadboard

8. 2x1k resistors

9. 2x LED

10. Visuino softare



Schematic Diagram

Untitled Sketch ROBOT.png
l298n-punte-h-dubla-dual-h-bridge-motor-dcsteppe.jpg
Make the connections of the components according to the diagram below. LED is optional part.Don't forget that Ardui



Start Visuino Software and Upload the Code

snapshot51.png
snapshot50.png
snapshot49.png

The code is automatically generated by Visuino in INO format.Visuino software is free version, download here: https://www.visuino.com/download

Downloads

Testing and Calibrate

back.png
test2.png
battery holder.png
snapshot60.png
in teste.png
snapshot52.png
test.png
At this point we connect the components according to the diagram,we assemble the mechanical parts.we test and calibrate the sensor and motors. For this I suspended the robot as seen in the pictures


Start the Device

snapshot58.png
snapshot57.png
snapshot59.png
Power up the device , press the Power button. At this point the project is complete and the device is ready for operation.
Thank you for following me here. I hope you like my project, there will be other interesting ones. Good luck!