This is the 14core design Obstacle Avoidance BOT with L293D Shield and HC-SR04 and Servo, which is capable of avoiding obstacles using an Ultrasonic Ranging Sensor. The HC-SR04 is economical sensor provides 2cm to 400cm of non-contact measurement functionality with a ranging accuracy that can reach up to 3mm. Each HC-SR04 module includes an ultrasonic transmitter, a receiver and a control circuit. There are only four pins that you need to worry about on the HC-SR04: VCC (Power), Trig (Trigger), Echo (Receive), and GND (Ground). If you’re new to H-BRIDGE / Motor controller just follow also this link L293D / L298N.
Components Required
- Arduino Microcontroller
- L298N / l293D UNO Shield
- Smart Car Kit / Build your own Kit
- HC-SR04 Ultrasonic Raging Sensor
- 2 or 4 Gearhead Motors
- Servo
- Jumper Wire / DuPont Wire (Optional)
- Bread-board (Optional)
Wiring Diagram
Source Code
[crayon-67347d7e15fc9511711030/]
Downloads
14CORE Obstacle Avoidance Bot with HC-SR04, L293D Shield, SERVO & Arduino Microcontroller