1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-05-01 13:48:57 +08:00

12 Commits

Author SHA1 Message Date
Graeme Cross
2ebbc97e49 Fixed incorrect error condition check when reading the 'ctrl_hum' register.
Expanded the BME280 unit test for TestBME280DriverStart() to support reading
from the 'ctrl_hum' register.

Signed-off-by: Graeme Cross <graeme@ceriumdesigns.com>
2017-06-15 14:04:08 +02:00
Graeme Cross
95b0fe880f Improved BME280 humidity initialisation so that it does not override existing
oversampling rates that have been set up for the ctrl_meas register.

The humidity oversampling rate is set to 1 (as per Section 3.5 of the BME280
data sheet).

Signed-off-by: Graeme Cross <graeme@ceriumdesigns.com>
2017-06-15 14:04:08 +02:00
Graeme Cross
18cfa16cc7 Issue #424: Enables humidity readings in the BME280 driver by enforcing the write to the 'ctrl_meas' register, as per Section 5.4.3 of the BME280 data sheet
Signed-off-by: Graeme Cross <graeme@ceriumdesigns.com>
2017-06-15 14:04:08 +02:00
deadprogram
821fbf272e i2c: adds Altitude() function to BMP280/BME280
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-01 10:29:57 +02:00
deadprogram
bdb24109af i2c: functional bmp180 temperature/pressure and bme280 humidity
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-31 23:01:10 +02:00
deadprogram
1b8a772400 i2c: BME280 readings coming in, still working on conversion functions
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-31 23:01:10 +02:00
deadprogram
f523fc6447 i2c: bmp280/bme280 raw reading in place, just need the conversions
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-31 23:01:10 +02:00
deadprogram
c9b992aaa5 i2c: add bmp280 driver, then encapsulate it with bme280 and add Humidity
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-31 23:01:10 +02:00
deadprogram
8940824ff0 i2c: refactoring since the bme280 is not the same as the bmp180
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-31 23:01:10 +02:00
dsockwell
c34bbee3c7 Humidity compensation formula input, needs verification 2017-03-31 23:01:10 +02:00
deadprogram
a1ed7ad144 i2c: Placeholder method for doing humidity adjustment for BME280 support
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-31 23:01:10 +02:00
deadprogram
fa2b6a3ea2 i2c: WIP on adding BME280 support
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-31 23:01:10 +02:00