Project 7.11—Barometer, Thermometer and Altimeter Display on a GLCD
This project is about using a sensor to read and display the pressure, temperature, and the altitude on a GLCD.
The project is based on using a MEMS sensor called LPS331AP. This is basically a pressure sensor, but it can also measure the ambient temperature. The altitude is calculated mathematically from the pressure measurements.
It is necessary to know the features and basic operation of this sensor before it can be used in projects. The features of this sensor are as follows:
• A 260–1260 mbar absolute pressure measurement;
• A 0 to +80 °C temperature measurement;
• Very low-power consumption (30 μA in the high-resolution mode);
• A 24-bit digital pressure output in millibars;
• A ...