thermometer

wayland/mcp9808-thermometer/thermometer

Combines low level nodes to create a simple to use thermometer. Outputs temperature in °C (can be converted to °F using celsius-to-fahrenheit node). To conserve energy the MCP9808 is put into sleep mode between temperature readings. You can maximize sampling rate by not switching off MCP9808 between reads (see example-max-sample-rate).
thermometer
@/thermometer
Combines low level nodes to create a simple to use thermometer. Outputs temperature in °C (can be converted to °F using celsius-to-fahrenheit node). To conserve energy the MCP9808 is put into sleep mode between temperature readings. You can maximize sampling rate by not switching off MCP9808 between reads (see example-max-sample-rate).
ADDRESSbyte
I²C address of the mcp9808 device. Default is 18h. The I²C address of the device can be changed using the address select pins (see https://learn.adafruit.com/adafruit-mcp9808-precision-i2c-temperature-sensor-guide/arduino-code).
RESOLUTIONbyte
Set resolution of measurements. Four modes are available (resolution and sample time in parentheses): 00h ( 0.5°C , 30 ms); 01h (0.25°C, 65 ms); 02h (0.125°C, 130 ms); 03h (0.0625°C, 250 ms).
UPDpulse
Update. Trigger read of temperature.
thermometer
ADDRESS
RESOLUTION
UPD
TempC
DONE
DONEpulse
Pulse on read of temperature.
TempCnumber
Temperature in degrees Celsius.
To use the node in your project you should have the wayland/mcp9808-thermometer 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.