Robot Pi Shop

DS18B20 Temperature Module Sensor

$1.25

Shipping calculated at checkout.

Quantity

DS18B20 Digital Temperature Sensor Module – 1-Wire, 3.3V/5V

The DS18B20 Digital Temperature Sensor Module is a convenient temperature-measurement board based on the popular DS18B20 digital sensor.

It provides accurate digital temperature measurements over a wide -55°C to +125°C range and communicates through the simple 1-Wire interface, requiring only one microcontroller GPIO pin for data communication.

The module format simplifies connection by mounting the DS18B20 sensor and supporting components on a small PCB with easy-to-access connection pins.

It is ideal for Arduino, ESP32, Raspberry Pi, robotics, IoT, environmental monitoring and temperature-control projects.

Technical Specifications

  • Sensor: DS18B20
  • Product Type: Digital Temperature Sensor Module
  • Interface: 1-Wire Digital
  • Operating Voltage: 3.0–5.5V DC
  • Typical Module Supply: 3.3V or 5V
  • Temperature Measurement Range: -55°C to +125°C
  • Accuracy: ±0.5°C from -10°C to +85°C
  • Programmable Resolution: 9-Bit to 12-Bit
  • Maximum Resolution: 0.0625°C
  • Maximum Conversion Time: 750ms at 12-Bit Resolution
  • Unique Device Address: 64-Bit Serial Code
  • Alarm Thresholds: Programmable
  • Output Type: Digital
  • Multiple Sensors on One Bus: Supported

Digital Temperature Measurement

Unlike analog temperature sensors, the DS18B20 performs temperature conversion internally and sends the measured value digitally to the microcontroller.

This reduces the need for an external ADC and makes it easy to obtain repeatable temperature readings in embedded projects.

Wide Temperature Range

The DS18B20 can measure temperatures from:

-55°C to +125°C

with an accuracy of:

±0.5°C from -10°C to +85°C

The ±0.5°C specification should not be interpreted as applying across the entire -55°C to +125°C operating range.

Programmable Resolution

The DS18B20 allows the measurement resolution to be configured according to the application:

  • 9-Bit: 0.5°C
  • 10-Bit: 0.25°C
  • 11-Bit: 0.125°C
  • 12-Bit: 0.0625°C

At maximum 12-bit resolution, temperature conversion can take up to approximately 750ms.

1-Wire Communication

The DS18B20 uses the 1-Wire communication protocol.

Only one GPIO data line is required between the sensor and microcontroller.

Typical module connections are:

  • VCC / +: Power Supply
  • GND / -: Ground
  • S / DQ: 1-Wire Data Signal

Always check the labels printed on the supplied module before connecting it, as pin order can vary between PCB versions.

Integrated Pull-Up Resistor

Most DS18B20 module boards include the required pull-up resistor for the 1-Wire data line.

This simplifies connection compared with using a bare DS18B20 TO-92 sensor, where an external resistor—commonly 4.7kΩ—normally needs to be added between DQ and VCC.

Multiple Sensors on One Data Line

Each DS18B20 contains a unique factory-programmed 64-bit serial code.

This allows multiple DS18B20 sensors to operate on the same 1-Wire bus while still being individually identified by the microcontroller.

This is useful for applications requiring temperature measurements at several locations.

Arduino & ESP32 Compatible

The module is suitable for many popular development platforms, including:

  • Arduino UNO
  • Arduino Nano
  • Arduino Mega
  • ESP32
  • ESP8266
  • Raspberry Pi
  • STM32
  • PIC
  • AVR
  • Other Compatible Microcontrollers

For ESP32 and other 3.3V controllers, operating the module/data pull-up at 3.3V is generally the safest configuration for direct GPIO connection.

Applications

Ideal for:

  • Digital Thermometers
  • Arduino Projects
  • ESP32 Projects
  • Raspberry Pi Projects
  • IoT Systems
  • Robotics
  • Smart Home Systems
  • HVAC Monitoring
  • Temperature Controllers
  • Data Loggers
  • Environmental Monitoring
  • Battery Temperature Monitoring
  • Equipment Monitoring
  • Educational Projects
  • Automation Systems

Module vs. Bare DS18B20 Sensor

The module version provides easier connection for prototyping and educational applications.

Bare DS18B20:
Requires the sensor to be wired directly and normally requires an external pull-up resistor.

DS18B20 Module:
Mounts the sensor on a PCB and typically includes the required supporting resistor and convenient connection pins.

Both use the same DS18B20 digital temperature-sensing technology.

Important Notes

  • The output is digital 1-Wire, not analog.
  • Check the PCB pin labels before applying power.
  • Do not exceed the DS18B20 operating voltage.
  • ±0.5°C accuracy applies from -10°C to +85°C.
  • This PCB module is not waterproof.
  • Do not immerse the module or exposed DS18B20 sensor in liquid.
  • For water tanks, pipes, aquariums or outdoor applications, use a properly sealed waterproof DS18B20 probe.
  • The module is designed for temperature measurement and does not measure humidity.

Package Includes

1 × DS18B20 Digital Temperature Sensor Module