home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
MBUG
/
MBUG061.ARC
/
DATLOG.WSF
< prev
next >
Wrap
Text File
|
1979-12-31
|
2KB
|
33 lines
TURN YOUR BEE INTO A DATA LOGGER. !!!
Fo≥á abou⌠á $2╡á yo⌡ caε makσ ß simplσ A/─ converte≥ tha⌠á plug≤á int∩á thσ ì
parralle∞á por⌠ oµ you≥ BE┼ anΣ usσ ß simplσ BASI├ programe t∩ reaΣ thσá ╕ ì
bi⌠ datß word≤ int∩ memor∙ anΣ displa∙ theφ oε thσ screen.
Yo⌡ caε theε modif∙ thσ programe t∩ d∩ sucΦ thing≤ a≤ soundinτ ß tonσ iµ ß ì
certaiεá valuσá i≤ exceedeΣ o≥ falleε shor⌠ oµ, timσ thσ onse⌠ oµ aεá even⌠ ì
froφ thσ star⌠ oµ Datß Logginτ« Yo⌡ caε als∩ d∩ calculation≤ oε thσ storeΣ ì
datß value≤. e.g« calculatσ averagσ value≤ o≥ areß unde≥ ß curve.
Thσá A/─á use≤á ßá Nationa∞ Semiconducto≥ 080┤ chi≡á iεá thσá freσá runninτ ì
configuration« (update≤ ever∙ 10░ micr∩ secs.⌐ I⌠ i≤ powereΣ froφ thσ BEE'≤ ì
╡á vol⌠ suppl∙ whicΦ i≤ availablσ a⌠ pin≤ 8(5v⌐ anΣ 1(Gnd.⌐ oµ thσ paralle∞ ì
port.
Thσá othe≥ hardwarσ requireΣ consist≤ oµ ß circui⌠ board¼á ß 1╡ wa∙á Cannoε ì
typσ connector¼ ß ca≡ anΣ ß resistor.
T∩á star⌠á thσ 080┤ readinτ jus⌠ removσ froφ thσ I/╧ por⌠ anΣ repluτ i⌠á iε ì
witΦ thσ BE┼ switcheΣ on. (o≥ momentaril∙ grounΣ pin≤ 3&5.)
Thσ BASI├ programe use≤ thσ IN(0⌐ commanΣ t∩ reaΣ thσ datß worΣ a⌠ thσ PI╧ ì
port. A≤á thi≤ i≤ useΣ iε ß loo≡ t∩ contro∞ thσ tota∞ n∩ oµ read≤á anΣá als∩ ì
allo≈á fo≥á scalinτ t∩ kee≡ thσ screeε displa∙ shorte≥ thaε 51▓á horizonta∞ ì
position≤ thσ timσ betweeε read≤ depend≤ oε thσ inpu⌠ condition≤ anΣ i≤á oµ ì
thσ orde≥ oµ 1/2░ T╧ 1/3░th oµ ß second.
T∩á havσá stric⌠ contro∞ oµ thσ timinτ ß machinσ languagσ routinσá mus⌠á bσ ì
useΣ (thi≤ als∩ allow≤ ß mucΦ smalle≥ timσ intervillσ t∩ bσ used.
Thσ Datß i≤ storeΣ a≤ ß subscripteΣ variablσ D(n)«