View Single Post
  #2   Spotlight this post!  
Unread 12-02-2008, 00:18
Racer26 Racer26 is offline
Registered User
no team
Team Role: Alumni
 
Join Date: Apr 2003
Rookie Year: 2003
Location: Beaverton, ON
Posts: 2,229
Racer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond repute
Re: Hooking up a custom OI panel

Quote:
Originally Posted by Cullen Team 372 View Post
We are planning a panel of switches for our pneumatics, but might have a problem. I found the pinout guide at http://www.chiefdelphi.com/media/photos/26381 and it looks like there are only 4 digital outputs; we are needing eight. We could hook up a second serial connector, but I was wondering if the analog outputs could be used. I'll admit I am mostly a programming guy, so this may be an incredibly stupid question.

I know the analog outputs have a range of 0-255. If we hooked up our on off switch to them, would they return 0 or 255, depending on the switch position, or would they fry our OI?

I'm hoping I can be lazy without killing anything.

If you look at the IFI OI guide on www.ifirobotics.com, they show the full pinouts of those ports.

There are on ports 3 and 4 I believe, passthroughs of the 4 buttons on port 1/2. Thusly if you werent using the buttons on your p1 and p2 joys, you could use the passthroughs. I would just be a little worried about accidentally activating them from p1 (ie. driver accidentally clicks the trigger on the drive joy) Though that is easily remedied through a simple "modification" to the joy.