View Single Post
  #3   Spotlight this post!  
Unread 29-01-2012, 16:43
FRC4ME FRC4ME is offline
Registered User
FRC #0339
 
Join Date: Feb 2008
Rookie Year: 2007
Location: Fredericksburg, VA
Posts: 324
FRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant future
Re: Red Light Crisis on Spike

Quote:
Originally Posted by its da PAT!!! View Post
Ok well there's your problem. The solenoid valve needs to be plugged into the solenoid break out on the crio.

and I highlighted cylinder because calling it a piston is a pet peeve of mine. lol
You can drive a 12 V solenoid valve with a Spike relay. You can even put multiple solenoid valves on one relay:

Quote:
[R46]
Each power-regulating device (speed controller or relay module) shall control one and only one electrical load (motor, actuator, electric solenoid, or compressor).

Exception: Multiple low-load, pneumatic solenoid valves or lights may be connected to a single relay module. This would allow one relay module to drive multiple pneumatic actions or multiple lights. No other electrical load can be connected to a relay module used in this manner.
Is the light flashing or solid? A solid red light means the relay is set to reverse. To set it forward (green light) you need to change the direction of the relay in your code. What language are you using?

EDIT - Seems the OP is trying to use a 24 V solenoid. In that case, you have to use the solenoid breakout. And you do not connect a Spike to the solenoid breakout; you connect the solenoid valve directly to the solenoid breakout. If you want to use a Spike to drive a 12 V solenoid valve, you connect the Spike to the digital sidecar, never to the solenoid breakout.
__________________
Go directly to queue. Do not pass pit.

Last edited by FRC4ME : 29-01-2012 at 23:32.
Reply With Quote