Hi,

I have a few questions regarding DS18S20.

I am using pwowfs to read the data.  Among the parameters it can read is
'present', but how can this return anything other than 1?  If the device
is not present then the read fails.  Have I missed something here?

I need to read the state of a pressure switch, just an on/off contact.
I looked for a 1-wire sensor to connect it to, but then I thought that
as DS18S20's are so cheap I could use one of those, connect in series
with the signal line and if the device reads then the pressure switch
contact is closed, if it doesn't read then the contact is open.  Any
problems with this idea?  Is there a better way to do it?

As part of these investigations it seems to me that the parameter
'power' does not actually mean that the device has external power, it
means that the ground lead is not connected to the VDD (+5v) lead.  Can
anyone confirm this?

Thanks

Mick Sulley


------------------------------------------------------------------------------
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to