Go to Post Thankfully, no magic smoke was released during the making of these photos. - SteveGarward [more]
Home
Go Back   Chief Delphi > Technical > Control System
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 11-01-2004, 20:06
Jack21 Jack21 is offline
Registered User
#0825
 
Join Date: Jan 2003
Location: Southwestern Virginia
Posts: 6
Jack21 is an unknown quantity at this point
Question Help! My 2003 Bot compressor won't shut off

Ok, I know the game for 2004 is on, but we need our old Bot operable for fund raising etc.

The Bot was working fine unti (I think) somebody tinkered with the default program. Now all systems still work, but the compressor won't shut off at 120 psi. I have swapped out the spike, the 3 wire cable, the fuses etc.. checked the cut off switch cable for breaks.( repaired this cable with almost all broken strands at connector end of cable). When pressure hits 120 psi the switch shows the circuit opens.( when checked with an ohm meter at the connector that attaches to the Robot controller).
Now I'm not even sure where the cut off switch is supposed to be connected to the Robot controller. What pins should I be connected to on the controller. any other help would sure be appreciated. Hadn't counted on wasting time on this old Bot when we need to devote energy to this years machine.
  #2   Spotlight this post!  
Unread 11-01-2004, 20:09
Rickertsen2 Rickertsen2 is offline
Umm Errr...
None #1139 (Chamblee Gear Grinders)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2002
Location: ATL
Posts: 1,421
Rickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant future
Send a message via AIM to Rickertsen2 Send a message via Yahoo to Rickertsen2
Re: Help! My 2003 Bot compressor won't shut off

Quote:
Originally Posted by Jack21
Ok, I know the game for 2004 is on, but we need our old Bot operable for fund raising etc.

The Bot was working fine unti (I think) somebody tinkered with the default program. Now all systems still work, but the compressor won't shut off at 120 psi. I have swapped out the spike, the 3 wire cable, the fuses etc.. checked the cut off switch cable for breaks.( repaired this cable with almost all broken strands at connector end of cable). When pressure hits 120 psi the switch shows the circuit opens.( when checked with an ohm meter at the connector that attaches to the Robot controller).
Now I'm not even sure where the cut off switch is supposed to be connected to the Robot controller. What pins should I be connected to on the controller. any other help would sure be appreciated. Hadn't counted on wasting time on this old Bot when we need to devote energy to this years machine.
Well since the code is prolly the problem, could you post that, along with which inputs the pressure switch is connected to and which output the compressor is hooked to.
__________________
1139 Alumni
  #3   Spotlight this post!  
Unread 11-01-2004, 20:33
Jack21 Jack21 is offline
Registered User
#0825
 
Join Date: Jan 2003
Location: Southwestern Virginia
Posts: 6
Jack21 is an unknown quantity at this point
Talking Re: Help! My 2003 Bot compressor won't shut off

Quote:
Originally Posted by Rickertsen2
Well since the code is prolly the problem, could you post that, along with which inputs the pressure switch is connected to and which output the compressor is hooked to.
Ok, I'm speaking from memory here. but the out put cable is connected to the #3 set of pins. the input pins are connected to the top row of pins at position 2 and 3.

Is there a way to download the default code from the net directly to the Bots program port.
thanks, Jack
  #4   Spotlight this post!  
Unread 11-01-2004, 20:13
Noah's Avatar
Noah Noah is offline
Code Monkey
#0861 (The Gondobots)
Team Role: Programmer
 
Join Date: Apr 2002
Location: Venice, California
Posts: 139
Noah has a spectacular aura aboutNoah has a spectacular aura about
Send a message via AIM to Noah
Re: Help! My 2003 Bot compressor won't shut off

Quote:
Originally Posted by Jack21
Now I'm not even sure where the cut off switch is supposed to be connected to the Robot controller. What pins should I be connected to on the controller.
well, it depends on your code. This might help:
Code:
rc_sw1		VAR rc_swA.bit0		'Pin 1
rc_sw2		VAR rc_swA.bit1		'Pin 2
rc_sw3		VAR rc_swA.bit2		'Pin 15
rc_sw4		VAR rc_swA.bit3		'Pin 16
rc_sw5		VAR rc_swA.bit4		'Pin 4
rc_sw6		VAR rc_swA.bit5		'Pin 5
rc_sw7		VAR rc_swA.bit6		'Pin 18
rc_sw8		VAR rc_swA.bit7		'Pin 19
rc_sw9		VAR rc_swB.bit0		'Pin 7
rc_sw10		VAR rc_swB.bit1		'Pin 8
rc_sw11		VAR rc_swB.bit2		'Pin 21
rc_sw12		VAR rc_swB.bit3		'Pin 22
rc_sw13		VAR rc_swB.bit4		'Pin 10
rc_sw14		VAR rc_swB.bit5		'Pin 11
rc_sw15		VAR rc_swB.bit6		'Pin 24
rc_sw16		VAR rc_swB.bit7		'Pin 25
All other pins are ground.

If you can post the code that controls the compressor, I can tell you how to fix it if you know which pin you are plugged into now. (You also have to give me the alias deifinitions of any aliases used in the code)
__________________
"It's broken? NOOAAHH!!! This is your doing, isn't it!"

"We can fix it in the software!"
"It's a BROKEN GEAR!"
  #5   Spotlight this post!  
Unread 11-01-2004, 21:02
Jack21 Jack21 is offline
Registered User
#0825
 
Join Date: Jan 2003
Location: Southwestern Virginia
Posts: 6
Jack21 is an unknown quantity at this point
Unhappy Re: Help! My 2003 Bot compressor won't shut off

Quote:
Originally Posted by Noah
well, it depends on your code. This might help:
Code:
rc_sw1		VAR rc_swA.bit0		'Pin 1
rc_sw2		VAR rc_swA.bit1		'Pin 2
rc_sw3		VAR rc_swA.bit2		'Pin 15
rc_sw4		VAR rc_swA.bit3		'Pin 16
rc_sw5		VAR rc_swA.bit4		'Pin 4
rc_sw6		VAR rc_swA.bit5		'Pin 5
rc_sw7		VAR rc_swA.bit6		'Pin 18
rc_sw8		VAR rc_swA.bit7		'Pin 19
rc_sw9		VAR rc_swB.bit0		'Pin 7
rc_sw10		VAR rc_swB.bit1		'Pin 8
rc_sw11		VAR rc_swB.bit2		'Pin 21
rc_sw12		VAR rc_swB.bit3		'Pin 22
rc_sw13		VAR rc_swB.bit4		'Pin 10
rc_sw14		VAR rc_swB.bit5		'Pin 11
rc_sw15		VAR rc_swB.bit6		'Pin 24
rc_sw16		VAR rc_swB.bit7		'Pin 25
All other pins are ground.

If you can post the code that controls the compressor, I can tell you how to fix it if you know which pin you are plugged into now. (You also have to give me the alias deifinitions of any aliases used in the code)

Well... this is like a foreign language to me.. I have no idea what code is in the controller. I know the cut off switch is wired to the top row of pins 2and on the digital input and the 3 wire cable is attached to the #3 set of pins from on the relay outputs. Is there a way to connect this thing to the computer and reset the default code?
appreciate you help.
  #6   Spotlight this post!  
Unread 11-01-2004, 21:08
Bduggan04's Avatar
Bduggan04 Bduggan04 is offline
I bent my wookie...
AKA: Bryan Duggan
#0027 (Team Rush)
Team Role: College Student
 
Join Date: Mar 2002
Location: Clarkston, MI
Posts: 290
Bduggan04 will become famous soon enoughBduggan04 will become famous soon enough
Re: Help! My 2003 Bot compressor won't shut off

Although it is not the most elegant solution, you can still run without the shutoff for presentations. If you can't get it fixed before a presentation, the overload valve should keep the pressure below 135psi. Note: you can not do this in the competion and should really try to fix it, but hey, if your team needs money...
  #7   Spotlight this post!  
Unread 11-01-2004, 21:49
RoboCoder RoboCoder is offline
Registered User
#1002 (Circuit Runner)
 
Join Date: Jan 2003
Location: Wheeler High School, Marietta Ga
Posts: 65
RoboCoder is on a distinguished road
Send a message via AIM to RoboCoder Send a message via Yahoo to RoboCoder
Re: Help! My 2003 Bot compressor won't shut off

since you're talking about last year's bot, I am assuming you are using last year's control system, and last years programming language (PBASIC). if this is the case, then add these lines to your code, just before the serout command:

select rc_sw2
case 1
relay3_fwd = 1
relay3_rev = 0
case 0
relay3_fwd = 0
relay3_rev = 1
endselect


this is assuming that the pressure switch is normally closed (when 120 psi has NOT been reached). If the compressor doesnt turn on at all, swap the lines "case 1" and "case 0". hope this helps!
__________________
You might be an Engineering Major....

if you'll assume that a "horse" is a "sphere" in order to make the math easier

if you know vector calculus but you cant remember how to do long division

if it is sunny and 70 degrees outside, and you are working on a computer

Last edited by RoboCoder : 11-01-2004 at 21:52.
  #8   Spotlight this post!  
Unread 10-02-2004, 22:31
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,112
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: Help! My 2003 Bot compressor won't shut off

Quote:
Originally Posted by RoboCoder
Code:
select rc_sw2
  case 1
    relay3_fwd = 1
    relay3_rev = 0
  case 0
    relay3_fwd = 0
    relay3_rev = 1
endselect
this is assuming that the pressure switch is normally closed (when 120 psi has NOT been reached). If the compressor doesnt turn on at all, swap the lines "case 1" and "case 0". hope this helps!
I don't think applying reverse polarity to a compressor will shut it off. The last line before the endselect should probably say relay3_rev = 0, setting both wires to the compressor to ground.
  #9   Spotlight this post!  
Unread 11-02-2004, 12:24
Greg McCoy's Avatar
Greg McCoy Greg McCoy is offline
boiler up!
FRC #3940 (CyberTooth)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 2002
Location: Kokomo, IN
Posts: 484
Greg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond repute
Send a message via AIM to Greg McCoy
Re: Help! My 2003 Bot compressor won't shut off

Quote:
Originally Posted by Alan Anderson
I don't think applying reverse polarity to a compressor will shut it off. The last line before the endselect should probably say relay3_rev = 0, setting both wires to the compressor to ground.
Yeah, I believe this is your problem. You want the output of the spike to be zero, rather than -12 volts
  #10   Spotlight this post!  
Unread 10-02-2004, 20:03
Greg's Avatar
Greg Greg is offline
Registered User
FRC #1075 (Sinclair Sprockets)
Team Role: College Student
 
Join Date: Nov 2002
Rookie Year: 2003
Location: Whitby, Ontario, Canada
Posts: 108
Greg is on a distinguished road
Send a message via ICQ to Greg Send a message via MSN to Greg
Re: Help! My 2003 Bot compressor won't shut off

If you really have no idea what pins the pressure switch was connected to, and you dont have access to the source code from last year, all you have to do is remove the spike, and wire the compressor directly to the fuse through the pressure switch. While illegal at a competition, this will most definitely work. In fact, we showed up to a regional like this last year and had to change it to pass inspection (we didnt know this was illegal).
  #11   Spotlight this post!  
Unread 10-02-2004, 20:14
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,557
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: Help! My 2003 Bot compressor won't shut off

Quote:
Originally Posted by Greg
If you really have no idea what pins the pressure switch was connected to, and you dont have access to the source code from last year, all you have to do is remove the spike, and wire the compressor directly to the fuse through the pressure switch. While illegal at a competition, this will most definitely work. In fact, we showed up to a regional like this last year and had to change it to pass inspection (we didnt know this was illegal).
Do you understand why it is illegal or just that it is?

The Switch is rated for .5 amps (IIRC) while the pump can draw 10 amps. You may get away with it for a while, but it certainly isn't a good practice.
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
The Science Channel to broadcast FIRST documentary Andy Baker General Forum 49 01-03-2004 14:03
The Autodesk Design Awards 2003 – Call for Entries Brandon Martus 3D Animation and Competition 1 26-12-2003 18:40
Image Discuss: Rookie Team 1108 w/ 2003 Bot HYO CD47-Bot Robot Showcase 2 07-04-2003 23:37
Rules on making spare parts fyi DougHogg General Forum 0 02-04-2003 16:18
pic: RAGE Bot 2003 in action CD47-Bot Extra Discussion 8 30-03-2003 00:29


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

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