Go to Post ..attitude and willingness to work as a team...are the qualities that can make or break a team. - Monochron [more]
Home
Go Back   Chief Delphi > Technical > Pneumatics
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 25-01-2003, 16:46
TwoEdge47 TwoEdge47 is offline
Registered User
#0168 (Flashblacks)
 
Join Date: Jan 2003
Location: North Miami Beach, Florida
Posts: 3
TwoEdge47 is an unknown quantity at this point
Compressor

need help with programming the compressor, used code that ive found here before but for some reason the compressor wont turn on. yes i have checked the program and the connections but still no go any help will be much appreciated thanks
  #2   Spotlight this post!  
Unread 25-01-2003, 17:36
Jferrante Jferrante is offline
Registered User
#0506
 
Join Date: Aug 2002
Location: New York
Posts: 67
Jferrante is an unknown quantity at this point
Send a message via AIM to Jferrante Send a message via Yahoo to Jferrante
What relay # are you using? Are you using one or two pressure switches? What port(s) are they connected to?

If you had the compressor hooked up to relay1 and the pressure switch to rc_sw1 you're code could be as simple as:

relay1_fwd = 1 - rc_sw1

Of course you would need to add in some sort of timer to keep your compressor from cycling once the system filled up.
  #3   Spotlight this post!  
Unread 25-01-2003, 20:45
rbayer's Avatar Unsung FIRST Hero
rbayer rbayer is offline
Blood, Sweat, and Code
no team (Teamless Orphan)
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Minnetonka, MN
Posts: 1,087
rbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of light
Send a message via AIM to rbayer
Quote:
Originally posted by Jferrante
What relay # are you using? Are you using one or two pressure switches? What port(s) are they connected to?

If you had the compressor hooked up to relay1 and the pressure switch to rc_sw1 you're code could be as simple as:

relay1_fwd = 1 - rc_sw1

Of course you would need to add in some sort of timer to keep your compressor from cycling once the system filled up.
You probably want to use relay1_fwd=rc_sw1 instead since the pressure switch is normally close (1) and only opens (0) when the pressure gets high enough. Also, due to the way this year's switch works (opens at 115, but doesn't close again until 95psi), you don't need any special code to avoid cycling.
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php
  #4   Spotlight this post!  
Unread 26-01-2003, 00:50
Jferrante Jferrante is offline
Registered User
#0506
 
Join Date: Aug 2002
Location: New York
Posts: 67
Jferrante is an unknown quantity at this point
Send a message via AIM to Jferrante Send a message via Yahoo to Jferrante
Thanks for correcting me. I've been doing alot of codes with the output needing to be opposite of the input. Guess answering posts after being up 36 hours straight really isnt such a great idea.

I didn't know about the delay on the pressure switches. Thats new to this year right? Oh well, you can still save power by putting a longer delay if you don't really use pneumatics much. Then just add in a line that checks if you've fired the pneumatics and if you have automatically start the compressor right away. Ill stop now, I think i'm starting to ramble.
  #5   Spotlight this post!  
Unread 27-01-2003, 17:57
TwoEdge47 TwoEdge47 is offline
Registered User
#0168 (Flashblacks)
 
Join Date: Jan 2003
Location: North Miami Beach, Florida
Posts: 3
TwoEdge47 is an unknown quantity at this point
thanks

i was wondering where you would input the code?
__________________
I am the Great Ape!!
  #6   Spotlight this post!  
Unread 04-02-2003, 22:41
jon virgi jon virgi is offline
Registered User
#1191 (Eagles)
 
Join Date: Jan 2003
Location: Pittsburgh
Posts: 32
jon virgi is an unknown quantity at this point
Send a message via AIM to jon virgi
u can just put this :

relayX_fwd = rc_swY
relayX_rev = 0

where X is the relay used for compressor and Y is the switch of the pressure sensor, i assume u know which one corresponds to the pin u soldered the wires on.

and put this in the PERFORM OPERATIONS section of the program instead of the

relay2_fwd = p2_sw_trig &~ rc_sw3
relay2_rev = p2_sw_top &~ rc_sw4

or whichever relay you are using.
__________________
Keystone Oaks Robotics Team President / Webmaster / Lead Pneumatics designer / Lead electrical........
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
Problem with compressor Nick R. Pneumatics 3 21-02-2003 10:51
Air compressor never shuts off Carl Owenby Pneumatics 4 08-02-2003 23:34
compressor questions Greg Needel Pneumatics 2 29-01-2003 16:58
compressor? BBFIRSTCHICK Pneumatics 11 22-01-2003 07:12
programming the compressor archiver 2001 4 23-06-2002 23:19


All times are GMT -5. The time now is 20:10.

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