PDA

View Full Version : Normal IO Push Button on the Digital Sidecar


DaSavageJ
02-07-2010, 08:50 AM
Does anyone know of a way I can connect a normal open close push button, using only power (negative and positive) connectors, to the Digital Sidecar?

gbf1991
02-07-2010, 08:56 AM
I'm from the same team, and we're trying to set up an auto shutoff for a motor based on a sensor switch. In order to simulate this, since we don't have the switch yet, we're using a pushbutton. Any help would be appreciated.

Mark McLeod
02-07-2010, 09:13 AM
To connect a button or switch to the Digital Sidecar you use the ground (-) and signal pins, not the power (+) pin.

Anything you want your code to know about MUST use the signal pin to "signal" the cRIO. That's the only way your code can "hear" anything.

So connect the switch ground to (-) on the Sidecar and the switch (+) to the signal pin on the Sidecar.

DaSavageJ
02-07-2010, 04:28 PM
Thanks a lot man, I'll try this out first thing in the morning.

Tom Line
02-07-2010, 04:43 PM
Make sure you connect it to the digital I/O pins - the same place you'd plug in an encoder.