Home » Archimedes archive » Acorn User » AU 1998-04 A.adf » Regulars » RTR/!Hot/!Help
RTR/!Hot/!Help
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
Tape/disk: | Home » Archimedes archive » Acorn User » AU 1998-04 A.adf » Regulars |
Filename: | RTR/!Hot/!Help |
Read OK: | ✔ |
File size: | 06C1 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
Digital Thermometer Monitor V1.0 Copyright Mike Cook 1998 - Musbury Consultants - all rights reserved This application allows you to read the "RUN THE RISC" Thermometer on the IIC bus, and record the results in a text file. You need the hardware as described in the April. 98 issue of Acorn User. SENSORS In order to simplify the display the reading from only one sensor is displayed at any one time, the displayed sensor is chosen by using radio buttons. Underneath each of these buttons is a check box which tells the computer what sensors to read. This is automatically set up during the programme's loading sequence to all the sensors that are attached to the bus but you can disable or re-enable them at any time. If you try to enable a sensor that is not present you will get a warning box. RECORDING Before recording begins you must specify a path name by the usual drag and drop of an icon then you can click on the record button to log the readings. The first number recorded is the time of the reading in seconds, followed by a TAB, this is followed by TAB separated temperature readings. After the last reading there is a return character (ASCII &OA) to tell the spread sheet to go onto the next line. The reading rate can be set from the menu, to a maximum of one every 0.1 seconds. Before recording begins you must specify a path name by the usual drag and drop of an icon then you can click on the record button to log the readings. You can open up the readings with any text editor to check they are all right. If you have trouble tracking down this temperature sensor chip I can supply them:- �4.50 Inc VAT & P&P Cheques to:- Musbury Consultants 5 Helmshore Rd. Haslingden Rossendale Lancs. BB4 4BG
00000000 44 69 67 69 74 61 6c 20 54 68 65 72 6d 6f 6d 65 |Digital Thermome| 00000010 74 65 72 20 4d 6f 6e 69 74 6f 72 20 56 31 2e 30 |ter Monitor V1.0| 00000020 0a 43 6f 70 79 72 69 67 68 74 20 4d 69 6b 65 20 |.Copyright Mike | 00000030 43 6f 6f 6b 20 31 39 39 38 20 2d 20 4d 75 73 62 |Cook 1998 - Musb| 00000040 75 72 79 20 43 6f 6e 73 75 6c 74 61 6e 74 73 20 |ury Consultants | 00000050 2d 20 61 6c 6c 20 72 69 67 68 74 73 20 72 65 73 |- all rights res| 00000060 65 72 76 65 64 0a 0a 54 68 69 73 20 61 70 70 6c |erved..This appl| 00000070 69 63 61 74 69 6f 6e 20 61 6c 6c 6f 77 73 20 79 |ication allows y| 00000080 6f 75 20 74 6f 20 72 65 61 64 20 74 68 65 20 22 |ou to read the "| 00000090 52 55 4e 20 54 48 45 20 52 49 53 43 22 20 54 68 |RUN THE RISC" Th| 000000a0 65 72 6d 6f 6d 65 74 65 72 20 6f 6e 20 74 68 65 |ermometer on the| 000000b0 20 49 49 43 20 62 75 73 2c 0a 61 6e 64 20 72 65 | IIC bus,.and re| 000000c0 63 6f 72 64 20 74 68 65 20 72 65 73 75 6c 74 73 |cord the results| 000000d0 20 69 6e 20 61 20 74 65 78 74 20 66 69 6c 65 2e | in a text file.| 000000e0 0a 0a 59 6f 75 20 6e 65 65 64 20 74 68 65 20 68 |..You need the h| 000000f0 61 72 64 77 61 72 65 20 61 73 20 64 65 73 63 72 |ardware as descr| 00000100 69 62 65 64 20 69 6e 20 74 68 65 20 41 70 72 69 |ibed in the Apri| 00000110 6c 2e 20 39 38 20 69 73 73 75 65 20 6f 66 20 41 |l. 98 issue of A| 00000120 63 6f 72 6e 20 55 73 65 72 2e 0a 0a 53 45 4e 53 |corn User...SENS| 00000130 4f 52 53 0a 49 6e 20 6f 72 64 65 72 20 74 6f 20 |ORS.In order to | 00000140 73 69 6d 70 6c 69 66 79 20 74 68 65 20 64 69 73 |simplify the dis| 00000150 70 6c 61 79 20 74 68 65 20 72 65 61 64 69 6e 67 |play the reading| 00000160 20 66 72 6f 6d 20 6f 6e 6c 79 20 6f 6e 65 20 73 | from only one s| 00000170 65 6e 73 6f 72 20 69 73 20 64 69 73 70 6c 61 79 |ensor is display| 00000180 65 64 0a 61 74 20 61 6e 79 20 6f 6e 65 20 74 69 |ed.at any one ti| 00000190 6d 65 2c 20 74 68 65 20 64 69 73 70 6c 61 79 65 |me, the displaye| 000001a0 64 20 73 65 6e 73 6f 72 20 69 73 20 63 68 6f 73 |d sensor is chos| 000001b0 65 6e 20 62 79 20 75 73 69 6e 67 20 72 61 64 69 |en by using radi| 000001c0 6f 20 62 75 74 74 6f 6e 73 2e 0a 55 6e 64 65 72 |o buttons..Under| 000001d0 6e 65 61 74 68 20 65 61 63 68 20 6f 66 20 74 68 |neath each of th| 000001e0 65 73 65 20 62 75 74 74 6f 6e 73 20 69 73 20 61 |ese buttons is a| 000001f0 20 63 68 65 63 6b 20 62 6f 78 20 77 68 69 63 68 | check box which| 00000200 20 74 65 6c 6c 73 20 74 68 65 20 63 6f 6d 70 75 | tells the compu| 00000210 74 65 72 20 77 68 61 74 20 0a 73 65 6e 73 6f 72 |ter what .sensor| 00000220 73 20 74 6f 20 72 65 61 64 2e 20 54 68 69 73 20 |s to read. This | 00000230 69 73 20 61 75 74 6f 6d 61 74 69 63 61 6c 6c 79 |is automatically| 00000240 20 73 65 74 20 75 70 20 64 75 72 69 6e 67 20 74 | set up during t| 00000250 68 65 20 70 72 6f 67 72 61 6d 6d 65 27 73 20 6c |he programme's l| 00000260 6f 61 64 69 6e 67 20 73 65 71 75 65 6e 63 65 0a |oading sequence.| 00000270 74 6f 20 61 6c 6c 20 74 68 65 20 73 65 6e 73 6f |to all the senso| 00000280 72 73 20 74 68 61 74 20 61 72 65 20 61 74 74 61 |rs that are atta| 00000290 63 68 65 64 20 74 6f 20 74 68 65 20 62 75 73 20 |ched to the bus | 000002a0 62 75 74 20 79 6f 75 20 63 61 6e 20 64 69 73 61 |but you can disa| 000002b0 62 6c 65 20 6f 72 20 72 65 2d 65 6e 61 62 6c 65 |ble or re-enable| 000002c0 0a 74 68 65 6d 20 61 74 20 61 6e 79 20 74 69 6d |.them at any tim| 000002d0 65 2e 20 49 66 20 79 6f 75 20 74 72 79 20 74 6f |e. If you try to| 000002e0 20 65 6e 61 62 6c 65 20 61 20 73 65 6e 73 6f 72 | enable a sensor| 000002f0 20 74 68 61 74 20 69 73 20 6e 6f 74 20 70 72 65 | that is not pre| 00000300 73 65 6e 74 20 79 6f 75 20 77 69 6c 6c 20 67 65 |sent you will ge| 00000310 74 20 0a 61 20 77 61 72 6e 69 6e 67 20 62 6f 78 |t .a warning box| 00000320 2e 0a 0a 52 45 43 4f 52 44 49 4e 47 0a 42 65 66 |...RECORDING.Bef| 00000330 6f 72 65 20 72 65 63 6f 72 64 69 6e 67 20 62 65 |ore recording be| 00000340 67 69 6e 73 20 79 6f 75 20 6d 75 73 74 20 73 70 |gins you must sp| 00000350 65 63 69 66 79 20 61 20 70 61 74 68 20 6e 61 6d |ecify a path nam| 00000360 65 20 62 79 20 74 68 65 20 75 73 75 61 6c 20 64 |e by the usual d| 00000370 72 61 67 20 61 6e 64 20 64 72 6f 70 20 6f 66 0a |rag and drop of.| 00000380 61 6e 20 69 63 6f 6e 20 74 68 65 6e 20 79 6f 75 |an icon then you| 00000390 20 63 61 6e 20 63 6c 69 63 6b 20 6f 6e 20 74 68 | can click on th| 000003a0 65 20 72 65 63 6f 72 64 20 62 75 74 74 6f 6e 20 |e record button | 000003b0 74 6f 20 6c 6f 67 20 74 68 65 20 72 65 61 64 69 |to log the readi| 000003c0 6e 67 73 2e 0a 0a 54 68 65 20 66 69 72 73 74 20 |ngs...The first | 000003d0 6e 75 6d 62 65 72 20 72 65 63 6f 72 64 65 64 20 |number recorded | 000003e0 69 73 20 74 68 65 20 74 69 6d 65 20 6f 66 20 74 |is the time of t| 000003f0 68 65 20 72 65 61 64 69 6e 67 20 69 6e 20 73 65 |he reading in se| 00000400 63 6f 6e 64 73 2c 20 66 6f 6c 6c 6f 77 65 64 20 |conds, followed | 00000410 62 79 20 61 20 54 41 42 2c 0a 74 68 69 73 20 69 |by a TAB,.this i| 00000420 73 20 66 6f 6c 6c 6f 77 65 64 20 62 79 20 54 41 |s followed by TA| 00000430 42 20 73 65 70 61 72 61 74 65 64 20 74 65 6d 70 |B separated temp| 00000440 65 72 61 74 75 72 65 20 72 65 61 64 69 6e 67 73 |erature readings| 00000450 2e 20 41 66 74 65 72 20 74 68 65 20 6c 61 73 74 |. After the last| 00000460 20 72 65 61 64 69 6e 67 20 74 68 65 72 65 0a 69 | reading there.i| 00000470 73 20 61 20 72 65 74 75 72 6e 20 63 68 61 72 61 |s a return chara| 00000480 63 74 65 72 20 28 41 53 43 49 49 20 26 4f 41 29 |cter (ASCII &OA)| 00000490 20 74 6f 20 74 65 6c 6c 20 74 68 65 20 73 70 72 | to tell the spr| 000004a0 65 61 64 20 73 68 65 65 74 20 74 6f 20 67 6f 20 |ead sheet to go | 000004b0 6f 6e 74 6f 20 74 68 65 20 6e 65 78 74 20 6c 69 |onto the next li| 000004c0 6e 65 2e 20 0a 54 68 65 20 72 65 61 64 69 6e 67 |ne. .The reading| 000004d0 20 72 61 74 65 20 63 61 6e 20 62 65 20 73 65 74 | rate can be set| 000004e0 20 66 72 6f 6d 20 74 68 65 20 6d 65 6e 75 2c 20 | from the menu, | 000004f0 74 6f 20 61 20 6d 61 78 69 6d 75 6d 20 6f 66 20 |to a maximum of | 00000500 6f 6e 65 20 65 76 65 72 79 20 30 2e 31 20 73 65 |one every 0.1 se| 00000510 63 6f 6e 64 73 2e 20 0a 42 65 66 6f 72 65 20 72 |conds. .Before r| 00000520 65 63 6f 72 64 69 6e 67 20 62 65 67 69 6e 73 20 |ecording begins | 00000530 79 6f 75 20 6d 75 73 74 20 73 70 65 63 69 66 79 |you must specify| 00000540 20 61 20 70 61 74 68 20 6e 61 6d 65 20 62 79 20 | a path name by | 00000550 74 68 65 20 75 73 75 61 6c 20 64 72 61 67 20 61 |the usual drag a| 00000560 6e 64 20 64 72 6f 70 20 6f 66 20 0a 61 6e 20 69 |nd drop of .an i| 00000570 63 6f 6e 20 74 68 65 6e 20 79 6f 75 20 63 61 6e |con then you can| 00000580 20 63 6c 69 63 6b 20 6f 6e 20 74 68 65 20 72 65 | click on the re| 00000590 63 6f 72 64 20 62 75 74 74 6f 6e 20 74 6f 20 6c |cord button to l| 000005a0 6f 67 20 74 68 65 20 72 65 61 64 69 6e 67 73 2e |og the readings.| 000005b0 20 59 6f 75 20 63 61 6e 20 6f 70 65 6e 20 0a 75 | You can open .u| 000005c0 70 20 74 68 65 20 72 65 61 64 69 6e 67 73 20 77 |p the readings w| 000005d0 69 74 68 20 61 6e 79 20 74 65 78 74 20 65 64 69 |ith any text edi| 000005e0 74 6f 72 20 74 6f 20 63 68 65 63 6b 20 74 68 65 |tor to check the| 000005f0 79 20 61 72 65 20 61 6c 6c 20 72 69 67 68 74 2e |y are all right.| 00000600 0a 0a 49 66 20 79 6f 75 20 68 61 76 65 20 74 72 |..If you have tr| 00000610 6f 75 62 6c 65 20 74 72 61 63 6b 69 6e 67 20 64 |ouble tracking d| 00000620 6f 77 6e 20 74 68 69 73 20 74 65 6d 70 65 72 61 |own this tempera| 00000630 74 75 72 65 20 73 65 6e 73 6f 72 20 63 68 69 70 |ture sensor chip| 00000640 20 49 20 63 61 6e 20 73 75 70 70 6c 79 20 74 68 | I can supply th| 00000650 65 6d 3a 2d 0a a3 34 2e 35 30 20 49 6e 63 20 56 |em:-..4.50 Inc V| 00000660 41 54 20 26 20 50 26 50 20 43 68 65 71 75 65 73 |AT & P&P Cheques| 00000670 20 74 6f 3a 2d 0a 0a 4d 75 73 62 75 72 79 20 43 | to:-..Musbury C| 00000680 6f 6e 73 75 6c 74 61 6e 74 73 0a 35 20 48 65 6c |onsultants.5 Hel| 00000690 6d 73 68 6f 72 65 20 52 64 2e 0a 48 61 73 6c 69 |mshore Rd..Hasli| 000006a0 6e 67 64 65 6e 0a 52 6f 73 73 65 6e 64 61 6c 65 |ngden.Rossendale| 000006b0 0a 4c 61 6e 63 73 2e 0a 42 42 34 20 34 42 47 0a |.Lancs..BB4 4BG.| 000006c0 0a |.| 000006c1