Go to Post Didn't you hear? After Atlanta, they aren't having nationals anymore. - Joe Ross [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 29-01-2012, 16:30
its da PAT!!!'s Avatar
its da PAT!!! its da PAT!!! is offline
Registered User
AKA: Pat Miller
FRC #0829 (Digital Goats)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2005
Location: indianapolis
Posts: 186
its da PAT!!! has a spectacular aura aboutits da PAT!!! has a spectacular aura aboutits da PAT!!! has a spectacular aura about
Send a message via AIM to its da PAT!!!
Re: Red Light Crisis on Spike

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
__________________

2012 Boilermaker Engineering Excellence Award
2010 Boilermaker Rockwell Automation Innovation in Control Award
2009 Buckeye J&J Gracious Professionalism Award
2009 Boilermaker J&J Gracious Professionalism Award
2008 Boilermaker J&J Gracious Professionalism Award
2007 St. Louis Regional Champion



Last edited by its da PAT!!! : 29-01-2012 at 16:32.
Reply With Quote
  #2   Spotlight this post!  
Unread 29-01-2012, 16:34
its da PAT!!!'s Avatar
its da PAT!!! its da PAT!!! is offline
Registered User
AKA: Pat Miller
FRC #0829 (Digital Goats)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2005
Location: indianapolis
Posts: 186
its da PAT!!! has a spectacular aura aboutits da PAT!!! has a spectacular aura aboutits da PAT!!! has a spectacular aura about
Send a message via AIM to its da PAT!!!
Re: Red Light Crisis on Spike

Oh and depending on what kind of valve it is 12v or 24v. it needs the proper wiring.
__________________

2012 Boilermaker Engineering Excellence Award
2010 Boilermaker Rockwell Automation Innovation in Control Award
2009 Buckeye J&J Gracious Professionalism Award
2009 Boilermaker J&J Gracious Professionalism Award
2008 Boilermaker J&J Gracious Professionalism Award
2007 St. Louis Regional Champion


Reply With Quote
  #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
  #4   Spotlight this post!  
Unread 29-01-2012, 16:48
its da PAT!!!'s Avatar
its da PAT!!! its da PAT!!! is offline
Registered User
AKA: Pat Miller
FRC #0829 (Digital Goats)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2005
Location: indianapolis
Posts: 186
its da PAT!!! has a spectacular aura aboutits da PAT!!! has a spectacular aura aboutits da PAT!!! has a spectacular aura about
Send a message via AIM to its da PAT!!!
Re: Red Light Crisis on Spike

Quote:
Originally Posted by FRC4ME View Post
You can drive a 12 V solenoid valve with a Spike relay. You can even put multiple solenoid valves on one relay
Well I didn't know that thanks. I just find it easier to use the break out. It saves space.
__________________

2012 Boilermaker Engineering Excellence Award
2010 Boilermaker Rockwell Automation Innovation in Control Award
2009 Buckeye J&J Gracious Professionalism Award
2009 Boilermaker J&J Gracious Professionalism Award
2008 Boilermaker J&J Gracious Professionalism Award
2007 St. Louis Regional Champion


Reply With Quote
  #5   Spotlight this post!  
Unread 29-01-2012, 16:52
its da PAT!!!'s Avatar
its da PAT!!! its da PAT!!! is offline
Registered User
AKA: Pat Miller
FRC #0829 (Digital Goats)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2005
Location: indianapolis
Posts: 186
its da PAT!!! has a spectacular aura aboutits da PAT!!! has a spectacular aura aboutits da PAT!!! has a spectacular aura about
Send a message via AIM to its da PAT!!!
Re: Red Light Crisis on Spike

Well thats a 24v and it has to go to break out and that pictures seems to be wired wrong.
__________________

2012 Boilermaker Engineering Excellence Award
2010 Boilermaker Rockwell Automation Innovation in Control Award
2009 Buckeye J&J Gracious Professionalism Award
2009 Boilermaker J&J Gracious Professionalism Award
2008 Boilermaker J&J Gracious Professionalism Award
2007 St. Louis Regional Champion


Reply With Quote
  #6   Spotlight this post!  
Unread 29-01-2012, 17:04
cilginbilgin cilginbilgin is offline
Registered User
FRC #2905
 
Join Date: Jan 2010
Location: Istanbul,Turkey
Posts: 188
cilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the rough
Re: Red Light Crisis on Spike

Quote:
Originally Posted by its da PAT!!! View Post
Well thats a 24v and it has to go to break out and that pictures seems to be wired wrong.
But there are lights on both corners of the valve.

Doesn't this mean that valve is powered correctly ?
Reply With Quote
  #7   Spotlight this post!  
Unread 29-01-2012, 17:06
cilginbilgin cilginbilgin is offline
Registered User
FRC #2905
 
Join Date: Jan 2010
Location: Istanbul,Turkey
Posts: 188
cilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the rough
Re: Red Light Crisis on Spike

Here is our code.
Attached Thumbnails
Click image for larger version

Name:	teleop.png
Views:	8
Size:	13.9 KB
ID:	11624  Click image for larger version

Name:	begin.png
Views:	13
Size:	7.5 KB
ID:	11625  
Reply With Quote
  #8   Spotlight this post!  
Unread 29-01-2012, 17:11
its da PAT!!!'s Avatar
its da PAT!!! its da PAT!!! is offline
Registered User
AKA: Pat Miller
FRC #0829 (Digital Goats)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2005
Location: indianapolis
Posts: 186
its da PAT!!! has a spectacular aura aboutits da PAT!!! has a spectacular aura aboutits da PAT!!! has a spectacular aura about
Send a message via AIM to its da PAT!!!
Re: Red Light Crisis on Spike

Not quite, On one side of the valve power and ground need to come from the PD and the other side goes to the ground and power side of the spike (M+, M-).

But if it is a 24v valve, it needs to be wired to a 24v breakout. It will only get 12v for a spike.
__________________

2012 Boilermaker Engineering Excellence Award
2010 Boilermaker Rockwell Automation Innovation in Control Award
2009 Buckeye J&J Gracious Professionalism Award
2009 Boilermaker J&J Gracious Professionalism Award
2008 Boilermaker J&J Gracious Professionalism Award
2007 St. Louis Regional Champion


Reply With Quote
  #9   Spotlight this post!  
Unread 29-01-2012, 17:18
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,766
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Red Light Crisis on Spike

cil,
When you use a 24 volts solendoid valve, the only legal and correct way to use it is to wire the solenoid module in the Crio for 24 volts. There is a wiring diagram on the First website to assist you. I believe you can find it in the KOP section. The Spike can only control 12 volts. While some people have reported that their 24 volt valves work on 12 volts, they are not reliable at that voltage.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
Reply With Quote
  #10   Spotlight this post!  
Unread 29-01-2012, 17:20
cilginbilgin cilginbilgin is offline
Registered User
FRC #2905
 
Join Date: Jan 2010
Location: Istanbul,Turkey
Posts: 188
cilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the rough
Re: Red Light Crisis on Spike

Quote:
Originally Posted by its da PAT!!! View Post
Not quite, On one side of the valve power and ground need to come from the PD and the other side goes to the ground and power side of the spike (M+, M-).

But if it is a 24v valve, it needs to be wired to a 24v breakout. It will only get 12v for a spike.

So what you are saying is don't wire the spike with the valve , just wire the valve to the solenoid breakout ? OR...
Reply With Quote
  #11   Spotlight this post!  
Unread 29-01-2012, 17:24
cilginbilgin cilginbilgin is offline
Registered User
FRC #2905
 
Join Date: Jan 2010
Location: Istanbul,Turkey
Posts: 188
cilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the rough
Re: Red Light Crisis on Spike

Thanks for your help , Pat and Al
Reply With Quote
  #12   Spotlight this post!  
Unread 29-01-2012, 21:36
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 6,988
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: Red Light Crisis on Spike

Quote:
Originally Posted by cilginbilgin View Post
So what you are saying is don't wire the spike with the valve , just wire the valve to the solenoid breakout ?.
Yes, exactly. The two wires from a side of the solenoid valve go directly to a 2-pin connection on the solenoid breakout. No need for a spike.
__________________

I am N2IRZ - What's your callsign?
Reply With Quote
  #13   Spotlight this post!  
Unread 29-01-2012, 17:37
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: Red Light Crisis on Spike

It seems as though your wiring is entirely wrong.

The Spike Relay replaces the Solenoid breakout.

If you choose to use the solenoid breakout, each side of the solenoid can be connected to a separate channel on the solenoid breakout board, no spike needed

If you choose to use a Spike relay, then you would connect the Spikes signal input to the Relay section on the Digital Sidecar using a PWM cable. No solenoid board or module needed; this can be a slight weight savings when using only one or two solenoids.

In addition, the solenoid link you provided is for a 24v solenoid. To use this solenoid, you must connect the solenoid to the solenoid breakout, and power the solenoid breakout from the 24v cRio power supply.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
Reply With Quote
  #14   Spotlight this post!  
Unread 29-01-2012, 16:47
cilginbilgin cilginbilgin is offline
Registered User
FRC #2905
 
Join Date: Jan 2010
Location: Istanbul,Turkey
Posts: 188
cilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the rough
Question 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.

I will start from the very beginning.I have a solenoid valve that is wired into the spike.

Here is the valve that we use.

http://www.festo.com/rep/en-us_us/as...ions_2011b.pdf

Then I wired the pwm output of the spike to 2 ports on the solenoid breakout.
Attached Images
File Type: bmp Pneumatics.bmp (1.68 MB, 25 views)
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 06:11.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi