Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   2001 (http://www.chiefdelphi.com/forums/forumdisplay.php?f=40)
-   -   PBASIC/control system question (http://www.chiefdelphi.com/forums/showthread.php?t=12600)

archiver 24-06-2002 00:33

PBASIC/control system question
 
Posted by Chris Casinghino at 2/9/2001 5:35 PM EST


Student on team #131, CHAOS, from Manchester Central High School and OSRAM Sylvania.



Hi everyone,

I have a problem. We are trying to make a box for one of the drivers using ports 3 and 4 of the operator interface. The problem is, there are not enough pins asigned to digital bits for what we want to do. I was wondering if anyone could tell me how I might be able to use a regular digital switch with one of the pins that is assigned to an analog input either by changing something in the programming or wiring the switch differently. Thanks!

--Chris Casinghino



archiver 24-06-2002 00:33

another way...
 
Posted by Joe Johnson at 2/9/2001 9:30 PM EST


Engineer on team #47, Chief Delphi, from Pontiac Central High School and Delphi Automotive Systems.


In Reply to: PBASIC/control system question
Posted by Chris Casinghino on 2/9/2001 5:35 PM EST:



You can do it easily with a resistor, but I don't think
it would be legal. Although... maybe FIRST would
allow you to use a 100K pot as a resistor. Basically,
you could have the switch either show no connection
(reading 00 I think or maybe 255) and then when the
switch is activated, the pot would read XX (e.g. 127,
if you have the pot in the middle). It is not stictly
by the book, so I would ask FIRST if it would be allowed.

An easier way would be to pull some of the digital
switch inputs that are available on ports 1 and 2 over
to the box so that you have those available as well.

All you have to do is make a Y cable that passes
through all the important signals to the joystick and
sends all the other signals you need over to your box.

Sound Okay?

Joe J.





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

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi