Maxim(Dallas) 1(One)-Wire Thermometer (DS1820/DS18S20/DS18B20)

From Visuino
Revision as of 09:07, 7 September 2025 by Visuino (talk | contribs) (Created page with "Image:TArduinoDS18x20Thermometer.png == Summary == Digital thermometer using Maxim (Dallas) 1-Wire protocol. Supports DS1820, DS18S20, and DS18B20 sensors with configurable resolution and alarm thresholds. == Description == The DS1820/DS18S20/DS18B20 family of digital thermometers communicates using the Maxim 1-Wire protocol. They provide precise temperature measurements with programmable resolution and alarm limits. Multiple devices can share the same bus,...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

File:TArduinoDS18x20Thermometer.png

Summary

Digital thermometer using Maxim (Dallas) 1-Wire protocol. Supports DS1820, DS18S20, and DS18B20 sensors with configurable resolution and alarm thresholds.

Description

The DS1820/DS18S20/DS18B20 family of digital thermometers communicates using the Maxim 1-Wire protocol. They provide precise temperature measurements with programmable resolution and alarm limits. Multiple devices can share the same bus, and auto-discovery simplifies setup. Temperatures can be reported in Celsius or Fahrenheit.

Diagram:

Properties

  • Address – Unique 64-bit ROM code of the device, split into Octet1–Octet8 (default: 00-00-00-00-00-00-00-00).
  • Alarm High Temperature – Upper temperature threshold for alarms (default: 100°C).
  • Alarm Low Temperature – Lower temperature threshold for alarms (default: 0°C).
  • Auto Discover – Boolean, automatically scans the 1-Wire bus for devices.
  • In Fahrenheit – Boolean, outputs temperature in Fahrenheit.
  • Resolution – Measurement resolution (default: 12-bit).

Pins

Input Pins

  • Clock – Clock input for timing.
  • One Wire – Data line for 1-Wire communication.

Output Pins

  • Out (analog) – Analog output representing temperature.
  • Address – Outputs detected 64-bit ROM address.
  • Alarm (digital) – Digital output indicating alarm condition.
  • One Wire – Shared 1-Wire communication pin.

Categories