Go to Post What isn't fun about watching a robot hang tubes? I love watching my team do it! - Michael Corsetto [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 30-01-2011, 14:33
~piangere~ ~piangere~ is offline
Registered User
FRC #1946
 
Join Date: Dec 2010
Location: Israel
Posts: 3
~piangere~ is an unknown quantity at this point
pressureswitch problem

hello,
we are facing trouble with the pressureswitch it simply won't work the Compressor just keeps on going forever!!!!!

we have connected the Compressor to a functional spike and connected
the spike with pwm to the "relay" side car
also we connected the pressureswitch to the "digital I/O " part of the sidecar!!
(( the pwm cord are working the black cord in place and the red cord not connected with the signal cord in place))
our pneumatics is fully functional we tested it before connecting it with our robot!!
we are using wind river c++
and this is our code for starting the compressor
Code:
#include "WPILib.h"
#define GRAY_AREA 0.06  //The area that human hand may commit an error in .
#define MIN_SPEED 0.1 //the min speed that the wheels may get while turning.
#define INVERT -1 //invertieng a positive value to a neg value.
#define ANGLE2SPEED 0.06 // to convert Gyro angles to motor speed since angle is -30 to 30 and speed from -1 to 1 
#define MAXSPEEDGYRO 0.7 // max speed in gyro mood before inverting correction from left to right 
#define MAX 1 //MAX speed for the elec shooter.
#include "Gyro.h"
#include "Joystick.h"
#include "Compressor.h"
#include "DriverStation.h"
#include "PWM.h"
#include "Solenoid.h"
#include "Jaguar.h"
#include "Victor.h"

/**
 * This is a demo program showing the use of the RobotBase class.
 * The SimpleRobot class is the base of a robot application that will automatically call your
 * Autonomous and OperatorControl methods at the right time as controlled by the switches on
 * the driver station or the field controls.
 */ 
