|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Pneumatics NOT Working - Help - Pictures included
So we have our programming done and it's all correct and we are trying to start our compressor. The constructor is: Compressor(1,1) which is where the pressure switch channel is and the compressor relay channel...
We feel like we have everything hooked properly. Also, can someone please clarify what the red - green red - green represent on the relay section of the Digital IO I circled it in the pictures. ![]() ![]() ![]() ![]() ![]() |
|
#2
|
||||
|
||||
|
Have you called Compressor.start();?
What is the resistance across the pressure switch? It should be closed, that is, passing current. Is everything seated properly, especially the PWM connector into the Spike? What are the lights next to the relay connector on the DSC doing? |
|
#3
|
|||||
|
|||||
|
Re: Pneumatics NOT Working - Help - Pictures included
Is the red wire connected to the GND input on the Spike actually +volts?
|
|
#4
|
||||
|
||||
|
Re: Pneumatics NOT Working - Help - Pictures included
This does not affect the not running issue but...
Check your wiring. Wire color and whether hooked to + or - is specified in the rules. It also looks like you have your pump wired - relay to + pump. The pump will still run but may not be as efficient. |
|
#5
|
||||
|
||||
|
Re: Pneumatics NOT Working - Help - Pictures included
x2 on checking that the PWM cable is connected in the spike, that is REALLY easy to mess up.
Like Al points out... red wire going to GND connection on the spike? That's just asking for trouble. Like Andy points out the compressor appears to be wired in reverse too... which is a bad idea, specifically pointed out in the FRC pneumatics tutorial. A healthy amount of self doubt might be good here. Obviously it's not hooked up right and/or the programming is not correct, otherwise it would work! I would suggest reading through any tutorials you can find, taking everything apart, then re-assembling everything while reading/following the tutorial a second (or third) time. That's what I do.Last edited by JamesCH95 : 09-01-2014 at 08:50. |
|
#6
|
||||
|
||||
|
Re: Pneumatics NOT Working - Help - Pictures included
Quote:
OP, it is against the rules to wire with blue wires attached to + and red wires attached to -, per R49. This will also make it easier on yourself and others when troubleshooting electrical issues. Last edited by KrazyCarl92 : 09-01-2014 at 08:59. |
|
#7
|
||||
|
||||
|
Re: Pneumatics NOT Working - Help - Pictures included
One more possibility.
Are you using +24 volt solenoids and trying to drive them with +12 volts? |
|
#8
|
|||||
|
|||||
|
Re: Pneumatics NOT Working - Help - Pictures included
Umm, you appear to have plugged your PWM cable leading to the Spike into a motor speed controller/servo output rather than the proper RELAY output.
If that one PWM cable on a Relay connection is from your Spike, then according to your code the Spike needs to be connected to Relay 1. The proper connection pins are a couple of millimeters to the right of the Relay LED that is glowing. Those LEDs are side by side with the pins that are firing. http://www.chiefdelphi.com/forums/at...1&d=1367246283 Last edited by Mark McLeod : 10-01-2014 at 08:24. |
|
#9
|
|||
|
|||
|
Re: Pneumatics NOT Working - Help - Pictures included
The green leds is Forward
RED is Reverse On the posted pictures it seems like you have hooked up the (PWM) connector in reverse the ground should be facing outwards (black) on the Digital sidecar the connection on the spike is correct. Please note not to run your compressor backwards. (AKA the light on the spike is red instead of orange or green) Note: The Spike does not use pwm as a signal rather it has a ground in two "digital" inputs. Truth table can be read in the Spike datasheet. The jist of it is it needs 12V on the Red and/or white pin to do anything. Black will be ground Digital Sidecar datasheet: http://www.usfirst.org/sites/default...al_Sidecar.pdf. Vex Spike (H-Bridge) Datasheet http://content.vexrobotics.com/docs/...uide-sep05.pdf |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|