|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: How sensitive are the driver station digital inputs?
You must use a 10k pull up resistor on the driver’s station. The crio input on the robot has built in 10k resistors but not the driver's station.
So put a 5V to 10k and that goes to input. Then when the switch is flipped have it go to ground. A way to have a three way switch, on-off-on (up - neutral - down) tie 47k resistor to each end of the switch both terminating to the middle of the switch. The end of switch is tied to 5v and other end to ground. Then the middle goes to the analog port. That will give you three conditions to be read by analog input. |
|
#2
|
|||
|
|||
|
Re: How sensitive are the driver station digital inputs?
Quote:
When switch is off, signal should be connected to ground. When switch is on, signal should be connected to 5V going through 10K resistor. That's a little difficult to do with a SPST switch... |
|
#3
|
||||
|
||||
|
Re: How sensitive are the driver station digital inputs?
I made it too complicated. What you have already done, connect a 10k to the side that has the input and the other side of the 10k to 5V. Same switch just adding 10k resistor from input to 5V.
We had the same problem and checked if driver's station had pull up resistors which it doesn't |
|
#4
|
|||||
|
|||||
|
Re: How sensitive are the driver station digital inputs?
Quote:
When switch is off, signal should be connected to 5V going through 10K resistor (this will be read as true). When switch is on, signal should be connected to ground -- and still connected to 5V going through 10K resistor. The resistor will keep the 5V and ground on opposite sides of itself (this will be read as false). When done as Doug suggests, there is always a 10K resistor from +5V to the signal line. The switch leaves the signal alone when open, and pulls it to ground when closed. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Inputs on Driver Station | z2daj | C/C++ | 8 | 16-02-2009 04:12 |
| using digital inputs from the driver station | SL8 | NI LabVIEW | 2 | 04-02-2009 15:53 |
| Programming Digital Inputs from Driver Station | spooncwru | Programming | 8 | 01-02-2009 13:14 |
| Digital Outputs on the Driver Station with C/C++ | Bongle | C/C++ | 6 | 26-01-2009 15:45 |
| Using driver station digital inputs | Japper | FRC Control System | 6 | 19-01-2009 20:01 |