$20 Arduino Obstacle Avoidance Smart Car

1,906

1

2

Introduction: $20 Arduino Obstacle Avoidance Smart Car

About: A Interaction Designer with Industrial Design and EE background. Maker since a kid. Super grateful to new technology and online communities made everything possible!

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:

https://youtu.be/TMwBQ4sb3XY

The test codes for motors, ultra sonic sensor and servo can be found here:

http://chenthedesignmaker.com/arduino-smart-robot-...

Step 3: Updates for the Full Code

Step 4: Full Code Explained

Be the First to Share

    Recommendations

    • Reclaimed Materials Contest

      Reclaimed Materials Contest
    • Edible Art Challenge

      Edible Art Challenge
    • Made with Math Contest

      Made with Math Contest

    2 Comments

    0
    paulhschulman
    paulhschulman

    Question 3 months ago

    I also had already soldered the wires to the motor but it looks like I reversed the color of the wires--my black one is on top. Is this going to mess up the vehicle?

    0
    paulhschulman
    paulhschulman

    Question 3 months ago on Step 1

    I bought a kit for an obstacle-avoiding vehicle and it came with no way to attach the servo and the ultrasonic distance sensor. So I looked up a tilt and pan bracket kit. The ultrasonic sensor is HC-SR04 (if that means anything to you). I am concerned abouty size--with the sensor fit into the bracket kit. The servo is the same size as the one I have. I like how you fumble through the construction--I liked hearing you think through it without any instructions in the kit.