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
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
1.Arduino UNO
2.HC-SR04 ultrasonic sensor
3.L298N dual bridge
5.SG90 servo motor
6. jumper wires
7. breadboard
8. 2x1k resistors
9. 2x LED
10. Visuino softare
Schematic Diagram
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
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
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
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!