Commit Graph
23 Commits
Author SHA1 Message Date
Martin Kudlacek 4e0ec6c3de Added support for TI INA260 2025-07-28 09:41:06 +02:00
taco 01348b274e fix: BMP280 altitude was using incorrect library 2025-07-28 11:29:55 +10:00
Mike Cochrane 566c74b835 Add VL53L0X time-of-flight distance sensor to Heltec V3 Sensor 2025-07-18 22:01:47 +12:00
Mike Cochrane ca43eb12cb Add Melexis Contact-less Infrared Sensor - MLX90614 to Heltec V3 Sensor 2025-07-18 18:51:00 +12:00
Mike Cochrane 04551b6678 Allow the SDA and SCL pins for Environment sensors to be configured independantly. Add Heltec V3 Sensor. 2025-07-18 18:16:59 +12:00
cod3doomy d9897a16c2 Cleanup and fixes
-Added RAK_4631 define back
-Added includes for common RAK sensors that are currently supported in ESM
-Set global variables to static
-Reduced delay time within the RAK gps init sequence
2025-07-17 10:42:18 -07:00
cod3doomy c1788c3350 RAK4631 ESM Migration
Changes to migrate sensor code to the ESM.

Added a separate GPS init sequence for the RAK that scans I2C and Serial1 on the various sockets of the various base boards to find the RAK12500. (and soon the RAK12501)

Removed the GPS specific envs from platformio.ini and enabled GPS for all envs.

Verified working with RAK12500 on RAK19007 sockets A and D, as well as RAK19003.
2025-07-16 19:04:50 -07:00
marcelverdult f052cbbfb0 Fixed Barometric Pressure Reading for BMP280
Measurement has to be divided by 100 same as BME280
2025-07-16 13:50:23 +02:00
jasper 6f8ad5766a Changed the Barometric Pressure value since it was a factor 100 to high 2025-07-08 21:16:03 +02:00
recrof b85afd4b4f removed unsupported(?) readAltitude 2025-07-02 16:50:47 +02:00
recrof 2001585677 EnvironmentSensorManager: add support for SHTC3 and LPS22HB 2025-07-02 16:42:35 +02:00
recrof 2255ece665 add support for BMP280 temperature+pressure sensor 2025-06-29 00:17:46 +02:00
taco 5b964e7c74 fix: revert swapped GPS pins
reverted GPS pin behaviour and swapped GPS pins for tbeam variants.
2025-06-24 12:39:07 +10:00
cod3doomy 4dc1a32e40 T-Beam refactor
There is a lot to this PR, so if there are any questions let me know.

The idea here is to merge T-Beam fw so that there is less redundant code. Most versions (except the 0.7) share PMU code, init sequence, and most IO pin definitions.

- Merged all T-Beam board.h files into one TBeamBoard.
- Added PMU code to identify different AXP chips.
- Modified "lilygo tbeam SX1276" variant to cover all T-Beam SX1276 versions
- Modified "lilygo tbeam SX1262" variant to cover all T-Beam SX1262 versions
- Enabled GPS on all T-Beam versions/models
- Enabled BME280 on the Supreme

I am also updating EnvironmentSensorManager to allow for boards that do or don't have GPS enable pins, as well as a PERSISTANT_GPS define check for boards that want GPS to stay active after boot.
2025-06-22 17:46:30 -07:00
taco 1644ebc921 fix: EnvironmentSensorManager.cpp: don't update location if GPS is turned off.
previously the location would always snap to the last heard GPS location after GPS had been on.
2025-06-21 10:09:28 +10:00
Scott Powell 985d46f9bc * EnvironmentSensorManager: some tidy ups 2025-05-23 19:12:32 +10:00
taco 31b29e84f7 refactor: more conditionals for GPS
also re-added some missing returns.
2025-05-23 18:58:45 +10:00
taco 18ccee7f17 REFACTOR: sensors are now wrapped in conditionals 2025-05-23 17:08:23 +10:00
taco 788dc65a56 fix: remove stray initSerialGPS call 2025-05-23 14:34:34 +10:00
taco 68c2f1c864 added serial GPS support to EnvironmentSensorClass
based on T114 serial GPS and EnvironmentSensorClass.
2025-05-22 15:36:20 +10:00
Normunds Gavars 66ef5c38ae Remove sensor wrapper classes and simplify. Switch to Adafruit libs for sensors. 2025-05-22 00:19:00 +03:00
Normunds Gavars d55b2527be Telemetry: Create BME280 sensor that can bu used across variants. Add to promicro. 2025-05-19 19:37:30 +03:00
Normunds Gavars a7c7de4ffa Create sensor classes that can be shared across variants 2025-05-19 17:24:54 +03:00