firmware/src/modules/Telemetry/Sensor
Warren Guy 974fc31856
INA3221 sensor: use for bus voltage & environment metrics (#4215)
* use INA3221 for bus voltage; fixes for telemetry variants

- add to sensors available for environment telemetry
  (to report voltage/current)
- add vars to define channels to use for battery voltage
  (for getBusVoltage) and environment metrics (default
  to CH1 for both)
- write to the correct fields on the measurement struct
  depending on the measurement variant, and DRY up the
  sensor measurement collection code a bit
- this might be suitable for a common implementation for
  the INA* sensors in a future PR...

* formatting

* derp

---------

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-07-11 08:34:55 -05:00
..
AHT10.cpp Add missing excludes to environmental sensors (#4033) 2024-06-04 07:04:25 -05:00
AHT10.h Add missing excludes to environmental sensors (#4033) 2024-06-04 07:04:25 -05:00
BME280Sensor.cpp trunk fmt 2024-05-03 14:26:57 +02:00
BME280Sensor.h MESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR refinements 2024-05-03 14:15:13 +12:00
BME680Sensor.cpp tryfix bme some more 2024-06-03 16:34:19 +02:00
BME680Sensor.h tryfix: init change for BME680 (#3965) 2024-05-31 19:46:42 -05:00
BMP085Sensor.cpp trunk fmt 2024-05-03 14:26:57 +02:00
BMP085Sensor.h MESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR refinements 2024-05-03 14:15:13 +12:00
BMP280Sensor.cpp trunk fmt 2024-05-03 14:26:57 +02:00
BMP280Sensor.h MESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR refinements 2024-05-03 14:15:13 +12:00
DFRobotLarkSensor.cpp DFRobot Lark weather station support (#4032) 2024-06-03 21:50:28 -05:00
DFRobotLarkSensor.h Added (excluded) Dropzone Module for more comprehensive module example (#4098) 2024-06-14 16:27:49 -05:00
INA219Sensor.cpp trunk fmt 2024-05-03 14:26:57 +02:00
INA219Sensor.h MESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR refinements 2024-05-03 14:15:13 +12:00
INA260Sensor.cpp trunk fmt 2024-05-03 14:26:57 +02:00
INA260Sensor.h MESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR refinements 2024-05-03 14:15:13 +12:00
INA3221Sensor.cpp INA3221 sensor: use for bus voltage & environment metrics (#4215) 2024-07-11 08:34:55 -05:00
INA3221Sensor.h INA3221 sensor: use for bus voltage & environment metrics (#4215) 2024-07-11 08:34:55 -05:00
LPS22HBSensor.cpp trunk fmt 2024-05-03 14:26:57 +02:00
LPS22HBSensor.h MESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR refinements 2024-05-03 14:15:13 +12:00
MCP9808Sensor.cpp trunk fmt 2024-05-03 14:26:57 +02:00
MCP9808Sensor.h MESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR refinements 2024-05-03 14:15:13 +12:00
MLX90632Sensor.cpp MLX90632 IR temperature sensor support (#4019) 2024-06-02 09:38:28 -05:00
MLX90632Sensor.h MLX90632 IR temperature sensor support (#4019) 2024-06-02 09:38:28 -05:00
NAU7802Sensor.cpp WIP: add NAU7802 based scale controller. (#4092) 2024-06-15 19:59:22 -05:00
NAU7802Sensor.h WIP: add NAU7802 based scale controller. (#4092) 2024-06-15 19:59:22 -05:00
OPT3001Sensor.cpp fix for MESHTASTIC_EXCLUDE_INPUTBROKER 2024-06-17 20:17:56 +02:00
OPT3001Sensor.h fix for MESHTASTIC_EXCLUDE_INPUTBROKER 2024-06-17 20:17:56 +02:00
RCWL9620Sensor.cpp rearrange includes 2024-05-06 12:15:49 +12:00
RCWL9620Sensor.h add MESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR exclusion to RCWL9620 2024-05-06 11:25:18 +12:00
SHT4XSensor.cpp Change SHT4X sensors library from Sensirion to Adafruit 2024-05-14 21:07:44 +02:00
SHT4XSensor.h Change SHT4X sensors library from Sensirion to Adafruit 2024-05-14 21:07:44 +02:00
SHT31Sensor.cpp trunk fmt 2024-05-03 14:26:57 +02:00
SHT31Sensor.h MESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR refinements 2024-05-03 14:15:13 +12:00
SHTC3Sensor.cpp trunk fmt 2024-05-03 14:26:57 +02:00
SHTC3Sensor.h MESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR refinements 2024-05-03 14:15:13 +12:00
TelemetrySensor.cpp trunk fmt 2024-05-03 14:26:57 +02:00
TelemetrySensor.h WIP: add NAU7802 based scale controller. (#4092) 2024-06-15 19:59:22 -05:00
TSL2591Sensor.cpp Add missing excludes to environmental sensors (#4033) 2024-06-04 07:04:25 -05:00
TSL2591Sensor.h Add missing excludes to environmental sensors (#4033) 2024-06-04 07:04:25 -05:00
VEML7700Sensor.cpp Add missing excludes to environmental sensors (#4033) 2024-06-04 07:04:25 -05:00
VEML7700Sensor.h Add missing excludes to environmental sensors (#4033) 2024-06-04 07:04:25 -05:00
VoltageSensor.h MESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR refinements 2024-05-03 14:15:13 +12:00