wayland/ds18b20@0.0.4

License: GNU Lesser General Public License v2.1

DS18B20 digital temperature sensor. Enables use of multiple DS18B20 devices on a single one-wire bus. Wraps https://github.com/milesburton/Arduino-Temperature-Control-Library and https://github.com/PaulStoffregen/OneWire.
NodeDescription
ds18b20-bus
Create a one-wire bus with one or more DS18B20 devices.
ds18b20-devices
Create DS18B20 device(s) on a one-wire bus.
example-read-address
This patch will read the address of the first (index 0) DS18B20 device on the bus.
example-read-temp-multi-devices
Patch to demonstrate reading temperature from multiple DS18B20 devices on a single one wire bus.
get-address
Get address of DS18B20 device at specified index (IDX).
get-device-count
Count number of devices on the bus.
get-resolution
Read global resolution.
get-temp-c
Get temperature of DS18B20 device with specified address. Ask all DS18B20 devices on the bus to perform a temperature conversion using request-temperatures node.
get-temp-f
Get temperature of DS18B20 device with specified address.
one-wire-bus
Create a one-wire bus.
request-temperatures
Sends command for all devices on the bus to perform a temperature conversion.
set-resolution
Set resolution of all DS18B20 devices on the bus.
To use the nodes in your project you should have the wayland/ds18b20 library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.