Wykres commitów

17 Commity (master)

Autor SHA1 Wiadomość Data
robert-hh 32b9fe9641
bme280_int.py: Fix the range for sealevel setting.
It's now Pa in the range 30000 to 120000.

Signed-off-by: robert-hh <robert@hammelrath.com>
2024-03-03 20:59:23 +01:00
robert-hh 6c0b723039
bme280*.py: Clamp the humidity results in the range 0-100 %.
The sensor may deliver values slightly out of range.

Signed-off-by: robert-hh <robert@hammelrath.com>
2024-02-07 14:15:23 +01:00
robert-hh f1e555b2cd
README.md: Fix a typo.
Signed-off-by: robert-hh <robert@hammelrath.com>
2023-09-14 14:02:27 +02:00
robert-hh b242b88b9e bme280: Update the link to the data sheet. 2022-10-03 18:17:01 +02:00
robert-hh 37a52e149e bme280: Allow using a tuple for the mode parameter. 2022-09-07 21:53:57 +02:00
Robert Hammelrath aaf2a4f271 bme280: Fix typos in bme280.md.
Thanks to @CesiumK9 for bringing them up.
2021-12-19 09:29:07 +01:00
robert 0da810b150 all: Update & rearrange the license notice
The license situation is a little bit fuzzy, since the actual code
state is based on various sources at different times. The most
common license statements in these sources use MIT wording, even if is
not explicitely referenced. So I keep it like that.
2020-12-07 09:17:00 +01:00
robert 598e8c6286 bme280_*.py: Add an one second timeout
Add a timeout when waiting for the sensor to flag "ready".
This is set to about 1 second now.
2020-11-28 13:51:01 +01:00
robert 79ccf348ec BME280*.py: Align error message to the expcted parameters. 2019-12-27 17:56:58 +01:00
robert 3bc048f93e bme280*.py: Use names for the power modes. 2019-12-19 15:49:15 +01:00
robert-hh a7074fd2d5
Update README.md
Some minor fix in the example
2019-01-12 20:34:09 +01:00
hh 0223507e1e bme280_xxx.py: Make the code a little bit more PEP8 compliant 2019-01-01 11:10:11 +01:00
hh 92773a9c95 bme280_xxx.py: Simplify calibration value reading 2018-11-27 21:41:35 +01:00
hh db8689bd9a bme280_xxx: Check the status register for completion
Instead of just waiting a safe time, check the status register
for completion of the measurement. The drawback is a slightly
increased power consumption.
2018-11-19 21:47:38 +01:00
hh 7bd268d0fa README.md: Fix copy & paste error 2018-11-18 20:23:00 +01:00
hh 5a283cf149 bme280_xxx.py: Add methods for altitude and dew_point
The Documentation is extended accordingly
2018-11-18 20:20:08 +01:00
hh d8d78924a8 bme280_xxx.py: Microypthon driver for the BME280 sensor
Initial commit. Files:
bme280_int.py: Driver using integer arithmetic for compensation
bme280_float.py: Driver using floating point arithmetic for compensation
README.md: Documentation
bmetest.py: Sample test code.
2018-11-11 16:01:02 +01:00