Luigi Cruz's Header-Only C Library Gets Your Pi Pico Talking to Your BMP180 Pressure Sensor
The first in a planned series of header-only libraries, Cruz's first adds BMP180 support to the Raspberry Pi Pico and other RP2040 boards.
Developer and radio amateur Luigi Cruz has released a header-only C library designed to get the popular BMP180 digital barometric pressure sensor up-and-running with the Raspberry Pi Pico and other RP2040-based microcontroller boards.
Released earlier this year, the Raspberry Pi Pico is the first - but far from last — outing for the RP2040, Raspberry Pi's first released in-house silicon and microcontroller. It offers a range of shiny new features, but like any new device software compatibility lags behind hardware availability — which is where Cruz's efforts come in.
Written over the course of a weekend, Cruz's header-only C library offers an easy way to add support for the BMP180 digital barometric pressure sensor to a Raspberry Pi Pico or RP2040-driven project. "Just copy and paste the header-only library file to your project," Cruz writes of the installation and use.
Released under the GNU General Public License 2.0, the BMP180 library is only the first in what will be a series of libraries for the RP2040 from Cruz — all of which he is making available on a dedicated GitHub repository.