View Single Post
  #3   Spotlight this post!  
Unread 19-02-2013, 13:18
DjMaddius's Avatar
DjMaddius DjMaddius is offline
Registered User
AKA: Matt Smith
FRC #2620 (Southgate Titans)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Southgate, Mi
Posts: 161
DjMaddius is an unknown quantity at this point
Re: Wiring Proximity Switch

Quote:
Originally Posted by Alan Anderson View Post
BROWN: PDB +12
BLACK: DI SIG
BLUE: PDB (-)

The three wires coming from the device should be brown, black, and blue. Connect brown to +12 volts (a red Wago terminal on the Power Distribution Board) and blue to power return (the adjacent black Wago terminal on the Power Distribution Board). Black is the signal output. Since the device you linked to is an open-collector NPN transistor output, it can be connected directly to the SIG pin on a Digital Input on the Digital Sidecar. The built-in pullup resistor on the sidecar will pull the signal to 5 volts when the sensor is not active, and the sensor will pull the signal to ground when what it's sensing is within 2 mm.
Awesome thanks, just wanted to make sure we didn't screw anything up before doing it this way. Appreciate it!