Go to Post it's possible, based on his widespread approval, that Frank is in fact a collection of kittens in a human suit - Andrew Schreiber [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 17-02-2014, 17:56
ndroboknight ndroboknight is offline
Registered User
FRC #3120
 
Join Date: Feb 2014
Location: Sherman Oaks
Posts: 6
ndroboknight is an unknown quantity at this point
Help with Compressor!!!

We have the Thomas brand compressor, model number 405ADC38/12. I'm using Java to program the robot. The Compressor seems to just refuse to turn on. I have tried to directly power the relay separately and the compressor still did not power. We know the compressor turns on because we powered it (quite sketchily but only for testing purposes) with a 9V Battery. Please give me some suggestions!
Reply With Quote
  #2   Spotlight this post!  
Unread 17-02-2014, 18:00
Matt C's Avatar
Matt C Matt C is offline
Registered User
FRC #1468 (J-Birds)
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 1999
Location: Islip Terrace, NY
Posts: 396
Matt C has a reputation beyond reputeMatt C has a reputation beyond reputeMatt C has a reputation beyond reputeMatt C has a reputation beyond reputeMatt C has a reputation beyond reputeMatt C has a reputation beyond reputeMatt C has a reputation beyond reputeMatt C has a reputation beyond reputeMatt C has a reputation beyond reputeMatt C has a reputation beyond reputeMatt C has a reputation beyond repute
Send a message via AIM to Matt C
Re: Help with Compressor!!!

Do you still have the fuse in the relay?

If so, is the fuse still intact?

If not, replace it with a 20A breaker.
Reply With Quote
  #3   Spotlight this post!  
Unread 17-02-2014, 18:08
RamZ's Avatar
RamZ RamZ is offline
Project Manager & Driver
AKA: Ram Zallan
FRC #0004 (Team 4 ELEMENT)
Team Role: Leadership
 
Join Date: Feb 2013
Rookie Year: 2012
Location: Los Angeles
Posts: 127
RamZ will become famous soon enoughRamZ will become famous soon enough
Re: Help with Compressor!!!

Are you sure you're coding it correctly?

Could you either post here or PM me it if you don't feel secure posting it publicly, I may be able to help, we're also using Java this year.
__________________
Team 4 ELEMENT
Project Manager & Driver
team4element.com facebook twitter instagram


Reply With Quote
  #4   Spotlight this post!  
Unread 17-02-2014, 18:55
cgmv123's Avatar
cgmv123 cgmv123 is offline
FRC RI/FLL Field Manager
AKA: Max Vrany
FRC #1306 (BadgerBOTS)
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Madison, WI
Posts: 2,069
cgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond repute
Do the relay lights on the DSC come on?
__________________
BadgerBOTS Robotics|@team1306|Facebook: BadgerBOTS
2016 FIRST Championship Tesla Division | 2016 Wisconsin Regional Engineering Inspiration Award

2015 FIRST Championship Carson Division | 2015 Wisconsin Regional Chairman's Award

2013 FIRST Championship Curie Division | 2013 Wisconsin Regional Chairman's Award

2012 FIRST Championship Archimedes Division | 2012 Wisconsin Regional Engineering Inspiration Award, Woodie Flowers Finalist Award (Lead Mentor Ben Senson)

Reply With Quote
  #5   Spotlight this post!  
Unread 17-02-2014, 19:31
ndroboknight ndroboknight is offline
Registered User
FRC #3120
 
Join Date: Feb 2014
Location: Sherman Oaks
Posts: 6
ndroboknight is an unknown quantity at this point
Re: Help with Compressor!!!

The relay does currently have a fuse in it. We have tried replacing the fuse of the relay and replacing the relay altogether. I am not 100% sure if I am coding it properly. I have attached the subsystem class for the Pneumatics. And the lights on the sidecar did not come on. Could I know which ones are supposed to come on? Also I want to clarify that I tried to directly power the relay through code, not physically.
Attached Files
File Type: java Pneumatics.java (1.7 KB, 9 views)
Reply With Quote
  #6   Spotlight this post!  
