Custom Search
WELCOME SIMPLE CIRCUIT DESIGN

Sponsor Links

Visitor Map


counter

Friday, June 5, 2020

DS18B20 Temperature Sensor Circuit


This is a sensor to detect the temperature. This sensor can be programmable to sensor device. This device can operate using power supply 3V to 5V VDC and have temperature range -55°C to +125°C with accuracy ±0.5ÂșC. In programmable system, this device has output Resolution: 9-bit to 12-bit and unique 64-bit address enables multiplexing. This sensor is a waterproof sensor. This is the figure schematic for the sensor using DS18B20.


The DS18B20 is a 1-wire programmable Temperature sensor from maxim integrated. It is widely used to measure temperature in hard environments like in chemical solutions, mines or soil etc. The constriction of the sensor is rugged and also can be purchased with a waterproof option making the mounting process easy. It can measure a wide range of temperature from -55°C to +125° with a decent accuracy of ±5°C. Each sensor has a unique address and requires only one pin of the MCU to transfer data so it a very good choice for measuring temperature at multiple points without compromising much of your digital pins on the microcontroller.


The sensor works with the method of 1-Wire communication. It requires only the data pin connected to the microcontroller with a pull up resistor and the other two pins are used for power as shown in the figure. The pull-up resistor is used to keep the line in high state when the bus is not in use. The temperature value measured by the sensor will be stored in a 2-byte register inside the sensor. This data can be read by the using the 1- wire method by sending in a sequence of data. There are two types of commands that are to be sent to read the values, one is a ROM command and the other is function command. The address value of each ROM memory along with the sequence is given in the datasheet below. You have to read through it to understand how to communicate with the sensor.

No comments:

Post a Comment

Powered By Blogger