Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Electrical (http://www.chiefdelphi.com/forums/forumdisplay.php?f=53)
-   -   3 Way Switches on Driver Station (http://www.chiefdelphi.com/forums/showthread.php?t=73839)

finman 07-02-2009 14:05

3 Way Switches on Driver Station
 
i am trying to wire a few (3-4) 3 way switches (on off on) to the drivers station. what is the best way to to this?

Dale 07-02-2009 15:36

Re: 3 Way Switches on Driver Station
 
We're using an analog port for three way switches but that's just because we're using most of the digital inputs already.

To use analog ports, the analog input line would need two resistors. The analog line connects to the center pole of the switch with two equal resistors, one pulling it up and one pulling it down.

What most normal people do is connect the center pole of the switch to ground and then connect the poles on either side to two digital inputs.

eugenebrooks 07-02-2009 17:01

Re: 3 Way Switches on Driver Station
 
New for this year, the driver station does not have pullup resistors
on its digital inputs, you have to include them. We use two digital
inputs for each two way switch, each pulled up to 5 volts with a
10k ohm resistor, and then when the switch is thrown the
corresponding input line gets pulled down to ground.

As noted in an earlier post, you can play games with resistor
dividers on an analog input and get many switch
settings on one input line. Digital inputs are a scarce
resource on the driver station.

Eugene

Dale 07-02-2009 17:28

Re: 3 Way Switches on Driver Station
 
It is indeed a pain that there are no pull up resistors on the digital inputs. It will work if you just let them float high and then ground them thorugh the switch but that method is more susceptible to noise. This was a big oversight on FIRST's part!


All times are GMT -5. The time now is 10:46.

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