Each DS18B20 possesses a unique 64-bit serial code, allowing them to be individually addressed when connected on a single wire.
The codes of identified sensors are stored in the memory of unicontrol and are utilized upon each subsequent boot.
As a result, each sensor maintains its Input Channel position regardless of any changes to other sensors.
When a DS18B20 is selected as a Peripheral, the Edit button becomes available:
Open the DS18B20 editor.
Clicking this button navigates the user to an editable list of known sensors. Their current temperature readings are also included for easier identification:
Fully populated list of DS18B20 sensors.
There are specific rules for how the Channels are assigned:
Positions of all previously saved sensors are retained.
A newly identified sensor is automatically assigned the lowest unassigned Channel position.
If all 12 positions are occupied, the new sensor will not be used.
Based on these rules, here are several guidelines for working with the DS18B20:
Initially, connect all sensors to the desired GPIO pin, then either re-initialize (Save) the Peripherals or Reboot the device.
This action will auto-populate the Channels with the connected sensors, starting from 0.
If a different order is desired, users can copy/paste the displayed codes between the Channels.
When removing a sensor, its code must be manually deleted from the list. Failing to do this means its position will remain reserved indefinitely, potentially preventing new sensors from being utilized.
Upon adding a new sensor, it is automatically assigned to the lowest Channel without a saved serial code. Hence, it may not necessarily appear at the end of the sensor list.
Subsequently, users can reassign it to any position they prefer.