Introduction: $20 Arduino Obstacle Avoidance Smart Car
Hope you enjoyed the video above, in this tutorial, you can make yourself one of this obstacle avoidance robot car for under $30.
What you will need:
$19.99 Smart Robot Car kit: https://www.banggood.com/DIY-L298N-2WD-Ultrasonic...
Parts you might already have:
M3 *10mm Standoffs: https://www.banggood.com/50pcs-M3-10mm-Brass-Fema... Amazon: https://www.banggood.com/50pcs-M3-10mm-Brass-Fema...
Jumper cables: https://www.banggood.com/120pcs-Multicolored-Dupon...
Amazon: http://amzn.to/2G6WH78
4 AA batteries
Required Tools:
Soldering Iron:
Screw Drivers:
Twist Ties(For fixing the ultra sonic sensor)
Optional Tools:
3D Printer for upgrade parts
Step 1: Mechanical Assembly
Please follow the video to assemble your kit. The board mounting location will be covered in the next step video.
Step 2: Electronic Connections and Component Tests
Please be aware that there are connect changes in the next step.
To learn more about the L298N, please watch:
The test codes for motors, ultra sonic sensor and servo can be found here:
Step 3: Updates for the Full Code
Parts used in this video:
Ultrasonic Sensor holder by Uri Shani: https://www.thingiverse.com/thing:2765463/
Thanks Uri!
Tiny screw kit: https://www.banggood.com/1000Pcs-Glasses-Sunglass...
Third Wheel: https://www.thingiverse.com/thing:2811802
9V Battery Clip: https://www.banggood.com/Wholesale-9Volt-Battery-...
Step 4: Full Code Explained
Full code can be found here: