Go to Post Equally possible is that we're just providing some lunch-break entertainment for the people in the GDC. - wasayanwer97 [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
  #16   Spotlight this post!  
Unread 25-02-2002, 01:11
kmcclary's Avatar
kmcclary kmcclary is offline
Founder 830/1015;Mentor 66/470/1502
FRC #0470 (Alpha Omega Robotics)
Team Role: Engineer
 
Join Date: Aug 2001
Rookie Year: 1994
Location: Ann Arbor, MI
Posts: 491
kmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond repute
Quote:
Originally posted by CaptainPlaid
The auto/off/on option is a very good one. We have used it the past two years and it is very useful. [...] Use a momentary pushbutton for the On function. This is the code I use for the OI pump control: [...]
Using a momentary switch is an excellent point, and probably a good idea. It would be good to point out that the "override code" goes AFTER the normal pump handling code in the program (and before the SEROUT command), so it IS an override...

Quote:
Check out our control system here.
VERY pretty! BTW... What is the "glasses" jack all about on your control panel??? Do you have some VR thing going???

We made our case out of painted, sanded 1/2" plywood, with a replaceable top panel of aluminum. VERY quick to make. This allows us to swap out the top panel quickly if a revision is made.

The footprint is identical to the footprint of a pair of CH Joysticks. Our top panel is EXACTLY 11" long, and less than 8.5" wide. This allows us to use DTP (Desk Top Publishing) to print a NICE paper legend sheet with any printer (in landscape mode) that also can be changed quickly. It is sandwiched in a standard plastic single sheet protector available in any office supply, and is held in alignment on the top panel with the same screws that hold the panel onto to the box.

I see you're using push/pull pop-latch connectors to open your panel. The bottom of ours is simply open, with L-brackets facing inwards. It is held to our main "shelf" control board via Velcro. This allows us to simply "grab and pull" the box open in less than a second for access without hauling out a screwdriver.

BTW, this year, our custom Aux Box is our "Weapons Officer's" Station, and is intended to contain all "exotic" controls and monitor LEDs. For simplicity, our Driver's Station is just the pair of CH Flightsticks, with all auxilary functions and adjustments mapped onto the various buttons and thumbwheels. However, since the Aux box's VELCRO footprint matches the joystick pair's Velco EXACTLY, if we ever desire to do something strange for the Driver's Station, we simply replicate another Aux Box, and instrument it differently.

This creates our Standard OI Board, that won't change from year to year. Although one Station has room for *3* joystick equivalents, we also have a "Mini-Aux" box designed with the footprint of ONE joystick, in case we ever want to do a "mixed" control station of one joystick and one Mini-Aux box, or a Mini-Aux box sandwiched between a pair of CH joysticks.

- Keith McClary, Advisor, Huron High 830 Rat Pack
__________________
Keith McClary - Organizer/Mentor/Sponsor - Ann Arbor MI area FIRST teams
ACTI - Automation Computer Technologies, Inc. (Sponsoring FIRST teams since 2001!)
MI Robot Club (Trainer) / GO-Tech Maker's Club / RepRap-Michigan) / SEMI CNC Club
"Certifiably Insane": Started FIVE FRC teams & many robot clubs (so far)!
2002: 830 "Rat Pack" | 2003-5;14: 1015;1076 "Pi Hi Samurai" | 2005-6: 1549 "Washtenuts"/"Fire Traxx"
2005-(on): 1502 "Technical Difficulties" | 2006-(on): FIRST Volunteer!
2009-(on): 470 "Alpha Omega" | WAFL | Sponsor & "Floating Engineer" for MI Dist 13 (Washtenaw Cnty)
2011: 3638 "Tigertrons" | 2013-(on): 4395 "ViBots" | 2014-(on) 66 "Grizzlies"
"Home" Teams: 66, 470, 1076, 1502, 4395
Local FIRST alumni at or coming to Ann Arbor (UM/EMU/WCC/Cleary)?
...We Want YOU as a Mentor! Please email me for info!
Support CDF Reputation - If a posting helped, thank 'em with rep points!
"It must be FRC build season when your spouse and children become 'Action Items 8 & 9'..."
  #17   Spotlight this post!  
Unread 25-02-2002, 06:57
Joseph F Joseph F is offline
Registered User
#0506 (Steel Friars)
 
