This STEM project uses Arduino, sensors and dc motors to make a robot car that avoids obstacles.
What I made
It is a car that moves forward, but turns away every time it is a within a specific distance of any nearby object.
Why I made it
It is a simple yet promising glimpse into the future of robotic cars and automation integrated into cars (like, self driving cars). It enabled me to understand Arduino better and prepare for university applications.
What I learned
Learned how to troubleshoot code, how arduino works [ground, battery positives, signal pins etc], little bit of coding.
- 1x L298N Motor Driver - 1x HC-SR04 Distance sensor - 1x battery pack/battery holder (4AA-6AA range) should provide 6v-9v ideally on the higher side - 1x Car Chassis kit - 2x DC motors and wheel (usually comes with the chassis kit) - 1x Arduino Uno Rev 3 - 1x Arduino cable (to connect with laptop port) - 20x-50x M-F, F-F, M-M Cables any amount more than approx 20 wires are more than enough - 1x solder (not necessary) - You can also buy a kit that includes them all [better, safer option] -1x SG90 servo motor (not needed)
Comments (1)