DIYables_DS18B20

Non-blocking library for the DS18B20 1-Wire temperature sensor

Author
DIYables.io
Website
https://diyables.io/dp/B0BPFYQT8C
Github
https://github.com/DIYables/DIYables_DS18B20
Category
Sensors
License
BSD 3 Clause
Library Type
Contributed
Architectures
Any

Reads the DS18B20 temperature sensor without blocking the sketch. The 750 ms conversion and the 1-Wire transfer are both run as a state machine, so a call of loop() never takes longer than about 90 microseconds, and the library reports that figure at runtime with getMaxLoopTime(). Supports several sensors on one pin, ROM address search, 9 to 12 bit resolution, CRC checking, and parasite power. Uses only standard Arduino APIs and has no dependencies, so it works on Arduino, ESP32, ESP8266 and other platforms.

Downloads

Filename Release Date File Size
DIYables_DS18B20-1.0.0.zip 2026-09-07 25.51 KiB