Go to Post But, ya never know, Dave's out to mess with our heads... - Kyle Love [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 01-02-2014, 15:32
anthonygraff24 anthonygraff24 is offline
Registered User
FRC #2872 (CyberCats)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Long Island
Posts: 38
anthonygraff24 is an unknown quantity at this point
Why Won't our Pneumatic System Work!!???!?

We have been struggling really hard with our pneumatics system for the past couple of days. We have literally tried everything, but still when we enable the robot, the compressor doesn't start. I'm going to list everything we have going on related to pneumatics with our robot. If someone can PLEASE tell us what we're doing wrong, you would be a LIFESAVER!

CODE:

We code in Java. The compressor constructor reads as follows
Compressor compressor = new Compressor(2,8);

Inside the robotInit method, we have the following
compressor.Start();

The code properly compiles to the cRIO.


Our Compressor is wired to a spike. When plugged in, the light on the spike is orange, which we read is the correct color. The spike goes to the PDB. It is also wired via PWM cable to the Sidecar into relay #8. The Pneumatics are set up according to Team 358 (Happague)'s instructions. The pressure switch is wired via PWM cable to DIO #2 on the sidecar.

According to our (painstakingly extensive) research, when we enable the robot, the compressor should start. We aren't even worried about firing the piston yet. If you see anything in here that seems WRONG, or somewhere where we might have done something stupid like plug a cable in backwards, please let us know.
  #2   Spotlight this post!  
Unread 01-02-2014, 15:56
Domenic Rodriguez's Avatar
Domenic Rodriguez Domenic Rodriguez is offline
Registered User
FRC #0316 (LuNaTeCs)
Team Role: College Student
 
Join Date: Sep 2010
Rookie Year: 2011
Location: Grove City, PA
Posts: 213
Domenic Rodriguez has a spectacular aura aboutDomenic Rodriguez has a spectacular aura aboutDomenic Rodriguez has a spectacular aura about
Re: Why Won't our Pneumatic System Work!!???!?

There's a set of red and green LEDs next to the relay ports on the Digital Sidecar that indicate the state of each relay output (see the green circle in the attached image). When you enable the robot, does the green light next to relay port 8 turn on? Also make sure you are using compressor.start(), not compressor.Start(). The 's' in 'start' should be lowercase (unless that was just a typo in your post).
Attached Thumbnails
Click image for larger version

Name:	RelayLights.png
Views:	51
Size:	195.4 KB
ID:	16052  
__________________

LuNaTeCs - Learning Under Nurturing Adults Teaching Engineering Concepts and Skills - Small and Mighty!

FRC 316 LuNaTeCs - Student (2011-2014), Lead Programmer (2011-2014), Team Captain (2013-2014), Operator (2013), Drive Coach (2014), Mentor (2015-????)
'11 Philly Regional Finalists, '13 Chestnut Hill Finalists, '13 Lenape Champions, '13 Archimedes Division, '14 Chestnut Hill Champions, '14 Lenape Champions
FTC 7071 EngiNerds - Founding Advisor (2013-2014) | FRC 5420 Velocity - Founding Advisor (2015)
Grove City College Class of '18, Electrical/Computer Engineering (B.S.E.E)

  #3   Spotlight this post!  
Unread 01-02-2014, 16:03
brycen66 brycen66 is offline
Registered User
FRC #1678 (Citrus Circuits)
Team Role: Electrical
 
Join Date: Jan 2013
Rookie Year: 2011
Location: United States
Posts: 34
brycen66 is just really nicebrycen66 is just really nicebrycen66 is just really nicebrycen66 is just really nice
Re: Why Won't our Pneumatic System Work!!???!?

The PWM is plugged into the signal and Ground ports correct?
  #4   Spotlight this post!  
Unread 01-02-2014, 16:06
anthonygraff24 anthonygraff24 is offline
Registered User
FRC #2872 (CyberCats)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Long Island
Posts: 38
anthonygraff24 is an unknown quantity at this point
Re: Why Won't our Pneumatic System Work!!???!?

Quote:
Originally Posted by brycen66 View Post
The PWM is plugged into the signal and Ground ports correct?
Which PWM cable?
  #5   Spotlight this post!  
Unread 01-02-2014, 16:11
anthonygraff24 anthonygraff24 is offline
Registered User
FRC #2872 (CyberCats)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Long Island
Posts: 38
anthonygraff24 is an unknown quantity at this point
Re: Why Won't our Pneumatic System Work!!???!?

Quote:
Originally Posted by DomenicR View Post
There's a set of red and green LEDs next to the relay ports on the Digital Sidecar that indicate the state of each relay output (see the green circle in the attached image). When you enable the robot, does the green light next to relay port 8 turn on? Also make sure you are using compressor.start(), not compressor.Start(). The 's' in 'start' should be lowercase (unless that was just a typo in your post).
When we enable the robot nothing comes on there . What does that mean/what should we do?
  #6   Spotlight this post!  
