In this tutorial you will learn how to make obstacle avoiding robot using HCSR-04.
code and circuit link-//arduinoinnovation.blogspot.in/2017/12/obstacle-avoiding-robot-using-hcsr-04.html
adafruit motor shield library link-//github.com/adafruit/Adafruit-Motor-Shield-library
new pings library link-//bitbucket.org/teckel12/arduino-new-ping/downloads/
source