pl2303 usb OWX ds18b20

Begonnen von kroonen, 15 März 2013, 13:59:20

Vorheriges Thema - Nächstes Thema

kroonen

Hi,

I read this on a page so I thought it should work with fhem too

http://haklabos.wordpress.com/projekti/digitemp/

I only used a pl2303 usb to uart.

With digitemp it words fine

digitemp_DS9097 -i -s /dev/ttyUSB0
DigiTemp v3.5.0 Copyright 1996-2007 by Brian C. Lane
GNU General Public License v2.0 - http://www.digitemp.com
Turning off all DS2409 Couplers
.
Searching the 1-Wire LAN
28A1677D0400009E : DS18B20 Temperature Sensor
ROM #0 : 28A1677D0400009E
Wrote .digitemprc

digitemp_DS9097 -a
DigiTemp v3.5.0 Copyright 1996-2007 by Brian C. Lane
GNU General Public License v2.0 - http://www.digitemp.com
Mar 15 13:55:42 Sensor 0 C: 19.25 F: 66.65

But  get an error with OWX first:

2013.03.15 13:57:24 3: Opening OWio1 device /dev/ttyUSB0
2013.03.15 13:57:24 3: Setting OWio1 baudrate to 9600
2013.03.15 13:57:24 3: OWio1 device opened
2013.03.15 13:57:24 1: OWX: Serial device /dev/ttyUSB0 defined
2013.03.15 13:57:25 1: OWX: 1-Wire bus OWio1: interface not found, answer was 0x17 0x41 0xab 0x20 0xfc

 
any ide what goes wrong?

Prof. Dr. Peter Henning

The pure DS9097 is a passive interface, e.g. has no busmaster IC. This is a wobbly thing even in the best case, and the bus power is derived from a signal on the serial interface.

Since OWX is running under perl, the timing is not as precise as in C or C++ (depends on the serial interface of perl :-((

To make sure that OWX runs, please use an active interface with busmaster IC, such as the DS9097U, or USB-9097, or such thing http://www.pressebox.de/inaktiv/spring-messe-managment-gmbh/Diversitaet-als-neue-Einheit-Vielfalt-managen/boxid/599218.

Regards

pah