Ribbit-Network / ribbit-network-frog-hardware

The sensor for the world's largest crowdsourced network of open-source, low-cost, GHG Gas Detection Sensors.
https://www.ribbitnetwork.org/
MIT License
96 stars 26 forks source link

V4: Add support for barometer (DPS310) #185

Closed keenanjohnson closed 1 year ago

keenanjohnson commented 1 year ago

I have verified that this code runs on my local device here:

I (75232) golioth_example: Waiting for the temperature value to be ready
I (75442) golioth_example: Temperature: 21.62 °CI (75442) golioth_example: Setting manual pressure measurement mode
I (75442) golioth_example: Waiting for the pressure value to be ready
I (75652) golioth_example: Pressure: 100496.16 Pa
I (76652) golioth_example: Setting manual temperature measurement mode
I (76652) golioth_example: Waiting for the temperature value to be ready
I (76862) golioth_example: Temperature: 21.62 °C
I (76862) golioth_example: Waiting for the pressure value to be ready
I (77032) golioth_example: CO2: 972 ppmI (77032) golioth_example: Temperature: 22.41 °C
I (77032) golioth_example: Humidity: 42.25 %
I (77072) golioth_example: Pressure: 100496.13 Pa
I (78072) golioth_example: Waiting for the temperature value to be ready
I (78282) golioth_example: Temperature: 21.62 °C
I (78282) golioth_example: Setting manual pressure measurement mode
I (78282) golioth_example: Waiting for the pressure value to be ready
I (78492) golioth_example: Pressure: 100496.16 Pa
I (79042) golioth_example: CO2: 973 ppm
I (79042) golioth_example: Humidity: 42.39 %5 °C