💾 Archived View for mirrors.apple2.org.za › archive › apple.cabi.net › FAQs.and.INFO › CPUandMore › … captured on 2023-05-24 at 23:45:28.

View Raw

More Information

⬅️ Previous capture (2023-01-29)

-=-=-=-=-=-=-

Path: news1.icaen!news.uiowa.edu!news.physics.uiowa.edu!math.ohio-state.edu!howland.erols.net!feed1.news.erols.com!phase2.worldnet.att.net!uunet!in1.uu.net!news.emi.com!usenet
From: drsmooth@relex.com (Edhel Iaur, Esq.)
Newsgroups: comp.sys.apple2
Subject: Re: Interfacing the Apple // to External devices
Date: Tue, 26 Nov 1996 01:04:07 GMT
Organization: US-A2WUG
Lines: 30
Message-ID: <57dfor$3l3@news.emi.com>
References: <3298A07A.2C7C@usfca.edu>
Reply-To: drsmooth@relex.com
NNTP-Posting-Host: slip12.relex.com
X-Newsreader: Forte Free Agent 1.0.82

Matt McDonald <mcdonaldm@usfca.edu> wrote:

>Has anone tried interfacing their Apple // to external devices, such as 
>motors for robotics experiments, and such? I am interested in attempting 
>this, and wondered if any others have any advice...

The first things to try is the following (use relays & external power
if 3.5V ain't enough):


Poke -16296,1  Clear game I/O AN0 output (OFF-3.5V HIGH)
Poke -16295,0  Set game I/O AN0 output (ON-.3V LOW)
Poke -16294,1  Clear game I/O AN1 output (OFF-3.5V HIGH)
Poke -16293,0  Set game I/O AN1 output (ON-.3V LOW)
Poke -16292,1  Clear game I/O AN2 output (OFF-3.5V HIGH)
Poke -16291,0  Set game I/O AN2 output (ON-.3V LOW)
Poke -16290,1  Clear game I/O AN3 output (OFF-3.5V HIGH)
Poke -16289,0  Set game I/O AN3 output (ON-.3V LOW)


These correspond to some pins on the internal 16-pin joystick socket
near the right-rear.  I forgot which ones; sorry.  If you're
interested, someone (or maybe I) can find out which pins go where.
--
| /      /         />___________________       +==Apple // Forever==+
|___  _____  M#M#M#||___________________---__  +-37th Wisest Wizard-+
| \ \  /     #M#M#M||___________________---    +- Edhel Iaur, Esq. -+
| / /  \_/         \>
http://www.wco.com/~3d5d1wsw/US-A2WUG/FOUNDING.MEMBERS/HOME.PAGES/EDHEL