class RobotDemo : public SimpleRobot
{
	//RobotDrive myRobot; // robot drive system
	//Joystick stick; // only joystick
			Jaguar FL;//FrontLeft motor.
			Jaguar FR;//FrontRight motor.
			Jaguar RL;//RearLeft motor.
			Jaguar RR;//RearRight motor.
			RobotDrive myRobot; // Robot drive system
			Joystick Rightstick; // driving joystick
			Joystick Leftstick; // shooter+hangr stick
			float rSpeed,lSpeed;
			float spinspeed;
			Compressor mycomp;//c
			Solenoid gripper_o;
			Solenoid gripper_c;
			Victor spin;
			
public:
	RobotDemo(void):
		//myRobot(1, 2),	// these must be initialized in the same order
		//stick(1)		// as they are declared above.
			FL(1),FR(2),RL(3),RR(4),
				myRobot(&FL, &FR,&RL,&RR),	// These must be initialized in the same order.
				Rightstick(1),
				Leftstick(2),
				mycomp(2,2),
				gripper_o(8,2),
				gripper_c(8,3),
				spin(5)
				
				
				
		
	{
		myRobot.SetExpiration(0.1);
		mycomp.Start();
	
		
	}


However, every time we try to start the robot the compressor doesn't stop and the pressure switch regulator stops at 90 psi??


We are really confused
!
Reply With Quote
  #2   Spotlight this post!  
Unread 30-01-2011, 14:39
IndySam's Avatar
IndySam IndySam is offline
Registered User
FRC #0829 (Digital Goats)
Team Role: Mentor
 
Join Date: Nov 2005
Rookie Year: 2004
Location: Indy
Posts: 3,361
IndySam has a reputation beyond reputeIndySam has a reputation beyond reputeIndySam has a reputation beyond reputeIndySam has a reputation beyond reputeIndySam has a reputation beyond reputeIndySam has a reputation beyond reputeIndySam has a reputation beyond reputeIndySam has a reputation beyond reputeIndySam has a reputation beyond reputeIndySam has a reputation beyond reputeIndySam has a reputation beyond repute
Re: pressureswitch problem

You more than likely have a leak in your system. That's why you never get over 90psi.
__________________
"Champions are champions not because they do anything extraordinary but because they do the ordinary things better than anyone else." —Chuck Knoll


2015 Indianapolis District Winner
2014 Boilermaker Regional Industrial Design Award
2013 Smoky Mountain Regional Industrial Design Award
2012 Boilermaker Engineering Excellence Award
2010 Boilermaker Rockwell Innovation in Control Award.
2009 Buckeye J&J Gracious Professionalism Award
2009 Boilermaker J&J Gracious Professionalism Award
2008 Boilermaker J&J Gracious Professionalism Award
2007 St Louis Regional Winners
Reply With Quote
  #3   Spotlight this post!  
Unread 30-01-2011, 14:45
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,835
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: pressureswitch problem

It certainly sounds like the pressure sensor is doing it's job correctly.

Check your regulator. It could be:
  • set to 90 psi (adjust the knob on it).
  • plumbed backwards (there is an arrow on the back and only the high pressure tube show be going in the port by the back of the arrow).
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #4   Spotlight this post!  
Unread 30-01-2011, 17:35
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,792
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: pressureswitch problem

Quote:
Originally Posted by ~piangere~ View Post
hello,
we are facing trouble with the pressureswitch it simply won't work the Compressor just keeps on going forever!!!!!
When the pressure switch is correctly connected and using the sample code, it will not shut the compressor off until the high side pressure reaches about 125 psi. It is possible that you have a leak if your system cannot reach 125 psi. That leak can come from a badly cut pneumatic tubing, loose fittings, a improperly connected valve, a defective pressure vent valve or from an uncalibrated pressure relief valve on the compressor. Soapy water wiped at each pneumatic joint will quickly find a leak.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
Reply With Quote
  #5   Spotlight this post!  
Unread 01-02-2011, 12:30
aya94 aya94 is offline
Registered User
no team
 
Join Date: Jan 2010
Location: ISRAEL
Posts: 17
aya94 is an unknown quantity at this point
Re: pressureswitch problem

We did try to wipe the tubes with soapy water and we couldn't find any leak , and we also changed the regulator and still we are having the same problem!! should we change the entire Pneumatic system ???
Reply With Quote
  #6   Spotlight this post!  
Unread 01-02-2011, 12:42
EricH's Avatar
EricH EricH is offline
New year, new team
FRC #1197 (Torbots)
Team Role: Engineer
 
Join Date: Jan 2005
Rookie Year: 2003
Location: SoCal
Posts: 19,813
EricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond repute
Re: pressureswitch problem

Does the robot hiss when the pneumatics are running? If so, follow the sound to where the leak is.
__________________
Past teams:
2003-2007: FRC0330 BeachBots
2008: FRC1135 Shmoebotics
2012: FRC4046 Schroedinger's Dragons

"Rockets are tricky..."--Elon Musk

Reply With Quote
  #7   Spotlight this post!  
Unread 01-02-2011, 12:47
aya94 aya94 is offline
Registered User
no team
 
Join Date: Jan 2010
Location: ISRAEL
Posts: 17
aya94 is an unknown quantity at this point
Re: pressureswitch problem

Quote:
Originally Posted by Mark McLeod View Post
It certainly sounds like the pressure sensor is doing it's job correctly.

Check your regulator. It could be:
  • set to 90 psi (adjust the knob on it).
  • plumbed backwards (there is an arrow on the back and only the high pressure tube show be going in the port by the back of the arrow).
About adjusting the regulator how can we do that exactly???
Reply With Quote
  #8   Spotlight this post!  
Unread 01-02-2011, 12:48
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,792
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: pressureswitch problem

Aya,
Check the output ports of your solenoid valves and the output of the vent valve with the soapy water. Some times the valves leak. If you do not have the working pressure set, some valves will not "seat". Some of them require at least 30 psi to work right. If you are still having a hard time, try isolating runs and see if the pump works correctly. This is easily accomplished by bending tubing in half to close it off.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.

Last edited by Al Skierkiewicz : 01-02-2011 at 13:47.
Reply With Quote
  #9   Spotlight this post!  
Unread 01-02-2011, 13:09
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,835
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: pressureswitch problem

Quote:
Originally Posted by aya94 View Post
About adjusting the regulator how can we do that exactly???
The regulator has a large black knob that you twist to adjust the pressure setting. It needs to be pulled/pushed to unlock it, or there may be a locking ring that needs to be pulled out to make adjustments, then pushed back in to lock the setting.

Adjust it while the pressure is flowing.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 01-02-2011 at 13:28.
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 08:17.

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