|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Help with Compressor!!!
We have the Thomas brand compressor, model number 405ADC38/12. I'm using Java to program the robot. The Compressor seems to just refuse to turn on. I have tried to directly power the relay separately and the compressor still did not power. We know the compressor turns on because we powered it (quite sketchily but only for testing purposes) with a 9V Battery. Please give me some suggestions!
|
|
#2
|
||||
|
||||
|
Re: Help with Compressor!!!
Do you still have the fuse in the relay?
If so, is the fuse still intact? If not, replace it with a 20A breaker. |
|
#3
|
||||
|
||||
|
Re: Help with Compressor!!!
Are you sure you're coding it correctly?
Could you either post here or PM me it if you don't feel secure posting it publicly, I may be able to help, we're also using Java this year. |
|
#4
|
||||
|
||||
|
Do the relay lights on the DSC come on?
|
|
#5
|
|||
|
|||
|
Re: Help with Compressor!!!
The relay does currently have a fuse in it. We have tried replacing the fuse of the relay and replacing the relay altogether. I am not 100% sure if I am coding it properly. I have attached the subsystem class for the Pneumatics. And the lights on the sidecar did not come on. Could I know which ones are supposed to come on? Also I want to clarify that I tried to directly power the relay through code, not physically.
|
|
#6
|
||||
|
||||
|
Re: Help with Compressor!!!
On the digital side car check to see if you have 3 power LEDS on in the corner and also check to see if you get an indicator light by where you plug in the pwm for the relay. It should be green next to relay 1 based on what your code says
|
|
#7
|
|||
|
|||
|
Re: Help with Compressor!!!
No. The lights next to the relay on the Digital Side Car to not come on. We have also tried swapping out the Digital Side Car.
|
|
#8
|
||||
|
||||
|
Re: Help with Compressor!!!
Quote:
There are four necessary values. Yours is currently "airCompressor = new Compressor(1,1);" Ours is basically the same, except the values are (1, 1, 1, 1). Try that out. Last edited by RamZ : 17-02-2014 at 19:55. Reason: Wrong values |
|
#9
|
||||
|
||||
|
Re: Help with Compressor!!!
I just took a look at the Javadoc for the compressor and I only see 2 constructors, one with 2 parameters(int pressureSwitchChannel, int compressorRelayChannel) and one with 4(int pressureSwitchSlot, int pressureSwitchChannel, int compresssorRelaySlot, int compressorRelayChannel)
|
|
#10
|
||||
|
||||
|
Re: Help with Compressor!!!
Quote:
I just checked the code and realized that ![]() Edited my above post, thanks! |
|
#11
|
||||
|
||||
|
Re: Help with Compressor!!!
If Im not mistaken you only need the 4 parameter constructor if you are using multiple digital sidecars
|
|
#12
|
||||
|
||||
|
Re: Help with Compressor!!!
Not sure why we use the 4 parameters, but the compressor currently works. Hmmmm...
|
|
#13
|
||||
|
||||
|
Re: Help with Compressor!!!
My guess is that it defaults to 1 and 1 as the other 2 parameters when you only use one card.
|
|
#14
|
|||
|
|||
|
Re: Help with Compressor!!!
That was also our understanding. We have also tried the using the constructor with 4 parameters with no luck.
|
|
#15
|
||||
|
||||
|
Re: Help with Compressor!!!
Do you have access to the robot at the moment?
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|