Go to Post Surely, we've seen enough new and interesting implementations of technology in FIRST that we won't keep limiting our imagination to the tried and true. - Madison [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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 21-02-2010, 12:14
scorpions980 scorpions980 is offline
Registered User
FRC #3017
 
Join Date: Jan 2010
Location: new york
Posts: 11
scorpions980 is an unknown quantity at this point
problem with programming solenoid vales

our team is currently using the pneumatic system for the arm and we are having problems with the double solenoid valve. the module is connected to slot 8. and the sides are connected to the first and second channel. the compressor is operated by a external battery and there are 4 cylinders connected in a chain which is connected by surgical tubing to the pneumatics which is connected by tubing to the piston. i dont see a problem with the wiring because the lights on the solenoid alternate when i press the button i set it to. and it works manually with the blue button on the solenoid. the code is very simple as well

Solenoid * compress;
Solenoid * decompress;

//its initialized inside the default robot
compress = new Solenoid (1);
decompress = new Solenoid (2);

//inside is operator loop
if (leftstick->GetRawButton(6)){
compress->Set(true);
decompress->Set(false);}
else{
compress->Set(false);
decompress->Set(true);}

can someone tell me a way to make the piston fire and not just make the lights on the solenoid switch on and off? thank you.
//
i am sure everything is connected corrected and yes it was enabled there was nothing that we could tell was wrong
Reply With Quote
  #2   Spotlight this post!  
Unread 21-02-2010, 12:56
Bryan Herbst's Avatar
Bryan Herbst Bryan Herbst is offline
Registered User
AKA: Bryan
FRC #2052 (KnightKrawler)
Team Role: Mentor
 
Join Date: Sep 2007
Rookie Year: 2007
Location: Minneapolis, Minnesota
Posts: 544
Bryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond repute
Re: problem with programming solenoid vales

Is the soleniod breakout connected to the 24v connector on the PDB (same connector as the cRio), or is it connected to another Wago terminal on the PDB?

It should be connected to the former, as the rest of the PDB only provides 12v but the solenoids require 24v.
__________________
Team 2052- Knightkrawler
Mentor and volunteer
Reply With Quote
  #3   Spotlight this post!  
Unread 21-02-2010, 17:37
scorpions980 scorpions980 is offline
Registered User
FRC #3017
 
Join Date: Jan 2010
Location: new york
Posts: 11
scorpions980 is an unknown quantity at this point
Re: problem with programming solenoid vales

oh wow, i cant believe i missed something so obvious, thanks a bunch
$@#$@#$@#$@# freshmen musta wired it when i wasn't paying attention.
Reply With Quote
  #4   Spotlight this post!  
Unread 27-02-2010, 10:13
willzone1's Avatar
willzone1 willzone1 is offline
Registered User
FRC #0246 (Overclocked)
Team Role: Electrical
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Boston, MA
Posts: 4
willzone1 is an unknown quantity at this point
Re: problem with programming solenoid vales

Actually, according to the manual the solenoid breakout board accepts 6-30V. There is no need for 24V, 12V does fine. We have had ours hooked up through a 12V Wago terminal on the PDB, and we have had our solenoids working great.
Reply With Quote
  #5   Spotlight this post!  
Unread 27-02-2010, 10:50
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,713
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: problem with programming solenoid vales

That's because you are using 12VDC solenoids.
The one solenoid that came in the 2010 KOP is 24VDC.
You have to wire the voltage that fits your solenoids. They are labeled.

Quote:
Originally Posted by willzone1 View Post
Actually, according to the manual the solenoid breakout board accepts 6-30V. There is no need for 24V, 12V does fine. We have had ours hooked up through a 12V Wago terminal on the PDB, and we have had our solenoids working great.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Limit switch to solenoid problem TPekarjr Electrical 4 28-01-2010 20:17
solenoid programming holty531 Programming 0 10-02-2008 16:17
problem connecting the solenoid arpitshah Pneumatics 1 21-01-2008 08:47
Programming a Solenoid Brigander Pneumatics 4 17-02-2007 14:06
Solenoid Programming duckshepherd Pneumatics 1 17-02-2003 09:15


All times are GMT -5. The time now is 02:49.

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