SKU: TH2072
Sold Out!
We will notify you when this item is back in stock. Please enter your email.
DS18B20 Digital Temperature Sensor is a popular 1-Wire temperature sensor for Arduino, Raspberry Pi, and many other microcontroller projects. Instead of outputting an analog voltage, it sends temperature data digitally over a single data line, making it a practical choice when you want stable readings without needing an ADC.
The sensor offers up to 12-bit resolution and is typically accurate to ±0.5°C over much of its working range. It runs from 3.0V to 5.0V, so it fits easily into both 3.3V and 5V systems.
Because it uses the Dallas 1-Wire protocol, multiple DS18B20 sensors can share the same microcontroller pin. Each device has a factory-programmed unique 64-bit ID, allowing several sensors to coexist on the same bus and still be addressed individually.
Key technical details for the DS18B20 sensor module package supplied here.
| Interface | Dallas 1-Wire |
|---|---|
| Supply Voltage | 3.0V to 5.0V |
| Resolution | Programmable 9-bit to 12-bit |
| Accuracy | ±0.5°C over much of the range |
| Temperature Range | -55°C to +125°C |
| Device Addressing | Unique 64-bit factory-programmed ID |
| Included Extra | 4.7k pull-up resistor |
This sensor comes in a 3-pin transistor-style package and connects with power, data, and ground. A pull-up resistor is required on the data line for reliable communication.
| Pin | Name | Function |
|---|---|---|
| 1 | GND | Ground connection |
| 2 | DQ | 1-Wire data input/output |
| 3 | VDD | 3.0V to 5.0V supply |
The DS18B20 works with many microcontrollers using a single digital pin, but 1-Wire support should be checked for your specific platform. Arduino users can work with the Dallas Temperature Control library together with the OneWire library.
It is also a well-known choice for Raspberry Pi projects, since Raspberry Pi systems do not have a built-in ADC for reading analog sensors directly. Raspbian includes support for DS18B20 1-Wire temperature sensors.
Important: a 4.7k resistor must be connected between DATA and VCC. One resistor is included. Also make sure the sensor orientation is correct during wiring, as reversing it can damage the device.
1 x 4.7k resistor
It uses the Dallas 1-Wire protocol, so it communicates over a single data line plus power and ground. This lets it work with a microcontroller using just one digital pin.
According to the supplier brief, it works with 3.0V to 5.0V systems. The DS18B20 datasheet lists a 3.0V to 5.5V supply range for the device itself.
Yes, a 4.7k pull-up resistor from DATA to VCC is required for normal use. This product includes that 4.7k resistor.
Yes, multiple DS18B20 sensors can share the same 1-Wire data pin. Each sensor has a unique 64-bit ID, which allows them to be differentiated on the same bus.
Yes, the reference material specifically mentions Raspberry Pi support through Raspbian's 1-Wire interface, and the supplier notes it can be used with Arduino using the Dallas Temperature Control and OneWire libraries. Because 1-Wire support varies by platform, compatibility should still be checked for your exact board.
The supplier states ±0.5°C accuracy over much of the range, and the datasheet specifies ±0.5°C from -10°C to +85°C. Resolution is user-selectable up to 12 bits.
Average rating
Based on 0 reviews
No reviews match this filter yet.