ESP32 DS18B20 Temperature Dashboard
Monitor Up to 5 Sensors

Measure and Record Temperature with ESP32 and DS18B20 Sensors

Turn your ESP32 into a digital temperature monitoring system with the free SensorLab DS18B20 Temperature Dashboard. Connect up to five DS18B20 temperature sensors to measure and compare temperatures simultaneously in real time.

View live measurements on digital thermometers, record temperature changes in an interactive graph, and export your data as CSV files for further analysis. The dashboard connects directly to your ESP32 via USB using Chrome or Edge, without requiring additional software.

Ideal for physics education, STEM projects, and hands-on experiments involving heat transfer, thermal insulation, heating, and cooling.

DS18D20-sensor

Browser Compatibility

To use the SensorLab Weather Station with an ESP32 via USB, please use Google Chrome or Microsoft Edge. SensorLab uses the Web Serial API for direct communication with the ESP32, which is not supported by all web browsers.

SensorLab · DS18B20 Temperature Dashboard

DS18B20 · Up to five temperature sensors on separate GPIO pins · USB / Web Serial or Bluetooth Low Energy (BLE)

Not connected

Dashboard loading… If this message remains visible, JavaScript initialization did not complete.

No sensor ID yet
– °C
100806040200-20
Scale: −20 to +100 °C
No sensor ID yet
– °C
100806040200-20
Scale: −20 to +100 °C
No sensor ID yet
– °C
100806040200-20
Scale: −20 to +100 °C
No sensor ID yet
– °C
100806040200-20
Scale: −20 to +100 °C
No sensor ID yet
– °C
100806040200-20
Scale: −20 to +100 °C

Name each sensor and select whether its measurements appear in the chart. The sensor values remain visible even when a curve is hidden.

Temperature Recording

Record up to five temperature sensors on a shared time axis. Measurements are stored locally in your browser.

No recording · 0 samples
°CTimePress Start Recording to collect measurements
X-axis: Time · Y-axis: °C (automatic scaling) · CSV: Timestamp and temperatures with one decimal place, semicolon-separated. Reset clears the recording and the chart.

How Does the DS18B20 Temperature Sensor Work?

The DS18B20 is a digital temperature sensor that measures temperatures from −55 °C to +125 °C with a typical accuracy of ±0.5 °C between −10 °C and +85 °C. It uses the 1-Wire communication protocol, which requires only one data line to communicate with a microcontroller.

Each DS18B20 has a unique 64-bit address, allowing multiple sensors to share the same data pin. In principle, all five sensors could therefore be connected to a single ESP32 GPIO using a common 1-Wire bus.

For our SensorLab temperature monitoring system, however, we use five separate ESP32 GPIO pins (GPIO 4, 18, 19, 21, and 22), one for each sensor. This makes sensor assignment easier, simplifies troubleshooting, and ensures that each temperature reading is consistently displayed in the correct dashboard position.

The sensors communicate digitally with the ESP32, which transfers the measurements via USB to the SensorLab Dashboard for real-time visualization and recording.

DS18B20 - Construction and Working Principle

Longitudinal section through a waterproof sensor

DS18B20 Structure Cross Section

Working principle

The DS18B20 contains a high resolution temperature sensor and digital electronics. It measures the temperature inside the stainless stell housing ad provides the measured value through a single data line using the OneWire protocol.

DS18B20 – Technical Specifications

Parameter Specification
Sensor Type Digital Temperature Sensor
Temperature Range −55 °C to +125 °C
Accuracy ±0.5 °C from −10 °C to +85 °C
Resolution 9 to 12 bits (configurable)
Smallest Temperature Step 0.0625 °C at 12-bit resolution
Conversion Time 750 ms maximum at 12-bit resolution
Supply Voltage 3.0 to 5.5 V DC
Communication Interface Digital 1-Wire protocol
Connections VDD, DATA (DQ), GND
Sensor Address Unique 64-bit identification code
Multiple Sensors Yes, on a shared 1-Wire bus
Typical Applications Temperature monitoring, data logging,
weather stations, ESP32 projects

ESP32 Firmware – Arduino IDE for DS18B20

coming soon!