Join Date: Jan 2002
Location: New York
Posts: 59
Joseph F is an unknown quantity at this point
Send a message via AIM to Joseph F
Quote:
Have your Electronics teacher check your work. If HE (or SHE) can't tell a good from a bad soldering joint, you've got OTHER problems at your school...
electronics teacher? I wish we had one of those! A tech teacher would be nice to... maybe even a shop class. Closest we have is physics classes.

Quote:
What I'm talking protecting against in a program are LOGICAL errors. For example, if a timer variable is not checked correctly, it wraps around (overflow/underflow) forever and therefore never switches things to the next state.
That is something I took into concideration. I posted my program earlier in the thread if you care to look at it. Notice it uses a word, but doesn't even pass 1000. When the counter starts running once it passes 900 (i think thats what i have it at currently) the compressor turns on and as long as the compressor is on it resets the value to 910 every time it goes through the program. That way if for some odd reason the timer jumped unless it jumped above 65536 from below 900 everything should run fine.

Quote:
You'd have to break the chassis apart (or go at it with diagonal cutters in the cranny of some L-channel from the INSIDE of the robot) to get at some of our wiring
Given the shape of our robot our wires aren't as protected as we would like. Most of them are fairly safe and would take quite a stretch to get at, but a few (like the one for the airtanks) are a bit closer to danger than we would like. If we are underweight we may add some sort of protection at the competition.

Quote:
What turns it off? Only time, or does it go back across the high pressure setting then run the clock again? BTW, watch out for the logical possibility of the pump trying to switch on from your override, then off because the high pressure switch has not responded yet due to lags and thinks it is still "at pressure now", then back on again once the pressure switch responds a fraction of a second later
It's turned off when the pressure switch is tripped, however unless I fire the pneumatics a second time it wont turn on again until the timer triggers it. The timer turns the pump on. The pressure switch turns it off. So at worst it should go on, then off right away and stay in the off state for a short period of time. Also in your previous post... Didn't cases 1 and 3 have this on, off, on problem? The "oscillating" around either the high or low switch.

Quote:
If we're allowed to do it NOW (are we?),
I didn't mean have a switch wired up ready to be tossed on. I meant set up the switch controls in a copy of the program I have saved so that i'll know exactly what I need to do when at the competition.


Quote:
You've used up ALL FOUR PORTS??? WOW! You must be controlling an OCTOPUS
What I meant was we've used up all the switches we currently have, and soldering wires in the pit is not something i'm looking forward to. We used the joysticks on ports 1 and 3. The tank drive takes away some of port 2's controls and our port 4 controls also take over the aux on port 1. We could add stuff to port 2 if we really needed... It just doesn't seem quite neccessary yet.

Quote:
As I said, the program is already written for you in Team Update #5. It is only a TWO LINE program! (Plus a couple of aliases...) Just drop it in now, assign the right input bits for it, and comment it out for the time being so it's ready to roll if other things don't work out.
Good tip. I'll be sure to do that.
__________________
One Team, One Bot, One Fleet of Ambulances!
  #18   Spotlight this post!  
Unread 25-02-2002, 12:59
CaptainPlaid's Avatar
CaptainPlaid CaptainPlaid is offline
Registered User
#0314 (Megatron Oracles "Big MO")
 