Unread 17-02-2014, 19:36
DDSLoan96's Avatar
DDSLoan96 DDSLoan96 is offline
Jack of all trades
AKA: Danny
FRC #1468 (J-Birds)
Team Role: Mentor
 
Join Date: Dec 2010
Rookie Year: 2010
Location: Hicksville
Posts: 40
DDSLoan96 is an unknown quantity at this point
Re: Help with Compressor!!!

On the digital side car check to see if you have 3 power LEDS on in the corner and also check to see if you get an indicator light by where you plug in the pwm for the relay. It should be green next to relay 1 based on what your code says
Reply With Quote
  #7   Spotlight this post!  
Unread 17-02-2014, 19:36
RamZ's Avatar
RamZ RamZ is offline
Project Manager & Driver
AKA: Ram Zallan
FRC #0004 (Team 4 ELEMENT)
Team Role: Leadership
 
Join Date: Feb 2013
Rookie Year: 2012
Location: Los Angeles
Posts: 127
RamZ will become famous soon enoughRamZ will become famous soon enough
Re: Help with Compressor!!!

Quote:
Originally Posted by ndroboknight View Post
The relay does currently have a fuse in it. We have tried replacing the fuse of the relay and replacing the relay altogether. I am not 100% sure if I am coding it properly. I have attached the subsystem class for the Pneumatics. And the lights on the sidecar did not come on. Could I know which ones are supposed to come on? Also I want to clarify that I tried to directly power the relay through code, not physically.
I don't think you initialized your compressor correctly.
There are four necessary values.
Yours is currently "airCompressor = new Compressor(1,1);"
Ours is basically the same, except the values are (1, 1, 1, 1).

Try that out.
__________________
Team 4 ELEMENT
Project Manager & Driver
team4element.com facebook twitter instagram



Last edited by RamZ : 17-02-2014 at 19:55. Reason: Wrong values
Reply With Quote
  #8   Spotlight this post!  
Unread 17-02-2014, 19:51
DDSLoan96's Avatar
DDSLoan96 DDSLoan96 is offline
Jack of all trades
AKA: Danny
FRC #1468 (J-Birds)
Team Role: Mentor
 
Join Date: Dec 2010
Rookie Year: 2010
Location: Hicksville
Posts: 40
DDSLoan96 is an unknown quantity at this point
Re: Help with Compressor!!!

Quote:
Originally Posted by RamZ View Post
I don't think you initialized your compressor correctly.
There are three necessary values.
Yours is currently "airCompressor = new Compressor(1,1);"
Ours is basically the same, except the values are (1, 1, 1).

Try that out.
I just took a look at the Javadoc for the compressor and I only see 2 constructors, one with 2 parameters(int pressureSwitchChannel, int compressorRelayChannel) and one with 4(int pressureSwitchSlot, int pressureSwitchChannel, int compresssorRelaySlot, int compressorRelayChannel)
Reply With Quote
  #9   Spotlight this post!  
Unread 17-02-2014, 19:56
RamZ's Avatar
RamZ RamZ is offline
Project Manager & Driver
AKA: Ram Zallan
FRC #0004 (Team 4 ELEMENT)
Team Role: Leadership
 
Join Date: Feb 2013
Rookie Year: 2012
Location: Los Angeles
Posts: 127
RamZ will become famous soon enoughRamZ will become famous soon enough
Re: Help with Compressor!!!

Quote:
Originally Posted by DDSLoan96 View Post
I just took a look at the Javadoc for the compressor and I only see 2 constructors, one with 2 parameters(int pressureSwitchChannel, int compressorRelayChannel) and one with 4(int pressureSwitchSlot, int pressureSwitchChannel, int compresssorRelaySlot, int compressorRelayChannel)
Yeah, sorry, I meant 4.
I just checked the code and realized that
Edited my above post, thanks!
__________________
Team 4 ELEMENT
Project Manager & Driver
team4element.com facebook twitter instagram


