Go to Post You need a good BAD (*BAD = Ball Acquisition Device) - DonRotolo [more]
Home
Go Back   Chief Delphi > Technical > Electrical
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 12-03-2003, 13:26
DougHogg DougHogg is offline
Robot-A-Holic
FRC #0980 (The ThunderBots)
Team Role: Coach
 
Join Date: Jan 2002
Rookie Year: 2002
Location: S. California
Posts: 324
DougHogg has much to be proud ofDougHogg has much to be proud ofDougHogg has much to be proud ofDougHogg has much to be proud ofDougHogg has much to be proud ofDougHogg has much to be proud ofDougHogg has much to be proud ofDougHogg has much to be proud of
How to access other Digital inputs on OI?

Hi,

I would like to be able to add some digital inputs to the operator interface. I gather there are 2 bytes of digital inputs available. Right now we have 4 joy sticks attached to the 4 ports. That gives us 8 switches, which should use only 1 byte (8 bits), right? If so, what is the best way to connect more on-off switch digital inputs to the operator interface so they can be read using the remaining 8 bits available for digital input?

Thanks in advance for any help you can give me.
__________________
FIRST Team 980, The ThunderBots
2002: S. California Rookie All Stars
2004: S. California: Regional Champion,
Championship Event: Galileo 2nd seed,
IRI: Competition Winner, Cal Games: Competition Winner
2005: Arizona: 1st seed
Silicon Valley: Regional Champion (Thanks Teams 254 and 22)
S. California: Regional Runners Up (Thanks Teams 22 and 968)

Last edited by DougHogg : 12-03-2003 at 13:29.
  #2   Spotlight this post!  
Unread 12-03-2003, 13:45
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,811
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
Doug,
I f you check the OI docs from Innovation First you will find a discussion and drawing about using multiple joysticks. If you look carefully, you will note that the only way to get at the other inputs is to build an interface with joystick "D" connectors so that you can break out the digital lines separate from the analog. You then add another connector to pick up the digital inputs and pass them through to the OI. It easier to describe than accomplish, whew! Be careful for as you will notice, many inputs are duplicated on the four ports.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #3   Spotlight this post!  
Unread 12-03-2003, 13:57
Unsung FIRST Hero
Nate Smith Nate Smith is offline
FRC Key Volunteer Trainer
AKA: CrazyNate
no team
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Old Town, Maine
Posts: 1,029
Nate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to behold
Send a message via AIM to Nate Smith Send a message via Yahoo to Nate Smith
Here's a little something I worked up for my team...ignore the comments on the side, as they were specific to our control program, but this setup allows for all of the buttons and analog axes on the joysticks to still function, while breaking out the LEDs and digital inputs for use...
Attached Files
File Type: pdf oibreakoutdiagram.pdf (53.6 KB, 77 views)
__________________
Nate Smith
nsmith@smythsoft.com
12 seasons, 4 teams, and more time logged behind the scorekeeper's table than I care to remember...
returning for 2011? only time will tell...
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
Serial Port and Custom Circuit Ryan Meador Programming 40 06-02-2003 11:34
Joystick Y-Cables Jeff Waegelin Programming 3 05-02-2003 12:37
Digital inputs, bandwith, errors? Micah Brodsky Programming 7 20-01-2003 16:08
Analog vs Digital inputs? f22flyboy Programming 8 08-11-2002 22:18
making speed controller digital CharlieWilken Electrical 4 01-03-2002 20:15


All times are GMT -5. The time now is 15:38.

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