Join Date: Jan 2002
Location: Flint, MI
Posts: 60
CaptainPlaid is an unknown quantity at this point
Quote:
What is the "glasses" jack all about on your control panel??? Do you have some VR thing going???
Well, we all know that you have to wear safety glasses while you are driving (although personally I don't think saftey glasses would help if something made it through the plexiglass of the driver station). You might as well have somewhere to plug them in right? Come see Big MO at Cleveland, GLR, or Nats.


Your control system sounds nice but the description is quite confusing. Any pics? I like the modular idea. We have decided to keep all of our robots together though so we can make a new controller every year. Takes time but also allows for creativity.
__________________
I have not failed. I have just found 10,000 ways that won't work.
Thomas Edison
  #19   Spotlight this post!  
Unread 26-02-2002, 14:49
kmcclary's Avatar
kmcclary kmcclary is offline
Founder 830/1015;Mentor 66/470/1502
FRC #0470 (Alpha Omega Robotics)
Team Role: Engineer
 
Join Date: Aug 2001
Rookie Year: 1994
Location: Ann Arbor, MI
Posts: 491
kmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond repute
Quote:
Originally posted by CaptainPlaid
Well, we all know that you have to wear safety glasses while you are driving (although personally I don't think saftey glasses would help if something made it through the plexiglass of the driver station). You might as well have somewhere to plug them in right? Come see Big MO at Cleveland, GLR, or Nats.
What, is that just a mechanical "retaining wire" while operating, a "storage clip" for between rounds, or are you actually putting blinking LEDs on your glasses or some other active, wired thing? (IMO "blinky glasses" would be interesting, but I think that violates the "no special clothing" rule, and could even become an entanglement hazard around the Operators Station!)

BTW... What is your team NUMBER, and your True Name, "CaptainPlaid"??? The Big Mo page cited doesn't have your team number, nor a link to your main site, and you haven't mentioned your real name in this thread.

Quote:
Your control system sounds nice but the description is quite confusing. Any pics? I like the modular idea.
We'll be at Buckeye (Cleveland OH) and GLR (Ypsilanti MI). I don't have any pics yet, but some other members do. However, I don't think they'll be up before Cleveland, so just stop by and see 830 (Rat Pack) at the contest.

Let me take one more crack at describing the box... If this doesn't suffice, I'll have to work on a REAL document, with pictures.

First, our main board is simply a 4' x 12" piece of 1/2" wooden shelving, used in bar and hook shelves. Layout is VERY similar to the boards used in the CDI contest, with the OI in the middle, and two "user stations", one on either side:
http://www.chiefdelphi.com/pics/bin/...or_control.jpg
We were in the CDI, and liked the layout, so we did something similar for this, our first contest. The joysticks are held down with 1"x1" velcro squares, to allow for quick R&R or something else to be placed there. We used the velcro cable ties from the kit, not wiring channel, but the LAYOUT is similar.

We set up a Driver's station with a pair of joysticks, as is shown in the picture, but replace the OTHER station with an Aux Box that drops into the same space.

The basic Aux Box is made with 5 pieces of 1/2" plywood, held together with drywall screws, not glue, to allow disassembly if needed. It has four sides and a top, with the bottom open. OUTSIDE dimensions are around 13"w x 6"d x 4"h, (hack off ~.5-1" for INSIDE dimensions) which by design turns out to be EXACTLY the footprint of two CH Joysticks side by side. By picking these dimensions, the velcro mounting squares are in the same place, and we can switch the main board's configuration to and from combinations of boxes and sticks at will.

The bottom of the box has two 5" sections of 1" L-channel, attached on the inside edges of the sides, with the bottom edges facing INWARDS. This provides a smooth surface underneath the box to place Velcro squares to hold it down to our main board, without marring the appearance of the box.

Wiring: The box has a hole drilled in the side for the cable with the DB connector on it. It is long enough to plug into ANY of the four port connectors when placed on either side of the OI, and has enough conductors in it to COMPLETELY wire the connector. On the inside of the box, an overhand knot in the cable acts as a strain relief, then the cable runs through cable tiedowns to a set of labeled barrier strips screwed on one of the long inside surfaces. This gives us a FULL set of SCREW terminals, with ALL of the signals available (4 pots, 5 switches), along with two grounds, and +5V. If we ever wish to, this design also allows us to add in and power a "custom box" from the barrier strip.

The top of the box has a cutout in it of about 10" x 4.75". Onto this, we drop a 11" x 5.25" aluminum "main panel". That size gives us 1/2" around on all edges to screw it on with 3 sheet metal screws on each long edge. By picking a panel size within 11" x 8.5", it allows us to use *any* DTP software to make up a custom label on standard paper. One copy is sacrificed as a Drill Guide, then a fresh one is sandwiched inside a standard Page Protector sheet, trimmed, and held on with the same screws that hold the panel down.

THIS is where the design stops before a specific contest.

**NOW** your control panel is simply a "DROP IN"! For a specific contest, Electrical builds the generic board and box RIGHT AWAY during week ONE, and a few blank, FLAT panels. When you're ready a couple of weeks later, punch the panel for whatever controls you've decided upon. No complex sheet metal work required, and NO soldering. If you screw up, grab another blank panel. Square holes for rocker switches are easily made with a Dremel and a 409 or 420 cutter disk. Your "switch bag" contains an assortment of switches, 100K pots, and LEDs with premade pigtails with ring tongue lugs on them. Edit and print your new label, punch your holes, sandwich a label sheet to it and screw it onto the box, drop in the controls, screw them onto whatever signals you wish, and you're done with customizing the hardware within a day or so!

BTW... Even if you decide to "wear" some of your controls (i.e. a backpack "marionette" controller), the Aux Box provides you a place for your monitor LEDs, the OTHER switches and pots, and a custom "breakaway" jack for the backpack so you won't have to worry about strain relief damage of the OI from an overexcited operator that moves around too much.

If you need to change something later at the contest, pull out your drill or Dremel, punch the new hole, drop in the new control or LED, screw it onto an unused analog or digital bit, use a magic marker on your top panel, and go tweak the program to use it.

The prewired barrier strip means **NO** soldering is required at the contest site for control system hardware changes!

We do also have a Mini-Box designed, that replaces the footprint of ONE joystick, with a Piggyback Feedthrough harness that doesn't take up a port connector. (However, that wasn't needed for THIS contest.) Each station COULD contain two joysticks and a FULL Aux Box, but we envision station configurations of 1-2 joysticks, and/or 1 full or mini Aux Box, with the most common being: 2 joysticks, 1 joy + 1 mini/full box, 2 joysticks + 1 mini BETWEEN them, or 1 full box.

For THIS contest, the Driver's Station became simply a pair of CH Joysticks, with all auxilary controls mapped onto buttons and thumbwheels. The "Weapon's Officer's Station" has a single custom full sized Aux Box and all the strange control hardware.

I hope this explains things better. OOC, would there be any interest in a formal document on this modular OI board design, with images, for a white paper area somewhere?

Quote:
We have decided to keep all of our robots together though so we can make a new controller every year. Takes time but also allows for creativity.
We felt that standardizing on a "generic modular control system design" of this style still keeps flexibility and creativity high, but eliminates a LOT of the unknowns in our build. NOW, we can get to work FASTER next time, and the electical group can have almost 90% of the board DONE before we have to know ANYTHING about our actual control needs.

For the same reason, we're also starting design on a "standard RC control tray/board module" for next year. It'll contain the RC, Spikes, and Victors, (and possibly the minibreaker panel as well), and simply bolt onto our frame. THIS year, IMHO wiring was a real nightmare. We were forced into SEVERAL reworks of frame components when we found what we hadn't ENOUGH good space reserved for electrical stuff, and some people plumb forgot about connector clearances. <DOH!>

BTW, although we made an Electrical Simulator Board to test out things via umbilical, when we got to putting the RC onto its FINAL position on the machine, we found that the RC's RADIO connector was damaged and wouldn't work! With the shipping delays, we didn't get a working RC back from Innovation First repair until a few HOURS before shipping on 2/19...

That is why **NEXT** time, we're going to just allocate a suspension bolt-on point on the machine somewhere for a simple, prewired RC "module" board, to make sure it is functional and completed in its "robot form" MUCH sooner!

BTW... Our DRIVETRAIN this year is modular, too! Now THAT worked out well!

- Keith McClary, Advisor, Ann Arbor (MI) Huron High Team 830 "Rat Pack"
__________________
Keith McClary - Organizer/Mentor/Sponsor - Ann Arbor MI area FIRST teams
ACTI - Automation Computer Technologies, Inc. (Sponsoring FIRST teams since 2001!)
MI Robot Club (Trainer) / GO-Tech Maker's Club / RepRap-Michigan) / SEMI CNC Club
"Certifiably Insane": Started FIVE FRC teams & many robot clubs (so far)!
2002: 830 "Rat Pack" | 2003-5;14: 1015;1076 "Pi Hi Samurai" | 2005-6: 1549 "Washtenuts"/"Fire Traxx"
2005-(on): 1502 "Technical Difficulties" | 2006-(on): FIRST Volunteer!
2009-(on): 470 "Alpha Omega" | WAFL | Sponsor & "Floating Engineer" for MI Dist 13 (Washtenaw Cnty)
2011: 3638 "Tigertrons" | 2013-(on): 4395 "ViBots" | 2014-(on) 66 "Grizzlies"
"Home" Teams: 66, 470, 1076, 1502, 4395
Local FIRST alumni at or coming to Ann Arbor (UM/EMU/WCC/Cleary)?
...We Want YOU as a Mentor! Please email me for info!
Support CDF Reputation - If a posting helped, thank 'em with rep points!
"It must be FRC build season when your spouse and children become 'Action Items 8 & 9'..."
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
Why can't you use 255 in PWM? Andrew Technical Discussion 4 29-05-2003 14:50
variable? manodrum Programming 11 01-04-2003 17:20
Dashboard programs and the char variable Ian W. Programming 13 26-06-2002 02:07
what teams have a variable transmissions? Greg Perkins Technical Discussion 4 06-03-2002 06:10
Pbasic argument question... Ghetto_Child Programming 10 18-02-2002 09:23


All times are GMT -5. The time now is 08:23.

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