In this tutorial, you will make obstacle avoiding robot. This tutorial involves building a 4WD robot with an ultrasonic sensor that can detect nearby objects and change its direction to avoid these objects. The ultrasonic sensor will be attached to a servo motor which is constantly scanning left and right looking for objects in its way.
Full tutorial: https://youtu.be/C3GhJmmRY4Y
- 1x Arduino UNO R3: http://bit.ly/2xt9MVk
- 1x L293D Motor Drive Shield: http://bit.ly/2H7vmy9
- 1x HC-SR04 Ultrasonic Distance Module: http://bit.ly/2kJXZsN
- 1x SG90 9g Mini Servo: http://bit.ly/2JoUQMY
- 1x Bracket for HC-SR04: https://bit.ly/3bvvF68
- 4x Wheel and Gear Motor: https://bit.ly/2RXAWLS
- 3 in 1 Jumper Wire: http://bit.ly/2J6de9E
- 4WD Robot Car Chassis Kit: https://bit.ly/2x8EdRk
- Arduino Compatible SCM & DIY Kits: http://bit.ly/2J2AFF7
- Install AFMotor.h library: https://learn.adafruit.com/adafruit-motor-shield/library-install
- Install NewPing.h library: https://bitbucket.org/teckel12/arduino-new-ping/downloads/