home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CP/M
/
CPM_CDROM.iso
/
mbug
/
mbug061.arc
/
DATLOG1.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├ programmσ t∩ reaΣ thσá ╕ ì
bi⌠ datß word≤ int∩ memor∙ anΣ displa∙ theφ oε thσ screen.
Yo⌡ caε theε modif∙ thσ programmσ 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⌠ boarΣ ¼á ß 1╡ wa∙ Cannoε ì
typσ connecto≥ ,ß cap« anΣ ß resistor.
T∩á star⌠á thσ 080┤ readinτ jus⌠ removσ froφ thσ I/╧ por⌠ andrepluτá i⌠á iε ì
witΦ thσ BE┼ switcheΣ on.(o≥ momentaril∙ grounΣ pin≤ 3&5).
Thσ BASI├ programmσ 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)«