Home 1-Wire sensor
Post
Cancel

1-Wire sensor

Information

Using the 1-Wire bus is an easy way to add multiple sensors. This can be temperature or humidity sensors. During the startup of TerrariumPI all the sensors that are connected to the 1-Wire bus will be auto detected.

The 1-Wire bus is enabled by the installer and therefore, it will work out of the box. Use physical pin 7 (GPIO 4) for the data wire.

DS18B20

1-Wire schema

An easy to use temperature sensor is the DS18B20 sensor Make sure you use a 4.7K resistor when connecting 1 or more DS18B20 sensors.

More information …

Setup

Auto detect

This sensor will be auto detected during startup or added by ‘Scan sensors’ in the menu.

In order to use the 1-Wire sensor use the following settings:

Mandatory

Hardware : 1-Wire sensor

Types : humidity, temperature

Address : Enter the symlink folder name that are available at /sys/bus/w1/devices/
Ex: 28-0115b231f3ff

Other settings can be found at the sensor setup information

This post is licensed under CC BY 4.0 by the author.