LilyGo TTGO-T18 T-Energy

Hello,

i´m very new to the whole ESP world and i have an LilyGo TTGO-T18 and want to get the battery value of the internal battery holder. I found out that the ADC Pin is 35.
If i understood this correct the attenuation is 11db but what i don´t understand what multiplier i need to set. Can anyone help me here out?

Just add the following code to your YAML:


sensor:
  - platform: adc
    pin: 35
    name: NameXYZ
    update_interval: 3s
    attenuation: auto
    filters:
      - multiply: 2
1 Like