Go to Post the political parties should consist of AndyMarkcrats and IFI-icans.... - Josh Hambright [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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 22-06-2011, 16:23
ElliotCourant's Avatar
ElliotCourant ElliotCourant is offline
Elliot Courant
AKA: Elliot Courant
FRC #3038 (ICE Robotics)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Minnesota
Posts: 19
ElliotCourant is an unknown quantity at this point
Compressor Pressure Sensor

Is there a way to tell what the pressure is for an air compressor or on a valve from windriver C++. something like "m_compressor.GetAirPressure();" function.
__________________
"Error, Cannot Find Back-End!" -WindRiver C++ Error
"If you aren't getting any errors while you are programming, then you are doing something wrong." -Elliot Courant
Reply With Quote
  #2   Spotlight this post!  
Unread 22-06-2011, 16:30
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
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,830
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: Compressor Pressure Sensor

No. Because there isn't a sensor in the standard system that measures air pressure.
You could buy one, it's called a pressure transducer, but they can be fairly expensive.

The best you can do is check if the pressure switch has been tripped to see if it thinks more pressure should be pumped or not.
Pretty much we can only trust it to indicate:
  • OFF = pressure has been at 120psi recently and it hasn't yet dropped below 95psi
  • ON = the pressure is not 120psi
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 22-06-2011 at 16:46.
Reply With Quote
  #3   Spotlight this post!  
Unread 22-06-2011, 16:47
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Compressor Pressure Sensor

Quote:
Originally Posted by ElliotCourant View Post
Is there a way to tell what the pressure is for an air compressor or on a valve from windriver C++. something like "m_compressor.GetAirPressure();" function.
To do that, you'll need to install a sensor that can measure air pressure, and connect it to the robot control system so you can read its value. There was one in the 2004 Kit of Parts, made by Texas Instruments if I'm remembering correctly. It provided an analog voltage proportional to the pressure.
Reply With Quote
  #4   Spotlight this post!  
Unread 23-06-2011, 09:59
ElliotCourant's Avatar
ElliotCourant ElliotCourant is offline
Elliot Courant
AKA: Elliot Courant
FRC #3038 (ICE Robotics)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Minnesota
Posts: 19
ElliotCourant is an unknown quantity at this point
Re: Compressor Pressure Sensor

Is there a way to make one of those sensors because we didn't have a team back in 2004?
__________________
"Error, Cannot Find Back-End!" -WindRiver C++ Error
"If you aren't getting any errors while you are programming, then you are doing something wrong." -Elliot Courant
Reply With Quote
  #5   Spotlight this post!  
Unread 23-06-2011, 22:17
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 7,011
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: Compressor Pressure Sensor

"Make" a pressure sensor?

Technically, if some company can make one, so can you. I suppose.
But practically: No. You should buy one.
Something like this should do.
__________________

I am N2IRZ - What's your callsign?
Reply With Quote
  #6   Spotlight this post!  
Unread 23-06-2011, 22:57
Tristan Lall's Avatar
Tristan Lall Tristan Lall is offline
Registered User
FRC #0188 (Woburn Robotics)
 
Join Date: Aug 2001
Rookie Year: 1999
Location: Toronto, ON
Posts: 2,484
Tristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond repute
Re: Compressor Pressure Sensor

Quote:
Originally Posted by DonRotolo View Post
"Make" a pressure sensor?

Technically, if some company can make one, so can you. I suppose.
But practically: No. You should buy one.
Something like this should do.
Well, maybe not that one exactly—it doesn't have a barbed fitting for attaching a tube. (I've seen similar ones designed to accommodate tubing in that way, but I'm not sure if they're sized for FRC-legal tubing.) The one in the old KOP was embedded in a brass NPT-threaded fitting, and avoided tubing altogether.

And definitely check the rules closely before using these in competition. They're exposed to air pressure, so would almost certainly be considered a pneumatic part, and therefore be subject to stringent regulations.

Last edited by Tristan Lall : 23-06-2011 at 23:00.
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 03:05.

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