i was reading datasheet..
http://datasheets.maxim-ic.com/en/ds/DS18B20.pdf

there's a eeprom memory portion that is copied when device startup
could we set for example 0xff at this position
and after setting , set the current value to 0x00 ?
when device is running fine value is 0x00
when device is reseted it's get 0xff
i don't know if this work since memory value is:
BIT 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0
0 R1 R0 1 1 1 1 1

r1,r0 = data resolution
but maybe this could work? the 1111 value could be changed?

Em 29 de fevereiro de 2012 23:12, Roberto Spadim
<[email protected]> escreveu:
> yes hehe my is the second, i connect 5v, 0v and owbus
> does ds18b20 have a crc or another feature that shows the reset status
> or something else? i could check for example....
> read 85 degree
> read the crc value (or another reset value)
> start of infinite loop:
>   read 85 degree again
>   read the crc value (or another reset value)
> if crc value = reset value, loop, else good read
>
> i don't know if exists a reset counter or something like it in
> ds18b20, does anyone know?
>
>
> Em 29 de fevereiro de 2012 23:07, Eloy Paris <[email protected]> escreveu:
>> Hi Roberto,
>>
>>
>> On 02/29/2012 08:31 PM, Roberto Spadim wrote:
>>
>>> hi guys, i'm having a lot of problem with ds18b20 and 85 degree reads
>>> what are every body doing when this occur?
>>> today i read to times when this occur, and if it's 85 em both i allow 85
>>> degree
>>> anyone know another good solution?
>>
>>
>> If parasitic powered make sure that Vdd is connected to ground instead of
>> leaving it floating. If they are being powered then I am afraid I don't have
>> a good suggestion :-(
>>
>> Cheers,
>>
>> Eloy Paris.-
>>
>>
>>
>
>
>
> --
> Roberto Spadim
> Spadim Technology / SPAEmpresarial



-- 
Roberto Spadim
Spadim Technology / SPAEmpresarial

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to