Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
BMP180, the temperature and barometric pressure sensorThe BMP180 | ||||||||
Line: 12 to 12 | ||||||||
The driver is implemented as a Python class Bmp180 in a file Bmp180Class.py with the following methods:
| ||||||||
Added: | ||||||||
> > |
| |||||||
| ||||||||
Deleted: | ||||||||
< < |
| |||||||
| ||||||||
Added: | ||||||||
> > |
| |||||||
Exercise 1:Read and print out the chip idExercise 2: | ||||||||
Added: | ||||||||
> > | Set the default uncompensated values as well as the default calibration values from the data sheet and call convert() to calculate the corresponding physical values. Compare the results to the example in the data sheet.
Exercise 3: | |||||||
Make a measurement and print the current temperature and barometric pressure. -- Uli Raich - 2021-11-25 |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Added: | ||||||||
> > |
BMP180, the temperature and barometric pressure sensorThe BMP180The BMP180 is an I2C sensor by Bosch Sensortec, measuring the ambient temperature and the barometric pressure and can be used in combination with e.g. the SHT30 to provide weather data. It is described in the data sheet https://media.digikey.com/pdf/Data%20Sheets/Bosch/BMP180.pdf. Bosch Sensortec provides a driver for this module https://github.com/BoschSensortec/BMP180_driver ,which must be integrated into the embedded system in use by providing the I2C access routines. The driver is supplied in C and must be ported to MicroPython if we want to use it with our ESP32 MicroPython interpreter. I have written such a port and added it to our MicroPython version. The driver is implemented as a Python class Bmp180 in a file Bmp180Class.py with the following methods:
Exercise 1:Read and print out the chip idExercise 2:Make a measurement and print the current temperature and barometric pressure. -- Uli Raich - 2021-11-25Comments
|