Introduction: 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.
Step 1: 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
Step 2: Schematic Diagram
Make the connections of the components according to the diagram below. LED is optional part.Don't forget that Ardui
Step 3: 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
Attachments
Step 4: 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
Step 5: 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!






