DS18B20 problem
jagrifen
Posts: 36
I bought a new ds18b20 temperature sensor and I am having problems interfacing with an old Prop circuit I built a while ago. I can retrieve the serial number of the device but when I try to do a temperature reading the chip returns 85 degrees C which is the default scratchpad value. Whenever I hook up any of my other Ds18b20 chips they operate just fine. Is there a setting within the chip that needs to be addressed? It seems like the chip just isn't doing any new conversions.
Comments
http://search.digikey.com/us/en/products/DS18B20%2BPAR/DS18B20%2BPAR-ND/1197285
I'm not sure it's as simple as that when operating the parasitic version. Did you look at the data sheet for the parasitic version?
"...To assure that the DS18B20-PAR has sufficient supply current, it is necessary to provide a strong pullup on the 1-Wire bus whenever temperature conversions are taking place or data is being copied from the scratchpad to EEPROM. This can be accomplished by using a MOSFET to pull the bus directly to the rail as shown in Figure 2.... "
Did you check to see if the chip you have is a normal version or parasitic? I think the chip label should have some sort of indicator on it. But again, I don't know if that's really your problem - just a suggestion.