| Alan Anderson |
26-01-2014 21:32 |
Re: ultra sonic Sensor
Quote:
Originally Posted by katsauga
(Post 1332760)
I am having trouble finding sample code for a MaxBotics ultrasonic sensor. Can Someone submit a place to start, or a sample Labview code? :D
|
If you're looking for example LabVIEW code, a good place to start is the LabVIEW Examples. On the Getting Started window, select the Support tab. Click the "Find FRC Examples..." link on the right and it will open the NI Example Finder with the FRC Robotics folder selected.
Under the Analog folder you will find "EZ1 MB1010 Sonar - Analog.lvproj", and Under the Digital folder you will find "EZ1 MB1010 Sonar - Digital.lvproj": This example shows how to use the MaxBotix LV-MaxSonar-EZ1 Sonar Range Finder MB1010. It will display the distance from the sensor in inches. The examples include pictures of the proper wiring for the sensor.
|