Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   c++ and UltraSonic sensors (http://www.chiefdelphi.com/forums/showthread.php?t=143299)

jthenderson 02-06-2016 01:35 PM

c++ and UltraSonic sensors
 
Hey guys! does anyone know how to get the ultrasonic sensors to work in programming? we are working with the MB1200 XL-MaxSonar-EZ0 sensor. all we want to do is see distance in inches.... but we haven't had any luck... please help!


Thanks for your time!

jthenderson 02-06-2016 02:19 PM

Re: c++ and UltraSonic sensors
 
also... does anyone know how to wire it? I cant find it in any documentation...

rich2202 02-06-2016 02:28 PM

Re: c++ and UltraSonic sensors
 
How do you know the programming doesn't work if you don't have a working sonar?

http://www.maxbotix.com/documents/XL..._Datasheet.pdf
http://first.wpi.edu/FRC/roborio/rel...ltrasonic.html

jthenderson 02-06-2016 02:41 PM

Re: c++ and UltraSonic sensors
 
Quote:

Originally Posted by rich2202 (Post 1536022)
How do you know the programming doesn't work if you don't have a working sonar?

http://www.maxbotix.com/documents/XL..._Datasheet.pdf
http://first.wpi.edu/FRC/roborio/rel...ltrasonic.html

because when I was putting stuff in... it was coming up as an error to get the value as inches... got that to go away... thanks for the links... I'm going to look at them


All times are GMT -5. The time now is 10:17 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi