|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Digital I/O putting out +5V when robot disabled
Our technical mentor and rookies were trying out code to put our compressor on a toggle (joystick button). it is plugged into a digital i/o and not a relay port. But when we first power up the robot, and our teleop is still disabled, we are getting +5 to the Spike which is powering the compressor. We do not have the pressure switch wired. Can anyone explain why the digital i/o is doing this when the robot is disabled, and what we can do to fix it?
|
|
#2
|
||||||
|
||||||
|
Re: Digital I/O putting out +5V when robot disabled
Per section 3.4.3 of the control system manual, the digitial IO pins have a 10k pullup to 5v.
The easiest way to solve this would be to run the spike from a relay port as intended. What is the reason you're trying to run it from a digital output? If you're just trying to show that you can control a digital output, what about using an LED? Last edited by Joe Ross : 11-12-2010 at 12:57. |
|
#3
|
|||
|
|||
|
Re: Digital I/O putting out +5V when robot disabled
Your configuration is illegal* and would not pass inspection. You may only control spike relays using the designated relay ports.
* I know I'm supposed to give the standard "previous rules don't apply to future years, but trust me on this one. |
|
#4
|
||||
|
||||
|
Re: Digital I/O putting out +5V when robot disabled
i can't imaging the rules for that changing anyways
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| putting placards on the robot | Rafael2215 | Rules/Strategy | 10 | 13-03-2010 16:31 |
| Digital Sidecar Fails When Limit Switch is Pressed | diggoran | FRC Control System | 3 | 13-02-2010 16:19 |
| Robot seems to be Disabled when using Jaguars | Thxe | C/C++ | 2 | 11-02-2009 22:01 |
| Disabled Robot Scoring? | DM7000 | Rules/Strategy | 15 | 09-01-2009 21:50 |