1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/driver_bmp180
2021-11-02 14:57:50 +01:00
..
app.config.test tests/driver_bmp180: migrate to ztimer 2021-11-02 14:57:50 +01:00
main.c tests/driver_bmp180: migrate to ztimer 2021-11-02 14:57:50 +01:00
Makefile tests/driver_bmp180: migrate to ztimer 2021-11-02 14:57:50 +01:00
Makefile.ci tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
Readme.md drivers/bmp180: initial implementation 2016-03-22 19:51:03 +01:00

About

This is a test application for the BMP180 Pressure and Temperature sensor.

Usage

The application will initialize the BMP180 sensor and display its calibration coefficients. Please see section 3.4 of the datasheet for more information.

After initialization, every 2 seconds, the application:

  • reads the temperature (d°C);
  • reads the pressure (Pa);
  • computes the pressure at sea level based on the TEST_ALTITUDE variable;
  • computes the altitude based on the pressure at sea level calculated above;
  • those values are then printed to STDOUT.