[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Kraft Joystick Question!
In article <322ee39d.323258278@news.concentric.net>, wernst@cris.com
(Warren "Llama" Ernst) writes:
>.... What did you do about the buttons? I built one of these years ago,
but
>I found that the Apple expects the buttons to be "push to close
>connection" and the PC expects teh buttons to be "push to open
>connection" (or vice versa, its been a while). Someone suggested an
>inverter, but I just went out and bought the correct modem.
>
>Won't this converter still give you button problems?
To PC Stick To Apple II
(15-pin female connector) (9-pin male connector)
[1] [4] and [5] --------------------------- [2] +5V
[2] --------------------------------------------[7] Button 0
[3] --------------------------------------------[5] X-axis
[6] --------------------------------------------[8] Y-axis
[7] --------------------------------------------[1] Button 1
[3] Ground
On the 9-pin Apple II side ...
add 680 Ohm resistor between [7] & [3]
add 680 Ohm resistor between [1] & [3]
add .01 uF cap between [5] & [3]*
optional: add 50K-100K trim pot in series with the cap
add .01 uF cap between [8] & [3]*
optional: add 50K-100K trim pot in series with the cap
The 680 Ohm resistors take care of the problem. Each resistor is
running from a Button to GND. The other end of each Button goes to +5V.
+5V
|
|
X Button Switch
|
|________ 'Button output to Apple'
|
Z
Z 680 Ohm resistor
Z
|
GND
680 Ohms holds a button's output to a logical 0. Pressing a button
sends +5V (logical 1) to the output.
Rubywand