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

Downloads

  • Download the AFMotor Code Library Here | Zip
  • Download the NewPing Code Library Here | Zip
14CORE Obstacle Avoidance Bot with HC-SR04, L293D Shield, SERVO & Arduino Microcontroller
Facebooktwitterredditpinterestmail
Tagged on:                 

JLCPCBPCBgogoPCBway4pcb

3 thoughts on “14CORE Obstacle Avoidance Bot with HC-SR04, L293D Shield, SERVO & Arduino Microcontroller

  • at
    Permalink

    Hi, can you send me a circuit and code for same but 2 servo’s and 2 ultrasonic sensor’s? Thanks

    Reply

Leave a Reply to elijah Cancel reply

Your email address will not be published. Required fields are marked *