|
Re: Labview and Vex Ultrasonic Sensors
Quote:
Originally Posted by Tom Line
Will the Vex Ultrasonic Sensors work with the FRC Labview ultrasonic sensor VI right out of the box? Has anyone tried this?
|
I have seen the Vex US sensor on robots in the past, so I'm guessing the answer is, it will work.
There is an example you can test with found in :
C:\program files\National Instruments\LabView 2011\examples\FRC\Digital\Ultrasonic At least that is the path on my PC. Honestly, I am not sure if this example is set up to measure pulse width, but it looks as though it is.
A Vex US generates a HIGH pulse during the time the unit is looking for the returned "ping". Just measure the pulse width and do the math to determine the distance to the nearest object.
To generate the "ping" , you need to apply a HIGH pulse of at least 10uS on the trigger line.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
|