Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Sensors (http://www.chiefdelphi.com/forums/forumdisplay.php?f=173)
-   -   Connecting Maxbotix LV-MaxSonar-EZ1 to roborio (http://www.chiefdelphi.com/forums/showthread.php?t=150949)

Gthe3rd 06-09-2016 09:49

Connecting Maxbotix LV-MaxSonar-EZ1 to roborio
 
Hi all,
I've been looking into different types of rangefinders and came across the Maxbotix LV-MaxSonar-EZ1.
The page about this sensor in WPIlib docs doesn't explain how to connect it to the RoboRIO (I figured through the analog input pins).
Can someone please explain how the sensor is connected to the RoboRIO?
Thanks!

Mark McLeod 06-09-2016 11:22

Re: Connecting Maxbotix LV-MaxSonar-EZ1 to roborio
 
Here are two options to hook the sensor up to the roboRIO:

Analog -
  • GND
  • +5
  • AN (to signal pin)

Digital (DIO) -
  • GND
  • +5
  • PW (to signal pin)

Gthe3rd 07-09-2016 02:10

Re: Connecting Maxbotix LV-MaxSonar-EZ1 to roborio
 
Thanks!
btw, it's an analog input object in java, right?

Mark McLeod 07-09-2016 09:07

Re: Connecting Maxbotix LV-MaxSonar-EZ1 to roborio
 
It's an analog input when you connect it to the Analog pins.


All times are GMT -5. The time now is 19:52.

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