Go to Post Mentors can never receive enough thanks from us students, who don't know even half of what they put into our teams. - Katie_UPS [more]
Home
Go Back   Chief Delphi > Technical > Programming
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-01-2005, 22:16
M. Hicken's Avatar
M. Hicken M. Hicken is offline
Where am I?
AKA: I AM PACO
#0219 (Team Impact)
Team Role: Driver
 
Join Date: Jan 2004
Rookie Year: 2002
Location: Washington, NJ
Posts: 158
M. Hicken is a jewel in the roughM. Hicken is a jewel in the roughM. Hicken is a jewel in the rough
Send a message via AIM to M. Hicken
Pneumatic pressure switch

Im not sure if this should be in the programming or pneu thread.

Forgive me if im wrong, i havent slept in about 23 hours.

When i was paging through the manual, did I see that the code for the pressure switch is not in the default code? I can not say i know a great deal about coding, im crossing over from the mechanical threads. But is it in there? and if not, how is one supposed to keep pressure? i dont think trying to keep taps on how many times you fire the cylinders to how much time you charged the compressor will work well, untill someone blows the relief valve.

sorry for rambeling, i cant see straight
__________________
If duct tape isnt the answer you're looking for, you're asking the wrong question

There is no such thing as a stupid question, there are just a lot of inquisitive idiots
Personal rookie year: 2002
Team Impact 219: 1998
  #2   Spotlight this post!  
Unread 10-01-2005, 22:23
Unsung FIRST Hero Woodie Flowers Award
Chris Fultz Chris Fultz is offline
My Other Car is a 500 HP Turbine
FRC #0234 (Cyber Blue)
Team Role: Engineer
 
Join Date: Jan 2002
Rookie Year: 1942
Location: Indianapolis, IN
Posts: 2,837
Chris Fultz has a reputation beyond reputeChris Fultz has a reputation beyond reputeChris Fultz has a reputation beyond reputeChris Fultz has a reputation beyond reputeChris Fultz has a reputation beyond reputeChris Fultz has a reputation beyond reputeChris Fultz has a reputation beyond reputeChris Fultz has a reputation beyond reputeChris Fultz has a reputation beyond reputeChris Fultz has a reputation beyond reputeChris Fultz has a reputation beyond repute
Re: Pneumatic pressure switch

The pressure switch has two settings.

At the high point (115 - 120 usually), the sensor will send a signal to the control. At this point, the compressor should be shut off.

As you use pneumatics, the pressure will drop. When you reach the low set point (100 - 105 usually), the compressor will come back on. Unless something malfunctions, you should never trip the relief valve.
__________________
Chris Fultz
Cyber Blue - Team 234
2016 IRI Planning Committee
2016 IndyRAGE Planning Committee
2010 - Woodie Flowers Award - Championship
  #3   Spotlight this post!  
Unread 10-01-2005, 22:45
M. Hicken's Avatar
M. Hicken M. Hicken is offline
Where am I?
AKA: I AM PACO
#0219 (Team Impact)
Team Role: Driver
 
Join Date: Jan 2004
Rookie Year: 2002
Location: Washington, NJ
Posts: 158
M. Hicken is a jewel in the roughM. Hicken is a jewel in the roughM. Hicken is a jewel in the rough
Send a message via AIM to M. Hicken
Re: Pneumatic pressure switch

nono, i know how they work, they will cut back on at 95 psi. my question is, is that coding in the master default code. i couldent seem to find it, or am i thinking about it too much, and it is an on off switch, and no coding needed?
__________________
If duct tape isnt the answer you're looking for, you're asking the wrong question

There is no such thing as a stupid question, there are just a lot of inquisitive idiots
Personal rookie year: 2002
Team Impact 219: 1998
  #4   Spotlight this post!  
Unread 10-01-2005, 23:09
ldeffenb ldeffenb is offline
Registered User
AKA: Lynn Deffenbaugh (Mr)
None #0386 (Team Voltage 386)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2003
Location: Florida
Posts: 75
ldeffenb has a spectacular aura aboutldeffenb has a spectacular aura aboutldeffenb has a spectacular aura about
Send a message via ICQ to ldeffenb Send a message via AIM to ldeffenb Send a message via Yahoo to ldeffenb
Re: Pneumatic pressure switch

Code for compressor control has never been in the default code (believe it or not). What *is* in the default code is software that turns on and off defined relays in response to defined digital inputs. There is also code that outputs values to defined PWM channels based on input values from defined joysticks. Various other digital inputs are coded to provide limits on some of the joystick to PWM "connections".

It is up to the hardware designer to figure out which digital input the pressure switch should be connected to and which relay output the compressor should be driven from. Then you can run the default code.

Otherwise, your hardware designers can tell the software folks which digital input will be the pressure switch and which relay will be the compressor and custom software will need to be written to monitor the state of the digital input and drive the state of the relay to accomplish a control loop.

