Log in

View Full Version : Connecting Maxbotix LV-MaxSonar-EZ1 to roborio


Gthe3rd
06-09-2016, 09:49
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
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
Thanks!
btw, it's an analog input object in java, right?

Mark McLeod
07-09-2016, 09:07
It's an analog input when you connect it to the Analog pins.