Go to Post Practice field Practice bot Iteration = awesome sauce - Akash Rastogi [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-03-2006, 16:21
Ryan O's Avatar
Ryan O Ryan O is offline
FRC Eclipse Plug-in Developer
no team (FRC Eclipse)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Plaistow
Posts: 111
Ryan O is an unknown quantity at this point
Send a message via AIM to Ryan O
How does it work?

At BAE regional, there was one team with a controller that had multiple dials, button, ect. They were the ones that won the award. I was wondering how they wired and programed it... I know they probally made it connect to a joystick port, with the dials corresponding to the y and x axises, but how would you do that? I thought it was so awesome that I would love to know how it worked.
  #2   Spotlight this post!  
Unread 11-03-2006, 16:38
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: 6,979
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: How does it work?

Quote:
Originally Posted by Ryan O
At BAE regional, there was one team with a controller that had multiple dials, button, ect. They were the ones that won the award. I was wondering how they wired and programed it... I know they probally made it connect to a joystick port, with the dials corresponding to the y and x axises, but how would you do that? I thought it was so awesome that I would love to know how it worked.
Depends on what you want it to do. But, each joystick port has three Analog inputs and four Digital inputs. See the schematic.

The digital inputs are for switches that are on or off, like a Fire button. The robot controller sees these as having a 1 or 0 value, and can be programmed to do something with that info.

The Analog inputs can be used for variable position information (like a joystick's movement), or switches (but, only one can be closed at a time!). The variable info is usually input via a mechanical thing like a potentiometer (variable resistor). It MUST be a 100k Ohm Linear pot, no other value or type will work right. For switches, you'd wire them up like the thumb wheel port shown in the schematic. From the Robot Controllers view, these values vary from 0 to 255 or so, and you'd use that to control something on the robot.

The only limits are your imagination. Team 1676 has a control board with a lot of switches, as well as joysticks - see the photo.

Good luck,
Don
Attached Thumbnails
Click image for larger version

Name:	1676_CP.jpg
Views:	112
Size:	48.9 KB
ID:	4108  
__________________

I am N2IRZ - What's your callsign?
  #3   Spotlight this post!  
Unread 11-03-2006, 17:20
Rick TYler Rick TYler is offline
A VEX GUy WIth A STicky SHift KEy
VRC #0010 (Exothermic Robotics)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Redmond, Washington
Posts: 2,000
Rick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond repute
Re: How does it work?

I just posted a pic of our RIO's console here: http://www.chiefdelphi.com/media/photos/23545?. All of these controls were routed through Port 3 on the OI. I am especially pleased that students figured out all the pin-outs and wired the connecters all by themselves (they stayed up to 3am at Nathan's house doing it one night). I was awestruck that everything worked on the first try.

Sharp observers of controls will note the AUTON knob. It really has nothing to do with autonomous. It was meant for another function that was rendered excess to requirements by last-second mentoring. It's a long story.

Other sharp observers will note the LED clusters that are clearly too large for the 10 milliamps available. The big LED's are powered by four "D" cells, controlled by DPDT switches. One side of the switch is wired to the OI, the other just turns the indicator lights on. This was a student innovation to allow us to have big, bright lights without violating the rules about the OI driving high-current devices.

Oh, yeah. Copper really shows fingerprints...
Attached Thumbnails
Click image for larger version

Name:	Top Gun Controls Small.JPG
Views:	81
Size:	88.9 KB
ID:	4109  
__________________
Exothermic Robotics Club, Venturing Crew 2036
VRC 10A, 10B, 10D, 10Q, 10V, 10X, 10Z, and 575

Last edited by Rick TYler : 11-03-2006 at 17:22.
  #4   Spotlight this post!  
Unread 11-03-2006, 17:34
ECarlson's Avatar
ECarlson ECarlson is offline
Registered User
AKA: Eric Carlson
#0116 (Epsilon Delta)
Team Role: Engineer
 
Join Date: Feb 2002
Location: Herndon, VA
Posts: 140
ECarlson has a spectacular aura aboutECarlson has a spectacular aura about
Re: How does it work?

Our team (Team 116) used the boards from this thread to make it easier to connect switches and knobs to the OI.

Each joystick has 4 analog inputs, 4 digital inputs, and 4 other connections, which are either for LEDs or switches. All the joystick port wiring information is in the 2005 Reference Guide on the IFI web site OI page.
__________________
- Eric
www.InvisibleRobot.com Updated: August 24, 2008
Over 28,000 FRC & FTC Photos , Team 116 OI adapter board info
  #5   Spotlight this post!  
Unread 12-03-2006, 19:02
Ryan O's Avatar
Ryan O Ryan O is offline
FRC Eclipse Plug-in Developer
no team (FRC Eclipse)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Plaistow
Posts: 111
Ryan O is an unknown quantity at this point
Send a message via AIM to Ryan O
Re: How does it work?

Thanks for the reponses, they are all very helpful. By next year we should be able to do alot more because of the ability to specialize our controls. Thanks alot!
  #6   Spotlight this post!  
Unread 12-03-2006, 19:15
Unsung FIRST Hero
Greg Marra Greg Marra is offline
[automate(a) for a in tasks_to_do]
FRC #5507 (Robotic Eagles)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2005
Location: San Francisco, CA
Posts: 2,030
Greg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond repute
Re: How does it work?

If you want to get really fancy, you can really take the difficulty of controlling your robot away from your drivers.
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
What Artist Influence You? Koko Ed Chit-Chat 12 01-12-2006 11:33
speeding up the work on 3ds MAX (and then some) Nimmy 3D Animation and Competition 1 01-02-2006 14:57
Major CMUcam issues - LabView app won't work, very low-quality picture scottmso Programming 5 19-01-2006 17:51
Getting the Camera and Default Code to Work nukem Programming 5 18-01-2006 11:48
When to leave that first tech job? Morenoh149 Career 4 07-10-2005 00:40


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

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