Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Electrical (http://www.chiefdelphi.com/forums/forumdisplay.php?f=53)
-   -   Normal IO Push Button on the Digital Sidecar (http://www.chiefdelphi.com/forums/showthread.php?t=82099)

DaSavageJ 07-02-2010 09:50

Normal IO Push Button on the Digital Sidecar
 
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 07-02-2010 09:56

Re: Normal IO Push Button on the Digital Sidecar
 
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 07-02-2010 10:13

Re: Normal IO Push Button on the Digital Sidecar
 
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 07-02-2010 17:28

Re: Normal IO Push Button on the Digital Sidecar
 
Thanks a lot man, I'll try this out first thing in the morning.

Tom Line 07-02-2010 17:43

Re: Normal IO Push Button on the Digital Sidecar
 
Make sure you connect it to the digital I/O pins - the same place you'd plug in an encoder.


All times are GMT -5. The time now is 12:28.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi