meshtastic / protobufs

Protobuf definitions for the Meshtastic project
https://meshtastic.org
GNU General Public License v3.0
83 stars 118 forks source link

[Feature Request]: add temperature and pressure sensor BMP180 (and BMP085) #458

Closed thoherr closed 4 months ago

thoherr commented 7 months ago

Platform

ESP32

Description

The "old" BMP180 sensors, which are way cheaper than the currently supported BMP280 and about 1/3 smaller, basically provide the same funcionality as the BMP280. AFAIK, the only significant difference is that the BMP180 only supports I2C, whereas the newer BMP280 also supports SPI (coming with a larger footprint).

The BMP180 is supported by the Adafruit Library for the BMP085, and i already did a first working implementation based on this library.

The changes would basically be an additional entry in TelemetrySensorType in the protobuf repository, and for the firmware the addition of the BMP085 library, a new class BMP085Sensor and some additions in the environmental telemetry code.