This extension of 1-wire DS18B20 temperature sensors sketch with support for multiple DS18B20 and autoscan feature.

This example shows 3 DS18B20 sensors, but you can have up to 10. Just add new channels, new getters and change N_SENSOR constant. 

Note that sensors might appear in any order depending on scan results.

  • Z-Uno board
  • Breadboard
  • 3 DS18B20 temperature sensor (like this or waterproof variant like this)
  • 1 4.7 kΩ resistor
  • 11 wires