Thread: Sensor Wiring
View Single Post
  #4   Spotlight this post!  
Unread 25-01-2012, 10:18
Superllama12's Avatar
Superllama12 Superllama12 is offline
Wombaticus
AKA: Brandon Buncher
FRC #0540 (Talon 540)
Team Role: Electrical
 
Join Date: Jan 2011
Rookie Year: 2004
Location: Henrico, VA
Posts: 150
Superllama12 is an unknown quantity at this point
Re: Sensor Wiring

Quote:
Originally Posted by hsekhon27 View Post
You have to use an analog signal. To wire, you just solder a pwm cable to three of the outputs on the sensor. Here's the order:
Black-GND
Red- 5V
White- AN

And the female end of the pwm cable connects to one of the analog inputs of the analog module of the cRIO (probably slot 1)
Yup, we've tested and it works; however, programming-wise, it is kinda weird. We found a website that told us to wire it through the ECHO and/or PING modules, but we can't find anything about what those actually are. Lastly, though we haven't tried it, you should be able to wire the white wire to PW and put the female in DIO, but again, we haven't tested it. Good luck!
__________________
I would put a signature here, but that's too mainstream

Wait a moment...