From owner-freebsd-hardware@FreeBSD.ORG Wed Aug 6 06:15:11 2003 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C876637B420 for ; Wed, 6 Aug 2003 06:15:11 -0700 (PDT) Received: from mail-bl.txucom.net (mail-bl.txucom.net [207.70.175.248]) by mx1.FreeBSD.org (Postfix) with SMTP id 3163343F75 for ; Wed, 6 Aug 2003 06:15:10 -0700 (PDT) (envelope-from jim@jimking.net) Received: (qmail 18768 invoked from network); 6 Aug 2003 13:15:06 -0000 Received: from wddl-adsl-nrp2-186.txucom.net (HELO quartz.jimking.net) ([207.70.162.186]) (envelope-sender ) by mail-bl.txucom.net (qmail-ldap-1.03) with SMTP for ; 6 Aug 2003 13:15:06 -0000 Received: from jimking.net (charcoal.ad.lgc.com [134.132.77.248]) (authenticated bits=0) by quartz.jimking.net (8.12.9/8.12.8) with ESMTP id h76DF85V018298 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 6 Aug 2003 08:15:08 -0500 (CDT) (envelope-from jim@jimking.net) Message-ID: <3F30FF59.4060301@jimking.net> Date: Wed, 06 Aug 2003 08:15:05 -0500 From: Jim King User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030723 Thunderbird/0.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: patpro References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: "Louis A. Mamakos" cc: freebsd-hardware@freebsd.org Subject: Re: temperature acquisition on FreeBSD X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2003 13:15:12 -0000 patpro wrote: >>> What I would do today is continue to use the Dallas Semiconductor >>> temperature probe devices and just drive them from the Dallas >>> 1-wire to RS-232 serial port adapter. You'll need some additional >>> software to discover, address, fetch and convert measurements from >>> each of the probes as compared to the Spiderplant box. >>> >>> As far as software, you can start with /usr/ports/comms/mlan or >>> /usr/ports/comms/mlan3 to talk to the adapter. >> > > > If I understand well, you're talking about this device : > > https://store.ibutton.com/cgi-bin/ncommerce3/ > ProductDisplay?prrfnbr=2531&prmenbr=776 That's the one (DS9097U). > But it looks like one can only plug 1 probe, and by the way, I can't > find simple temp probes. > The starter kit looks good > (http://www.ibutton.com/ibuttons/1921Kit.html) but the DS9097U-S09 > has no addressable 1-Wire chip onboard. And it seems it uses TMEX > driver, so I'm not sure mlan or mlan3 freebsd ports can read data > from it. DS9097U is just an adapter to allow you to plug a 1-Wire bus into an RS232 port. > Thermocron looks really good too > (https://store.ibutton.com/cgi-bin/ncommerce3/ > ProductDisplay?prrfnbr=2438&prmenbr=776) and is apparently supported > by mlan : Thermochron would be more expensive. They're $25 each; a plain temperature iButton is $7, and bare DS1920s are probably a lot less than that. Also, DalSemi has had major problems producing Thermochrons and quantities have been pretty limited for the last couple years. (A Thermochron is a nifty toy to have though - I've had fun with mine.) > So now, will TMEX driven hardware work on FreeBSD with mlan ? and > does anybody have experience pluging more than one temp. probe on > the DS9097U adapter family ? The DalSemi 1-Wire bus is really a bus - if you want more devices you just wire them onto the bus (i.e. connect them in parallel with the other devices). fyi, I played with mlan3 a little bit. I connected one of the DS1920 probes from my Spiderplant HLT into a DS9097U, and the 'temp' program from mlan3 worked fine and was able to display temperature readings from the probe. Jim