DS18B20 3-Pin Through-Hole Digital Temperature Sensor – Temperature Sensor for Arduino, ESP32 & IoT
The DS18B20 3-Pin Through-Hole Digital Temperature Sensor is a compact and accurate digital temperature sensor designed for temperature monitoring in embedded systems, IoT devices, automation projects, and electronic applications.
Based on the DS18B20 digital temperature sensor, it communicates with a microcontroller using the simple 1-Wire protocol, allowing multiple DS18B20 sensors to share a single data line. Each sensor has a unique 64-bit identification code, making it convenient to build multi-point temperature monitoring systems.
The through-hole package makes the sensor easy to mount on a PCB or breadboard. It is compatible with popular development platforms such as Arduino, ESP32, ESP8266, Raspberry Pi, STM32, and other microcontrollers that support digital communication.
Key Features
- DS18B20 digital temperature sensor
- 3-pin through-hole package
- Digital temperature measurement
- Uses simple 1-Wire communication protocol
- No external ADC required
- Unique 64-bit device identification
- Supports multiple sensors on a single data bus
- Programmable temperature resolution
- Compact and easy-to-integrate design
- Suitable for breadboard and PCB applications
- Compatible with Arduino, ESP32, ESP8266, STM32 and other microcontrollers
Technical Specifications
| Parameter | Specification |
|---|---|
| Sensor | DS18B20 |
| Package | 3-Pin Through-Hole |
| Sensor Type | Digital Temperature Sensor |
| Communication | 1-Wire |
| Operating Voltage | 3.0V – 5.5V |
| Temperature Range | -55°C to +125°C |
| Accuracy | ±0.5°C typically from -10°C to +85°C |
| Resolution | 9 to 12-bit programmable |
| Device Address | Unique 64-bit ID |
| Output | Digital |
| Interface | Single Data Line |
| Applications | Temperature Monitoring & IoT |
Package Includes
- 1 × DS18B20 3-Pin Through-Hole Digital Temperature Sensor
Recommended Applications
- Arduino temperature monitoring
- ESP32 IoT temperature sensors
- ESP8266 projects
- Industrial temperature monitoring
- Home automation
- HVAC monitoring
- Refrigerator and freezer monitoring
- Water temperature measurement
- Aquarium monitoring
- Weather stations
- Smart agriculture
- Greenhouse monitoring
- Battery temperature monitoring
- Multi-point temperature monitoring
- Data logging systems
How It Works
The DS18B20 communicates with the microcontroller using the 1-Wire digital communication protocol. Unlike analog temperature sensors, the temperature conversion is performed internally, and the resulting digital value is transmitted directly to the microcontroller.
Multiple DS18B20 sensors can be connected to the same data line, with each sensor identified by its unique 64-bit address. This makes the sensor particularly useful for applications requiring temperature measurements at multiple locations.
DS18B20 → 1-Wire Data → ESP32/Arduino → Temperature Reading
Why Choose the DS18B20?
- Excellent temperature measurement range
- Digital output eliminates the need for an external ADC
- Simple 1-Wire interface
- Multiple sensors can share one GPIO/data line
- Easy to use with Arduino and ESP32
- Compact through-hole package
- Suitable for both educational and professional embedded projects
- Excellent choice for IoT temperature monitoring