DIP DS18B20 TO-92 Temperature Sensor
Βάρος και διαστάσεις προϊόντος
Περιγραφή
DIP DS18B20 TO-92 Temperature Sensor
Product features:
- Model: DS18B20
- Voltage Supply: 3V~5.5V
- Sensor Temperature: -55°C ~ +125°C
- Thermometer Resolution is User Selectable from 9 to 12 Bits
- Unique 1-Wire Interface Requires Only One Port Pin for Communication
Specifications:
- Model: DS18B20
- Accuracy: 0.5
- Package: TO-92
- Number of Pins: 3
- Voltage Supply: 3V~5.5V
- Sensor Temperature: -55°C ~ +125°C
Pin Configuration
No: |
Pin Name |
Description |
1 |
Ground |
Connect to the ground of the circuit |
2 |
Vcc |
Powers the Sensor, can be 3.3V or 5V |
3 |
Data |
This pin gives output the temperature value which can be read using 1-wire method |
Where to use DS18B20 Sensor
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.
How to use the DS18B20 Sensor
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 below.
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.