Basic stamps 2 and srf05 ultrasonic
RcManiaCyprus
Posts: 3
Hi,
I have a boe bot(basic stamps 2)I am trying to get it working with the hy-srf05 ultrasonic sensor.The sensor has 2 modes.One uses 2 different pins for trigger and echo and the other mode uses one pin for both echo and trigger.I tried getting the second mode(one pin both echo and trigger) working with the code provided by parallax for their ping))) ultrasonic sensor.Doesn't do anything.If any of you guys has code for either of the modes that would be great.And if anyone has modified the roaming with ping code to work with this sensor that would be great too!Any help would be much appreciatedThanks..
I have a boe bot(basic stamps 2)I am trying to get it working with the hy-srf05 ultrasonic sensor.The sensor has 2 modes.One uses 2 different pins for trigger and echo and the other mode uses one pin for both echo and trigger.I tried getting the second mode(one pin both echo and trigger) working with the code provided by parallax for their ping))) ultrasonic sensor.Doesn't do anything.If any of you guys has code for either of the modes that would be great.And if anyone has modified the roaming with ping code to work with this sensor that would be great too!Any help would be much appreciatedThanks..
Comments
None of my cheap Ebay HC-SR04/05 modules support one pin mode. Note that these are not the same as Devantech's SRF04/05:
http://www.robot-electronics.co.uk/acatalog/Ultrasonic_Rangers.html
Get two-pin mode working first, then try the one-pin approach afterwards.
After you get your sensor mounted on a servo, be sure to do Andy's very cool PING-dar experiment, a required rite of passage for every budding roboticist: http://forums.parallax.com/showthread.php/86110-Ping)))Dar-a-Radar-Style-Display?highlight=ping+dar+radar+display
ajward found 10 sensors for $14.22... ridiculously cheap: http://www.ebay.com/itm/10-x-Ultrasonic-Module-HC-SR04-Distance-Measuring-Transducer-Sensor-for-Arduino-/130705106799#ht_2575wt_679