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://yqezpq.blu.livefilestore.com/y1pAnUbSEMiGl5L9ZzOleeDb8SA7Qg7...
Earl
The code is in post as 8_3-_10_earl
The unit and software measures in inches, microseconds, or cm. The range is less than a 1/2 inch to 134 inches (over 11 feet).
The best application is using this in the arduCopter software.
Any ideas on using it on the AP-Mega ? Maybe on takeoff ?
Too small a distance for landing I think or ????
Earl