hello there,
im trying to build an object follower robot using arduino and ultrasonic sensor.
Part list:
-Arduino duemilanove/diecimella
-motordriver shield l293d
-ultrasound sensor hcsr04
-power source through usb
-micro servo
-2 dc motors
firstly it would be helpful if u could guide me to a page that has similar project.
im able to get the servo working. but im unable to get any output from the ping sensor. the serial communicator shows "0cm 0mseconds" what type of define should we use? and to what pin should we assign echo and trig ? this is the main part where im confused. i would also like to know where i can find info on library functions of <myservo.h> <newping.h> <afmotor.h>. thank you in advance