|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Programming a compressor
it looks like we are getting up to 7 volts off the spike relay, and the little light on it is orange, didnt know the pressure switch says anything
|
|
#2
|
|||
|
|||
|
Re: Programming a compressor
also it connected to a spike relay but idk if thats what causing the issue.. just know its still not working
|
|
#3
|
|||||
|
|||||
|
Re: Programming a compressor
Quote:
If it's solid orange, that means it's outputting neutral (zero volts). If it's trying to get your compressor to run, it'll turn green (forward). There should be a PWM wire between the spike and Relay port 3 on your digital sidecar (like you specified in code) When the pressure going through the pressure switch is <120 psi, there will be an open circuit between the two wires coming off it (which should go to DIO 14, like you specified in code). That circuit will close when the pressure reaches 120 psi. This tells the cRIO to turn off the compressor. Take a look at the Signal Wiring Diagram and the Power Wiring Diagram to see how to wire the pressure switch and a spike relay. Last edited by plnyyanks : 17-02-2013 at 19:31. |
|
#4
|
|||
|
|||
|
Quote:
|
|
#5
|
|||
|
|||
|
Re: Programming a compressor
so looks like it was a bad spike relay. compressor works fine now and even more issues arise today such as the trigger button not working even though before it did and now our motor that is suppose to be triggered by it turns on when teleop is enabled =/
|
|
#6
|
|||||
|
|||||
|
Re: Programming a compressor
That happened to us yesterday evening. We added a servo, and suddenly one of the other motors decided to run backwards full speed. It turns out that the "database" we use to track robot I/O had duplicated a bunch of PWM channels.
Read the Diagnostics window on the Driver Station. It might be telling you something about trying to open a PWM output twice. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|