How to get temperature value from DS18B20 voltage

1.2k views Asked by At

I just connected DS18B20 temperature sensor to ADC of a device. But that device only shows voltage reading from ADC likve 1033 mV. But I want to get an actual temperature value from the voltage value. Is there any way to calculate or get the temperature value from voltage reading?

Please let me know.

Thanks,

1

There are 1 answers

1
donjuedo On BEST ANSWER

You need to connect the 18B20 to a microcontroller, or a 1-wire host controller, connected to the microcontroller. (The difference is whether you want to write your own 1-wire protocol code ... go with the host controller). You'll get a digital value for the temp, no ADC required.