The default code is sufficient to implement a robotic control system, but you need to wire the controls to fit within the "connections" made between inputs and outputs as defined in the default code reference manual. Nothing fancy is included and no autonomous mode is present.

To get autonomous mode stuff, you go to kevin.org for the PID control loop and command sequencing stuff. That code has its own assumptions about what inputs and outputs are connected to what. It must all be read and understood before anything is actually wired in and/or software loaded.

That's where the rubber meets the road (or the tires meet the carpet) and the real fun begins!
  #5   Spotlight this post!  
Unread 11-01-2005, 00:21
Biff Biff is offline
Registered User
AKA: Tom Cooper
#1227 (Techno Gremlins)
Team Role: Mentor
 
Join Date: Jan 2004
Location: Grand Rapids MI
Posts: 214
Biff is a jewel in the roughBiff is a jewel in the roughBiff is a jewel in the roughBiff is a jewel in the rough
Re: Pneumatic pressure switch

[quote=ldeffenb]Code for compressor control has never been in the default code (believe it or not). What *is* in the default code is software that turns on and off defined relays in response to defined digital inputs. There is also code that outputs values to defined PWM channels based on input values from defined joysticks. Various other digital inputs are coded to provide limits on some of the joystick to PWM "connections".[quote=ldeffenb]

Last years default code did have relay control defined, for the last relay and the last digital input, as I recall. I also remember that the positive and negative were reversed in an early version. The spike driving the compressor was Red so the fan on the compressor ran backward. I do remember reading the comments in the code telling you where to connect the spike and the switch. Can't say the same for this years code as I haven't looked yet. If you want all the details search the old forums Or look in 2004's default code.
  #6   Spotlight this post!  
Unread 11-01-2005, 00:27
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,589
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Pneumatic pressure switch

The pressure switch code is in the 2005 default code. It's so simple that it's easy to miss.

Code:
relay8_fwd = !rc_dig_in18;  /* Power pump only if pressure switch is off. */
Hook the pump to relay 8 and the pressure switch to digital input 18 and you're good to go.

Last edited by Joe Ross : 11-01-2005 at 00:29.
  #7   Spotlight this post!  
Unread 29-01-2005, 20:42
sirbleedsalot's Avatar
sirbleedsalot sirbleedsalot is offline
Registered User
FRC #0939
Team Role: Student
 
Join Date: Feb 2004
Location: New Effington South Dakota
Posts: 178
sirbleedsalot has a spectacular aura aboutsirbleedsalot has a spectacular aura aboutsirbleedsalot has a spectacular aura about
Re: Pneumatic pressure switch

How are we supposed to connect the pressure switch to digital input 18?
__________________
our web site
  #8   Spotlight this post!  
Unread 29-01-2005, 21:34
Robby's Avatar
Robby Robby is offline
Registered User
AKA: Kevin Beranek
FRC #0269 (Cooney Robotics)
Team Role: College Student
 
Join Date: Jan 2004
Rookie Year: 2003
Location: Wisconsin
Posts: 47
Robby has a spectacular aura aboutRobby has a spectacular aura about
Re: Pneumatic pressure switch

Quote:
Originally Posted by sirbleedsalot
How are we supposed to connect the pressure switch to digital input 18?
all you have to do is cut the end of a pwm cable off and connect the two wires to the switch and the other end of the pwm cable to the controller on a digital input.
  #9   Spotlight this post!  
Unread 29-01-2005, 23:09
sirbleedsalot's Avatar
sirbleedsalot sirbleedsalot is offline
Registered User
FRC #0939
Team Role: Student
 
Join Date: Feb 2004
Location: New Effington South Dakota
Posts: 178
sirbleedsalot has a spectacular aura aboutsirbleedsalot has a spectacular aura aboutsirbleedsalot has a spectacular aura about
Re: Pneumatic pressure switch

Which wires do you hook up to the switch though? Red, white, or black?
__________________
our web site
  #10   Spotlight this post!  
Unread 29-01-2005, 23:35
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,861
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: Pneumatic pressure switch

Quote:
Originally Posted by sirbleedsalot
Which wires do you hook up to the switch though? Red, white, or black?
The pressure sensor/switch has two contacts. One of these (either one) connects to the ground pin (black PWM wire) on the RC, the other connects to the Signal pin (white PWM wire).
The center +5v or red wire is not used for this purpose.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
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
connecting pressure switch kingpin3787 Pneumatics 2 19-02-2004 21:01
spike for pressure switch? Rob Colatutto Rules/Strategy 4 23-02-2003 15:42
lost pressure switch Josh Hambright Pneumatics 0 29-01-2003 08:30
Error found in programming for the pump and pressure switch sjharobotics Programming 4 06-02-2002 17:46
Pneumatic pressure sensor Curtis Williams Pneumatics 3 04-02-2002 20:09


All times are GMT -5. The time now is 22:46.

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