Let's Make Robots! | RobotShop

sr-04

Ultrasonic HC-SR04 library for AtMega 8 (ie Dagu Mini Driver)

Does anyone know of a library that will work with a Dagu Mini Driver (Arduino NG AtMega 8) and an HC-SR04?  At first I thought I must have two sensors that are dead, but when I hook them up to an Arduino they work fine.

I tried our friend Google, but none of the ultrasonic libraries list if they are backwards compatible to the AtMega 8.  I tried two different libraries and neither seems to work.  I tried different pins, still no joy.

Thanks in advance,

Regards,

 

Bill

 

navigates around via ultrasound sensor
Using a
Ok, here I am and introduce you the Beetleduino Wall Racer. Components: 1x RC toy car1x Arduino Duemilanove2x SR-04 ultra sound sensorsome wire1-2x additional … Read more