*BSD News Article 83955


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!pumpkin.pangea.ca!www.nntp.primenet.com!nntp.primenet.com!news.sgi.com!howland.erols.net!vixen.cso.uiuc.edu!uwm.edu!alpha1.csd.uwm.edu!bacon
From: bacon@alpha1.csd.uwm.edu (Jason Wayne Bacon)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Interfacing sensors to FreeBSD
Date: 30 Nov 1996 20:33:47 GMT
Organization: University of Wisconsin - Milwaukee
Lines: 20
Message-ID: <57q5nb$k8p@uwm.edu>
References: <57pos2$2ae@uriah.heep.sax.de>
Reply-To: bacon@alpha1.csd.uwm.edu
NNTP-Posting-Host: 129.89.169.1
Originator: bacon@alpha1.csd.uwm.edu

From article <57pos2$2ae@uriah.heep.sax.de>, by j@uriah.heep.sax.de (J Wunsch):
> robert@nanguo.chalmers.com.au (Robert Chalmers) wrote:
> 
>> Does anyone know how to go about interfacing a temperature sensor to
>> a FreeBSD box, so that I can get a temperature readout displayed?
> 
> You need some form of an A/D converter.  The thing that comes closest
> to such a task in the PC environment is the game port, but it can only
> convert resistivity, and its interface inside the machine is fairly
> ugly (no interrupts possible, and you're responsible to measure the
> pulse time yourself).

There are ADC's available that plug into a parallel port.  That
would probably be the simplest solution for Unix, since the bus 
card ADC's usually only come with DOS/Windows drivers.
There are all kinds of sensors you can attach to the analog end.

Don't ask me where to buy them in Australia, though.  :-)

-Jason