Am 03.07.2016 um 17:14 schrieb Guy COLIN:
> 
> OneWire  ds(11);  // on pin 10 (a 4.7K resistor is necessary)
> 
A 1,5k resistor to 5V! Or 1k to 3V.


>   ds.write(0x44, 1);        // start conversion, with parasite power on at 
> the end
>
Please retry with a statically powered chip.

When you use parasite power and read the out the chip prematurely it
means the chip is *unpowered* right at the moment when you want to read
out the chip. Because it still wants to draw 1mA but you don't supply
this needed current to it. The initial bus reset of a readout command is
enough to de-power a DS18B20 which is in conversion mode.

Kind regards

        Jan



------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to