Newsgroups: comp.robotics
Path: brunix!sgiblab!swrinde!ihnp4.ucsd.edu!library.ucla.edu!psgrain!charnel.ecst.csuchico.edu!rat!zeus!kilby.ELEE.CalPoly.EDU!rcharlet
From: rcharlet@kilby.ELEE.CalPoly.EDU (Richard Charlet)
Subject: analog port on 6811 miniboard??
Message-ID: <1994May01.221131.143232@zeus.aix.calpoly.edu>
Sender: news@zeus.calpoly.edu
Organization: Cal Poly State University, San Luis Obispo
X-Newsreader: TIN [version 1.2 PL2]
Date: Sun, 01 May 1994 22:11:31 GMT
Lines: 25

Howdy,
	I happen to be the proud owner of a miniboard. I am trying to 
build a "line following" 'bot with some photo resistors. I need to 
navagate around on a black grid painted on a white background. 

	I plan to use the analog port of the 6811, run the +5V through the
photoresistor and one other (of similar ohmage) and read the voltage
accross the photo resistor only, as my input to the analog port. The 
voltage accross the photo resistor should change as it detects white or 
black floor surface.

	My problem is that I do not know much about the 6811 (E2 for the 
miniboard) analog port. 

	My request is that some kind net-brethen would send some hints, 
advice, example 6811 code or pointers to further resources on how that 
confuesing analog port is configured, takes samples, and measures 
differences in value across time.

Thanks in advance -

Rick Charlet
rcharlet@gauss.calpoly.edu