Reply With Quote
  #10   Spotlight this post!  
Unread 17-02-2014, 20:11
DDSLoan96's Avatar
DDSLoan96 DDSLoan96 is offline
Jack of all trades
AKA: Danny
FRC #1468 (J-Birds)
Team Role: Mentor
 
Join Date: Dec 2010
Rookie Year: 2010
Location: Hicksville
Posts: 40
DDSLoan96 is an unknown quantity at this point
Re: Help with Compressor!!!

Quote:
Originally Posted by RamZ View Post
Yeah, sorry, I meant 4.
I just checked the code and realized that
Edited my above post, thanks!
If Im not mistaken you only need the 4 parameter constructor if you are using multiple digital sidecars
Reply With Quote
  #11   Spotlight this post!  
Unread 17-02-2014, 20:12
RamZ's Avatar
RamZ RamZ is offline
Project Manager & Driver
AKA: Ram Zallan
FRC #0004 (Team 4 ELEMENT)
Team Role: Leadership
 
Join Date: Feb 2013
Rookie Year: 2012
Location: Los Angeles
Posts: 127
RamZ will become famous soon enoughRamZ will become famous soon enough
Re: Help with Compressor!!!

Quote:
Originally Posted by DDSLoan96 View Post
If Im not mistaken you only need the 4 parameter constructor if you are using multiple digital sidecars
Not sure why we use the 4 parameters, but the compressor currently works. Hmmmm...
__________________
Team 4 ELEMENT
Project Manager & Driver
team4element.com facebook twitter instagram


Reply With Quote
  #12   Spotlight this post!  
Unread 17-02-2014, 20:15
DDSLoan96's Avatar
DDSLoan96 DDSLoan96 is offline
Jack of all trades
AKA: Danny
FRC #1468 (J-Birds)
Team Role: Mentor
 
Join Date: Dec 2010
Rookie Year: 2010
Location: Hicksville
Posts: 40
DDSLoan96 is an unknown quantity at this point
Re: Help with Compressor!!!

Quote:
Originally Posted by RamZ View Post
Not sure why we use the 4 parameters, but the compressor currently works. Hmmmm...
My guess is that it defaults to 1 and 1 as the other 2 parameters when you only use one card.
Reply With Quote
  #13   Spotlight this post!  
Unread 17-02-2014, 20:21
ndroboknight ndroboknight is offline
Registered User
FRC #3120
 
Join Date: Feb 2014
Location: Sherman Oaks
Posts: 6
ndroboknight is an unknown quantity at this point
Re: Help with Compressor!!!

That was also our understanding. We have also tried the using the constructor with 4 parameters with no luck.
Reply With Quote
  #14   Spotlight this post!  
Unread 17-02-2014, 20:23
DDSLoan96's Avatar
DDSLoan96 DDSLoan96 is offline
Jack of all trades
AKA: Danny
FRC #1468 (J-Birds)
Team Role: Mentor
 
Join Date: Dec 2010
Rookie Year: 2010
Location: Hicksville
Posts: 40
DDSLoan96 is an unknown quantity at this point
Re: Help with Compressor!!!

Quote:
Originally Posted by ndroboknight View Post
That was also our understanding. We have also tried the using the constructor with 4 parameters with no luck.
Do you have access to the robot at the moment?
Reply With Quote
  #15   Spotlight this post!  
Unread 17-02-2014, 20:24
ndroboknight ndroboknight is offline
Registered User
FRC #3120
 
Join Date: Feb 2014
Location: Sherman Oaks
Posts: 6
ndroboknight is an unknown quantity at this point
Re: Help with Compressor!!!

Quote:
Originally Posted by DDSLoan96 View Post
On the digital side car check to see if you have 3 power LEDS on in the corner and also check to see if you get an indicator light by where you plug in the pwm for the relay. It should be green next to relay 1 based on what your code says
No. The lights next to the relay on the Digital Side Car to not come on. We have also tried swapping out the Digital Side Car.
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 16:18.

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