View Single Post
  #2   Spotlight this post!  
Unread 13-02-2015, 23:16
tStano tStano is offline
Registered User
AKA: Sparks
no team
Team Role: Electrical
 
Join Date: Jan 2014
Rookie Year: 2012
Location: Madison, WI
Posts: 177
tStano will become famous soon enough
Re: Maxbotix ultrasonic. .... Anyone have them working through analog?

I'm sure you already know this but, just in case, on a PWM cable, you connect
GND -->Black
+5V --> red
AN --> white
and plug that into an analog port on the roborio; be sure you have cable inserted right way.

I haven't had any trouble with connecting them to the control system. Are you sure you're using the analog channel? Theres a bunch of different ways you can connect them. Otherwise, I'd try to be sure you soldered it alright. Its really easy to short a couple of those holes together.

However, they have a really wide beam width, per the spec sheet, so if you're using them to detect edges, you're going to have a bad time. The VEX ones are much better for edge detection. Otherwise, they appear to be pretty accurate and linear.