Unread 01-02-2014, 16:19
Domenic Rodriguez's Avatar
Domenic Rodriguez Domenic Rodriguez is offline
Registered User
FRC #0316 (LuNaTeCs)
Team Role: College Student
 
Join Date: Sep 2010
Rookie Year: 2011
Location: Grove City, PA
Posts: 213
Domenic Rodriguez has a spectacular aura aboutDomenic Rodriguez has a spectacular aura aboutDomenic Rodriguez has a spectacular aura about
Re: Why Won't our Pneumatic System Work!!???!?

If the light isn't coming on, then the code isn't activating the relay output. This could be due to either a bug in your code or an issue with your pressure switch. Check your pressure switch wiring and make sure it is working properly.

Edit: Also see these threads:
http://www.chiefdelphi.com/forums/sh...d.php?t=125584
http://www.chiefdelphi.com/forums/sh...d.php?t=124738
http://www.chiefdelphi.com/forums/sh...d.php?t=112749
http://www.chiefdelphi.com/forums/se...archid=5331576
__________________

LuNaTeCs - Learning Under Nurturing Adults Teaching Engineering Concepts and Skills - Small and Mighty!

FRC 316 LuNaTeCs - Student (2011-2014), Lead Programmer (2011-2014), Team Captain (2013-2014), Operator (2013), Drive Coach (2014), Mentor (2015-????)
'11 Philly Regional Finalists, '13 Chestnut Hill Finalists, '13 Lenape Champions, '13 Archimedes Division, '14 Chestnut Hill Champions, '14 Lenape Champions
FTC 7071 EngiNerds - Founding Advisor (2013-2014) | FRC 5420 Velocity - Founding Advisor (2015)
Grove City College Class of '18, Electrical/Computer Engineering (B.S.E.E)


Last edited by Domenic Rodriguez : 01-02-2014 at 16:22.
  #7   Spotlight this post!  
Unread 01-02-2014, 16:22
anthonygraff24 anthonygraff24 is offline
Registered User
FRC #2872 (CyberCats)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Long Island
Posts: 38
anthonygraff24 is an unknown quantity at this point
Re: Why Won't our Pneumatic System Work!!???!?

Quote:
Originally Posted by DomenicR View Post
If the light isn't coming on, then the code isn't activating the relay output. This could be due to either a bug in your code or an issue with your pressure switch. Check your pressure switch wiring and make sure it is working properly.
I don't think there is a problem with the code, but could I possibly send you our code to make sure its alright?
  #8   Spotlight this post!  
Unread 01-02-2014, 16:34
Domenic Rodriguez's Avatar
Domenic Rodriguez Domenic Rodriguez is offline
Registered User
FRC #0316 (LuNaTeCs)
Team Role: College Student
 
Join Date: Sep 2010
Rookie Year: 2011
Location: Grove City, PA
Posts: 213
Domenic Rodriguez has a spectacular aura aboutDomenic Rodriguez has a spectacular aura aboutDomenic Rodriguez has a spectacular aura about
Re: Why Won't our Pneumatic System Work!!???!?

I sent you a PM; from what you described, it doesn't seem like a code issue to me either.
__________________

LuNaTeCs - Learning Under Nurturing Adults Teaching Engineering Concepts and Skills - Small and Mighty!

FRC 316 LuNaTeCs - Student (2011-2014), Lead Programmer (2011-2014), Team Captain (2013-2014), Operator (2013), Drive Coach (2014), Mentor (2015-????)
'11 Philly Regional Finalists, '13 Chestnut Hill Finalists, '13 Lenape Champions, '13 Archimedes Division, '14 Chestnut Hill Champions, '14 Lenape Champions
FTC 7071 EngiNerds - Founding Advisor (2013-2014) | FRC 5420 Velocity - Founding Advisor (2015)
Grove City College Class of '18, Electrical/Computer Engineering (B.S.E.E)


Last edited by Domenic Rodriguez : 01-02-2014 at 16:37.
  #9   Spotlight this post!  
Unread 01-02-2014, 21:03
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
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,715
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: Why Won't our Pneumatic System Work!!???!?

If you continue to have problems I could come by and take a look.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #10   Spotlight this post!  
Unread 02-02-2014, 11:22
Joe Reel Joe Reel is offline
Registered User
#0292 (PantherTech)
 
Join Date: Aug 2001
Location: Russiaville, In
Posts: 23
Joe Reel has a spectacular aura aboutJoe Reel has a spectacular aura about
Re: Why Won't our Pneumatic System Work!!???!?

Are getting the 110 psi reading? Our compressor did not shut off and we found that the pressure regulator had been installed with the wrong direction for the air flow. (there is an arrow on the regulator)
Closed Thread


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 10:13.

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