AI Lab for the Internet of Things

From sensors to intelligent self-deciding systems: lessons, projects, architectures, interactive simulation labs and a specialist AIoT assistant.

20Lesson

DS18B20

A one-wire digital temperature sensor, commonly available in waterproof versions for liquid measurements.

BeginnerEnvironmental

Illustration of DS18B20
A schematic illustration created for this section for teaching purposes; it is not a photograph of the part or of any specific product.

Educational content in scientific-draft form; a specialist should review it before it is adopted as an academic reference. No measurement or performance result that was not actually obtained is shown here.

Facts

Measured quantityTemperature
Data typeDigital (1-Wire)
Units of measurement°C
Examples of common partsDS18B20

How it works

It measures temperature and converts it internally to a digital value, and has a unique identifier that allows several sensors on one wire.

How to connect

Connected with a data wire and a pull-up resistor to the supply according to the datasheet.

AIoT applications

  • Temperature of liquids and soil
  • Several measurement points

Measurement and calibration issues

  • Conversion time
  • The need for a pull-up resistor

Simulations and labs run inside your browser. Nothing you enter and none of the conversations is stored on the server. Privacy policy