pcp
[Top] [All Lists]

PCP Temperature monitor

To: kjw@xxxxxxxxxxxx
Subject: PCP Temperature monitor
From: Ken McDonell <kenmcd@xxxxxxxxxxxxxxxxx>
Date: Sun, 4 Jun 2000 10:44:08 +1000
Cc: ptg_pcp@xxxxxxxxxxxxxxxxxxxxxxx, sgisat@xxxxxxxxxxxx, sgi.engr.pcp@xxxxxxxxxxxxxxxxxxxx, pcp@xxxxxxxxxxx
Sender: owner-pcp@xxxxxxxxxxx
Kevin Wang gave me (thanks) a temperature sensor that consists of a
standard DB-9 serial port connector, a length of telephone cable, some
small parts from Dallas Semiconductor Corporation (DS2480 and DS1280 I
think from the source, but I cannot find these dcumented at their
website http://www.dalsemi.com, so maybe there are newer or different
parts ... Kevin?), and some open source from Dallas to drive this
gizmo.

42 minutes later I had a working PMDA (I think this is the fastest one
yet) exporting the temperature in celsius and fahreheit.

The attached data (ascii below and a pmchart snapshot in the
attachment) shows the temperature changes from the ambient in my hotel
room, then holding the sensor in my hot little hand, then stuffing the
sensor in the freezer of the refrigerator, then wandering about in the
morning sun in northern California with my laptop under my arm ....

Once I clarify some details of how these gizmos are multiplexed on a
single serial port, I'll merge the PMDA code into the base PCP source
for the open source release and IRIX.

Now PCP can help all those folks with wine cellars, machine rooms and
fancy air conditioning controls at home ... 8^)>

pmdumptext -a 1GCiiI.bozo-pc -w 19 -i -t 20 roomtemp
Sun Jun  4 21:28:40                       ?                       ?
Sun Jun  4 21:29:00                  19.84                   67.72 
Sun Jun  4 21:29:20                  19.90                   67.84 
Sun Jun  4 21:29:40                  28.56                   82.49 
Sun Jun  4 21:30:00                  31.40                   88.10 
Sun Jun  4 21:30:20                  32.38                   90.22 
Sun Jun  4 21:30:40                  32.66                   90.75 
Sun Jun  4 21:31:00                  31.43                   90.40 
Sun Jun  4 21:31:20                  14.70                   60.14 
Sun Jun  4 21:31:40                   4.15                   40.57 
Sun Jun  4 21:32:00                  -2.76                   29.54 
Sun Jun  4 21:32:20                  -6.26                   19.39 
Sun Jun  4 21:32:40                  -0.01K                  13.91 
Sun Jun  4 21:33:00                  -0.01K                  10.19 
Sun Jun  4 21:33:20                  -0.01K                   9.52 
Sun Jun  4 21:33:40                  -6.13                   18.12 
Sun Jun  4 21:34:00                  10.88                   50.29 
Sun Jun  4 21:34:20                  14.06                   56.98 
Sun Jun  4 21:34:40                  17.20                   62.74 
Sun Jun  4 21:35:00                  18.90                   65.81 
Sun Jun  4 21:35:20                  20.31                   68.56 
Sun Jun  4 21:35:40                  21.67                   70.76 
Sun Jun  4 21:36:00                  22.27                   71.89 
Sun Jun  4 21:36:20                  22.95                   73.34

Attachment: snap.gif
Description: pmchart for temperature

<Prev in Thread] Current Thread [Next in Thread>