Maxim 1-Wire DS2438 battery (ADC) monitor

Hello all

I have been playing around with 1-Wire temperature sensors (DS18B20) for a while with some good results - I'm looking at temperatures in my roof space to see where the heat goes.
I would like to add the DS2438 for humidity (analogue) and DS2413 for general IO like wet floors (flood detection).

What's stumping me at the moment is finding a DS2438 library that works out of the box. I've tried G Barros's library but it comes up with multiple compilation errors, some to do with WConstants.h and Arduino 1.0. I have edited DS2438.cpp with the suggested updates, with no success.

Peter Anderson's library does work (so it's not the chip or the wiring), but I would like to get GFB's offerings to work as well. I'm no expert at 1-Wire so rely heavily on good working examples to get off the ground.

If someone has got the DS2438 working well I would be most grateful for a pointer in the right direction.

Cheers

I am also in need of help. I am using the VAD entry to read a moisture sensor on the air, but not found any library that uses the VAD entry DS2438.

siutoejai:
GitHub - jbechter/arduino-onewire-DS2438: Arduino OneWire DS2438 device library.

I have used this library before, it was made to wear the pins + VS and VS and not the VAD entry.