
Apple II Computer Info
#############################################################################
### FILE : interfacing
#############################################################################
### Created : Sunday, January 14, 1996 Modified: Sunday, January 14, 1996
### File Type: "TEXT" File Creator: "LMAN"
### File Size: 3616 bytes 3 KB
#############################################################################
Newsgroups: comp.sys.apple2
Path: news.uiowa.edu!chi-
news.cic.net!newsfeed.internetmci.com!news.msfc.nasa.gov!elroy.jpl.nasa.gov!usc!ne
ws.cerf.net!nntp-server.caltech.edu!news.ridgecrest.ca.us!owens!croton
Subject: versatile interface
X-Sender: croton@owens
X-Nntp-Posting-Host: owens
Content-Type: TEXT/PLAIN; charset=US-ASCII
Message-ID: <Pine.SUN.3.91.951025104138.7395A-100000@owens>
Organization: RidgeNet - SLIP/PPP Internet, Ridgecrest, CA. (619) 371-3501
Mime-Version: 1.0
Date: Wed, 25 Oct 1995 17:44:56 GMT
Lines: 71
GAME PORT, VERSATILE INTERFACE
A multitude of interface cards exist for the Apple II But, few
people realize that the Apple II game port can be a very
versatile interface.
A "paddle" input is internally connected to a trigger chip and
a .022 MFD capacitor. The paddle is a variable resistor and a
voltage source. In use, the capacitor is discharged, a timer
(counter) is reset, and then the capacitor is allowed to charge
by current passing through the external resistor while the
counter is incrementing. When the charge on the capacitor reaches
3.2 volts, the trigger circuit stops the counter. The number
stored in the counter at that time gives an indication of the
time required for the capacitor to charge up to the trigger
voltage, and that time relates the value of the external resistor
(paddle) as follows;
V = (input voltage)*(1-EXP(-t/R*C))
From experiment, we find that with a 5 volt input and a 120K
resistor, the counter will reach a value of 250. From this
fact, and using the above formula, we can plot the count as
a function of resistance
Knowing all of this, we can design interface circuits. Such
devices as photocells, photo resistors, thermisters, and other
things could be connected to the game port. With appropriate
software, we could use the Apple to monitor a variety of
real-world events, and to display the results.
For example, a local chemistry lab wanted to measure the "time
of solution" when a chemical was dropped into a test tube
Apple II Computer Technical Information : Apple II Family Hardware Info
ftp://ground.ecn.uiowa.edu/2/apple2/miscinfo/hardware : May 2001 : 208 of 572
Komentáře k této Příručce