From 308918d0b7151ecbf2f884577c805616c04cdd7e Mon Sep 17 00:00:00 2001 From: myhomeiot <70070601+myhomeiot@users.noreply.github.com> Date: Mon, 5 Aug 2024 17:36:12 +0300 Subject: [PATCH] Fix 11db attenuation (#4068) https://github.com/esphome/esphome/pull/6749 --- components/display/inkplate6.rst | 2 +- components/sensor/adc.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/display/inkplate6.rst b/components/display/inkplate6.rst index 0ef6d520d..5d1b7741a 100644 --- a/components/display/inkplate6.rst +++ b/components/display/inkplate6.rst @@ -180,7 +180,7 @@ Wi-Fi, API, and OTA configuration. - platform: adc id: battery_voltage update_interval: never - attenuation: 11db + attenuation: 12db pin: 35 - platform: template name: "Inkplate Battery Voltage" diff --git a/components/sensor/adc.rst b/components/sensor/adc.rst index a95c690e1..d5fe6c2ef 100644 --- a/components/sensor/adc.rst +++ b/components/sensor/adc.rst @@ -63,7 +63,7 @@ ESP32 Attenuation ----------------- On the ESP32 the voltage measured with the ADC caps out at ~1.1V by default as the sensing range (attenuation of the ADC) is set to ``0db`` by default. -Measuring higher voltages requires setting ``attenuation`` to one of the following values: ``0db``, ``2.5db``, ``6db``, ``11db``. +Measuring higher voltages requires setting ``attenuation`` to one of the following values: ``0db``, ``2.5db``, ``6db``, ``12db``. There's more information `at the manufacturer's website `__. To simplify this, we provide the setting ``attenuation: auto`` for an automatic/seamless transition among scales. `Our implementation