Go to Post Some of us should be so lucky to have something go wrong on Einstein. - Kevin Sevcik [more]
Home
Go Back   Chief Delphi > Technical > Electrical
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 10-02-2008, 19:00
Spiders Spiders is offline
Rookie Team
FRC #2599 (Full Throttle)
Team Role: Leadership
 
Join Date: Feb 2008
Rookie Year: 2007
Location: Chula Vista, Ca
Posts: 81
Spiders is a name known to allSpiders is a name known to allSpiders is a name known to allSpiders is a name known to allSpiders is a name known to allSpiders is a name known to all
Send a message via MSN to Spiders Send a message via Yahoo to Spiders
compressor problems

We need to get are compressor working but are having problems, mainly that it wont start, when we plug the pressure switch into the 18th digital I/O it gives us the rc hardware orange light (5v+ output low) and doesnt do anything, the compressor is in a spike connected to the 8th relay output, the default code is set for those spots but it is still not working.. does anybody know why? plz help!
  #2   Spotlight this post!  
Unread 10-02-2008, 19:07
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
no team
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Austin, TX
Posts: 1,127
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
Re: compressor problems

Sounds like you're connecting the red and black wire to your pressure switch. Connect the black and white one instead.

Also, try not to start new topics unless it is needed.
__________________
Taking a break from mentoring for a few years. (Is that allowed?!?)

Controls Mentor
@rnazaretian

Previous teams:
Team Fusion, FRC 364
Garnet Squadron, FRC 4901
  #3   Spotlight this post!  
Unread 10-02-2008, 19:14
Spiders Spiders is offline
Rookie Team
FRC #2599 (Full Throttle)
Team Role: Leadership
 
Join Date: Feb 2008
Rookie Year: 2007
Location: Chula Vista, Ca
Posts: 81
Spiders is a name known to allSpiders is a name known to allSpiders is a name known to allSpiders is a name known to allSpiders is a name known to allSpiders is a name known to all
Send a message via MSN to Spiders Send a message via Yahoo to Spiders
Re: compressor problems

Well the light is green now, but the compressor wont start..
  #4   Spotlight this post!  
Unread 10-02-2008, 19:16
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
no team
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Austin, TX
Posts: 1,127
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
Re: compressor problems

Have you programmed it properly? Are all the PWM connections are secure? Make sure you have the PWM cable plugged into one of the relay outputs on the RC, and make sure it is the correct one. Same thing with your pressure switch; it should be on one of the digital I/O ports.
__________________
Taking a break from mentoring for a few years. (Is that allowed?!?)

Controls Mentor
@rnazaretian

Previous teams:
Team Fusion, FRC 364
Garnet Squadron, FRC 4901
  #5   Spotlight this post!  
Unread 10-02-2008, 19:20
Spiders Spiders is offline
Rookie Team
FRC #2599 (Full Throttle)
Team Role: Leadership
 
Join Date: Feb 2008
Rookie Year: 2007
Location: Chula Vista, Ca
Posts: 81
Spiders is a name known to allSpiders is a name known to allSpiders is a name known to allSpiders is a name known to allSpiders is a name known to allSpiders is a name known to all
Send a message via MSN to Spiders Send a message via Yahoo to Spiders
Re: compressor problems

well the spike from the compressor is in the 8th relay output, and the pressure switch is in the 18th digital I/O, and the default code is on
"relay8_fwd != rc_dig_in18;
relay8_rev = 0;"
  #6   Spotlight this post!  
Unread 10-02-2008, 19:22
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
no team
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Austin, TX
Posts: 1,127
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
Re: compressor problems

Quote:
Originally Posted by Spiders View Post
well the spike from the compressor is in the 8th relay output, and the pressure switch is in the 18th digital I/O, and the default code is on
"relay8_fwd != rc_dig_in18;
relay8_rev = 0;"
The code looks good assuming you don't have the quotation marks in the code. Where is this in the code? It should be in user_routines.c if you are using the IFI code or in teleop.c if you are using Kevin's code. Make sure that the relays are not set to 0 somewhere else in the program and that your controller is connected and not disabled.
__________________
Taking a break from mentoring for a few years. (Is that allowed?!?)

Controls Mentor
@rnazaretian

Previous teams:
Team Fusion, FRC 364
Garnet Squadron, FRC 4901
  #7   Spotlight this post!  
Unread 10-02-2008, 19:22
Spiders Spiders is offline
Rookie Team
FRC #2599 (Full Throttle)
Team Role: Leadership
 
Join Date: Feb 2008
Rookie Year: 2007
Location: Chula Vista, Ca
Posts: 81
Spiders is a name known to allSpiders is a name known to allSpiders is a name known to allSpiders is a name known to allSpiders is a name known to allSpiders is a name known to all
Send a message via MSN to Spiders Send a message via Yahoo to Spiders
Re: compressor problems

yay, we switched the pressure switch to black and white and it works
  #8   Spotlight this post!  
Unread 10-02-2008, 19:23
Spiders Spiders is offline
Rookie Team
FRC #2599 (Full Throttle)
Team Role: Leadership
 
Join Date: Feb 2008
Rookie Year: 2007
Location: Chula Vista, Ca
Posts: 81
Spiders is a name known to allSpiders is a name known to allSpiders is a name known to allSpiders is a name known to allSpiders is a name known to allSpiders is a name known to all
Send a message via MSN to Spiders Send a message via Yahoo to Spiders
Re: compressor problems

thnx for the help, sorry for new post, had someone else on nother comp searching for original while i asked
  #9   Spotlight this post!  
Unread 10-02-2008, 19:27
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
no team
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Austin, TX
Posts: 1,127
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
Re: compressor problems

Glad to see you got it working! For future reference:
White - Signal
Red - +5V
Black - Ground

For the digital I/O ports, all you ever need to do is put a switch on a white and a black wire. In the programming, you'll also notice how when you turn a switch on, it reads as 0 in the programming, and when it is off, it reads one. I'm not entirely sure, but I believe this is due to the pull-up resistor in the RC. It reads 1 when the pull-up resistor puts a +5V current on the pin, and when you apply a negative current on it, it shorts it out, and reads as 0 in the programming.
__________________
Taking a break from mentoring for a few years. (Is that allowed?!?)

Controls Mentor
@rnazaretian

Previous teams:
Team Fusion, FRC 364
Garnet Squadron, FRC 4901
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Running just the compressor (was: free compressor) sciguy125 Pneumatics 15 06-02-2006 18:23
Labview problems and code problems ajsetter Programming 25 18-01-2006 17:07
compressor stephenthe1 Pneumatics 3 11-01-2005 08:29
Compressor TwoEdge47 Pneumatics 5 04-02-2003 22:41
Compressor agenova Programming 4 22-02-2002 21:44


All times are GMT -5. The time now is 21:03.

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