barometer-thermometer

wayland/bmp280-barometer/barometer-thermometer

Combines low level nodes to create a simple to use barometer and thermometer.
barometer-thermometer
@/barometer-thermometer
Combines low level nodes to create a simple to use barometer and thermometer.
I2Cxod/i2c/i2c
I²C bus.
ADDRbyte
I²C address (default = 77h)
MODEbyte
Operating mode for the sensor. Options: forced mode = 01h, normal mode = 03h.
OSTbyte
Oversampling rate for temperature sensor. Options: no over-sampling = 00h, 1x over-sampling = 01h, 2x over-sampling = 02h, 4x over-sampling = 03h, 8x over-sampling = 04h, 16x over-sampling = 05h.
OSPbyte
Oversampling rate for pressure sensor. Options: no over-sampling = 00h, 1x over-sampling = 01h, 2x over-sampling = 02h, 4x over-sampling = 03h, 8x over-sampling = 04h, 16x over-sampling = 05h.
FILTbyte
Filtering level for sensor data. Options: no filtering = 00h, 2x filtering = 01h, 4x filtering = 02h, 8x filtering = 03h, 16x filtering = 04h.
STDBYbyte
Standby duration in milliseconds. Options: 1 ms = 00h, 62.5 ms = 01h, 125 ms = 02h, 250 ms = 03h, 500 ms = 04h, 1000 ms = 05h, 2000 ms = 06h, 4000 ms = 07h.
INITpulse
Initialize sensor.
UPDpulse
Update. Trigger read of temperature and pressure.
barometer-thermometer
I2C
ADDR
MODE
OST
OSP
FILT
STDBY
INIT
UPD
TEMP
PRESS
DONE
DONEpulse
Pulse on read.
PRESSnumber
Atmospheric pressure in Pascal.
TEMPnumber
Temperature in degrees Celsius.
To use the node in your project you should have the wayland/bmp280-barometer 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.