Go to Post If the pattern holds, it's a bizarro year. - GeeTwo [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 06-02-2016, 13:35
jthenderson jthenderson is offline
Registered User
FRC #5464 (BlueJackets)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2014
Location: minnesota
Posts: 8
jthenderson is an unknown quantity at this point
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!
Reply With Quote
  #2   Spotlight this post!  
Unread 06-02-2016, 14:19
jthenderson jthenderson is offline
Registered User
FRC #5464 (BlueJackets)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2014
Location: minnesota
Posts: 8
jthenderson is an unknown quantity at this point
Re: c++ and UltraSonic sensors

also... does anyone know how to wire it? I cant find it in any documentation...
Reply With Quote
  #3   Spotlight this post!  
Unread 06-02-2016, 14:28
rich2202 rich2202 is offline
Registered User
FRC #2202 (BEAST Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 1,171
rich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond repute
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

Last edited by rich2202 : 06-02-2016 at 14:33.
Reply With Quote
  #4   Spotlight this post!  
Unread 06-02-2016, 14:41
jthenderson jthenderson is offline
Registered User
FRC #5464 (BlueJackets)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2014
Location: minnesota
Posts: 8
jthenderson is an unknown quantity at this point
Re: c++ and UltraSonic sensors

Quote:
Originally Posted by rich2202 View Post
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
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 13:20.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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