Take a look at the mod I made for the mega to incorporate a sonar range finder.
Code in zip above
The sonar interfaces to the relay pin 47.easy to do
The sonar interfaces to the relay pin 47.easy to do
You need to be a member of diydrones to add comments!
Comments
http://www.robot-electronics.co.uk/acatalog/Ultrasonic_Rangers.html
Agreed, it's about $25 elsewhere. Maxbotix also have some smack talk about the SRF02 here:
http://www.maxbotix.com/Performance_Data.html?gclid=CIKj2rz74aMCFQI...
Their comparable sensor (EZ04) is about $30.
do you have method or link to- of integrating the" "polaroid" sonar"?
Leon.
The advantage of the ping unit is it can measure down to 1 or 2 cm and out to 11 feet or so.
Earl
Yes, that is the sensor I used.
Earl
Thanks
Earl
http://www.robot-electronics.co.uk/htm/srf02tech.htm
It also requires pulse width measurement, whilst the SRF02 will give you actual distance, calibrated, over I2C.
do you use this one? http://itp.nyu.edu/physcomp/sensors/Reports/ParallaxUltrasonicDista...
Greetings,
Florian
Might be a cleaner option instead of using the pin for the relay.
chris.
You do see the ping library file and put it in your arduino library ?
Earl