Assemble Notecard and Notecarrier as described
Plug the Swan into the Notecarrier, aligning the Swan's male headers with
the Notecarrier's female headers.
(OPTIONAL) The BME280 breakout has an LED to indicate that its powered on.
This draws a significant amount of current, especially compared to the sensor
itself. To maximize battery life, you can disconnect this LED by
cutting the JP1 jumper trace
(see the schematic)
on the back of the board with a hobby knife.
Plug one end of the Qwiic cable into one of the Notecarrier Qwiic ports and
the other end into one of the Qwiic ports on the BME280 breakout board.
Plug the LiPo battery's JST cable into the Notecarrier port labeled "LIPO".
Connect the micro USB cable from your development PC to the Swan.
You can change this interval by setting the environment variable
report_interval. The unit for report_interval is seconds. The firmware reads
from the BME280 every minute, so it's not particularly useful to set
report_interval lower than 60 seconds. Note: If you modify any environment
variables, wait at least 30 seconds for the changes to propagate to the Swan.
The status field indicates the reason for the alarm. low means the value is
below the minimum, high means the value is above the maximum, and ok means
the value is in range. You should only ever see an alarm.qo note if at least
one of the values is not ok.
You can use these environment variables to change the range:
temperature_threshold_min: Lower bound of temperature range.
temperature_threshold_max: Upper bound of temperature range.
humidity_threshold_min: Lower bound of humidity range.
humidity_threshold_max: Upper bound of humidity range.