[comp.sys.apple] Apple II interfacing help needed

dar8808@cec1.wustl.edu (David A. Rochberg) (03/28/90)

	My chemistry teacher would like to build a digital geiger
counter, and I have agreed to help him.  We hope to build a device that
will change the output of the geiger tube into a TTL-compatible signal
(This shouldn't be too hard, but help would be appreciated) and then
measure the time between pulses with a 32.7 Khz clock (easy to build).
The part we need help with is sending the resulting two bytes of data
to the science department's Apple IIe.  Can anyone tell me how to do
this or give me references.  This is for a public high school, so there
is a shortage of money, but we are willing to spend a good deal of time
on the project.  Please e-mail responses, as I don't normally read this
group.
					Thanks in advance,
					 David Rochberg
					 david@david.wustl.edu
					 uunet!wuarchive!wubios!rock 				

qig@mentor.cc.purdue.edu (The Insane Hermit) (03/28/90)

	Ok I can see a few ideas I might have for you.  The easiest way to get
things into the apple is through the joystic port.  You can use the standard
one on the back of the case or else use the socket on the mother board though I
have no idea how to access that one.  Some good things about using the joyport
are you can read it easily from apple's basic bot prodos and splesoft versions.
If you need an A/D converter it is already built for you.  If you don't need 
the A/D converters then just use the pins for the joystick button.  These can 
be read by peekign the proper location in memory.  The A/D converters can be 
accessed through pdl() from apple soft if you use the main connector on the 
back.  If you wish more information mail me back with more details of what you
plan to do on the computer end.  I know nothing of geiger counters and such
stuff but bit's and bytes I can help you with possibly.


						The Insane Hermit
						The Zip-Man
						qig@mentor.cc.purdue.edu
						Chris Eleveld

p.s. I would have mailed this but it bounced.  I hope this is helpful.  And as I
	said if you need more details mail me.