diff --git a/boards/sdkconfig.base_defaults b/boards/sdkconfig.base_defaults index fe9db53..a624d2a 100644 --- a/boards/sdkconfig.base_defaults +++ b/boards/sdkconfig.base_defaults @@ -603,23 +603,6 @@ CONFIG_LED_EXTERNAL_PWM_FREQ=5000 CONFIG_LED_EXTERNAL_PWM_DUTY_CYCLE=100 # end of OpenIris: LED Configuration -# -# OpenIris: Monitoring -# -CONFIG_MONITORING_LED_CURRENT=y -CONFIG_MONITORING_LED_ADC_GPIO=3 -CONFIG_MONITORING_LED_GAIN=11 -CONFIG_MONITORING_LED_SHUNT_MILLIOHM=22000 -CONFIG_MONITORING_LED_SAMPLES=10 -CONFIG_MONITORING_LED_INTERVAL_MS=500 -CONFIG_MONITORING_BATTERY_ENABLE=y -CONFIG_MONITORING_BATTERY_ADC_GPIO=1 -CONFIG_MONITORING_BATTERY_DIVIDER_R_TOP_OHM=10000 -CONFIG_MONITORING_BATTERY_DIVIDER_R_BOTTOM_OHM=10000 -CONFIG_MONITORING_BATTERY_SAMPLES=10 -CONFIG_MONITORING_BATTERY_INTERVAL_MS=1000 -# end of OpenIris: Monitoring - # # Camera sensor pinout configuration # diff --git a/main/Kconfig.projbuild b/main/Kconfig.projbuild index d5cfb2a..1a81688 100644 --- a/main/Kconfig.projbuild +++ b/main/Kconfig.projbuild @@ -204,7 +204,9 @@ menu "OpenIris: Monitoring" range 0 48 default 3 help - GPIO connected to the current sense input (ADC1 on ESP32-S3: 1..10 supported). + GPIO connected to the current sense input. On ESP32-S3 ADC1 channels + 0..9 map to GPIO1..10; On ESP32 ADC1 channels 0..3 map to GPIO36..39, + channels 4..7 map to GPIO32..35; adjust if your board uses a different pin. config MONITORING_LED_GAIN int "Analog front-end gain/divider" @@ -240,7 +242,7 @@ menu "OpenIris: Monitoring" config MONITORING_BATTERY_ENABLE bool "Enable battery voltage monitoring" - default y + default n help Enables an ADC-based readout of the lithium battery voltage so the software can report remaining charge in commands or REST endpoints. @@ -252,7 +254,8 @@ menu "OpenIris: Monitoring" default 1 help GPIO that is wired to the battery sense divider. On ESP32-S3 ADC1 channels - 1..10 map to GPIO1..10; adjust if your board uses a different pin. + 0..9 map to GPIO1..10; On ESP32 ADC1 channels 0..3 map to GPIO36..39; + channels 4..7 map to GPIO32..35; adjust if your board uses a different pin. config MONITORING_BATTERY_DIVIDER_R_TOP_OHM int "Battery divider top resistor (ohms)"