In developmentNot released yet — features and data may change without notice.

Catalog

Sensor

DS18B20 temperature sensor (TO-92)

ds18b201-Wire

Datasheet · reference circuit

Why this support circuit is added

Digital temperature sensor, common as a waterproof probe.

Grounded in the catalog and golden patterns (real open-source circuits). Every auto-inserted part comes with a reason.

Support circuit added automatically1

Using this part in a project adds the circuit below, each element with its reason.

Pull-up resistor
DQ → VCC

1-Wire is open-drain; without the 4.7 kΩ pull-up there is no communication (datasheet figure).

Value 4.7kInserted partr_0603
Interface1-Wire
Catalog id
ds18b20
Category
Sensor
Protocol
1-Wire
Logic level
Unrestricted (uses the board rail)
Firmware detection2

Any of these #includes identifies this part

#include <OneWire.h>
#include <DallasTemperature.h>

Examples using this part

Run them in the browser, no login needed.

Arduino Uno R35 libraries48 lines

A greenhouse controller

The relay closes when the DS18B20 passes 28 °C; an ultrasonic sensor measures distance too.

buttonds18b20hc_sr04ledrelay_1chssd1306_i2c
DS18B20 temperature sensor (TO-92) · ibouPCB