[oclug] Temperature sensors and pager stuff
thukral at pobox.com
Wed Oct 9 22:01:17 EDT 2002
I remember reading something about using a soundcard as an A to D
convertor. I'm not sure if it was the line input or the joystick input
- either way there's an A-D convertor on both. The standard joystick is
a variable potentiometer that the soundcard translates into a digital
value for the PC. Since we're not talking high accuracy here, that
might suffice. You will probably need to do some research into the
hardware part of it and once you have your sensor hooked up (via a
suitable signal conditioner) to your sound card, you will need a program
to poll for the value and do whatever you want with it. I haven't
searched, but I wouldn't be surprised if you find a solution on the web
that someone has already implemented.
The other solution would probably be to establish cutoff signals for the
temperature levels that you need externally and trigger lines on the
parallel port which you can poll..
On Wed, 2002-10-09 at 20:46, Robert Echlin wrote:
> I would like to have a temperature sensor in the computer room that can
> report to my computer, so I can:
> a) email myself if it's over 32 C
> b) record a temp every 15 minutes (or other short time interval)
> c) send a note to my pager if it's over 34 C
> Any idea how I can connect a temperature sensor to a computer,
> and get Linux drivers for same?
> We have a Shiva thingy (not sure of the model number) already.
> It has 8 modems in it - and we have only 3 phone lines into it nowadays.
> I have software on That Other OS that allows me to dial out through it as
> if it was a local modem.
> Any idea where I can get similar for Linux?
> Also on That Other OS, I have software to check on whether specific
> services are running on various machines, and dial out through the Shiva
> box to my pager number and leave a number on there.
> Any idea where I can get similar on Linux?
> ----- Robert Echlin, B. Eng. --
> Read '101 ways to burn water' at: http://magma.ca/~rechlin/burn/
> Fave site: http://www.HogwartsAlumni.com (bias alert)
> Ottawa, Ontario, Canada
> oclug mailing list
> oclug at lists.oclug.on.ca
More information about the OCLUG