logo elektroda
logo elektroda
X
logo elektroda

Mill ESP32 Esphome - what is connected to GPIO35? Fluctuating voltage on a pin

redblue 441 9
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 21745834
    redblue
    Level 11  
    Hello

    I have written a radiator soft based on ESPHome and everything even works, however something is connected to GPIO 35 of ESP32, see pictures 1 and 2. What could it be? I've given a simple code to read the voltage on the pin, it wiggles, see picture 3 "Mill WC Marcin NTC Voltage2".

    PCB with ESP32 module, power components and various connected wires
    PCB with ESP32 and connected wires inside a heater casing
    ESPHome panel with sensor data and system logs for Mill WC Marcin heater

    https://github.com/redblue-pkt/mill-esp32
  • ADVERTISEMENT
  • #2 21746162
    Anonymous
    Level 1  
  • ADVERTISEMENT
  • #3 21746195
    inot
    Level 38  
    In the picture you can see that GPIO35 is connected to something (marked with an arrow), but the further signal path cannot be discerned. It looks like the output of an optocoupler.
    Attachments:
    • Mill ESP32 Esphome - what is connected to GPIO35? Fluctuating voltage on a pin Screenshot 2025-11-09 144009.png (736.9 KB) You must be logged in to download this attachment.
  • ADVERTISEMENT
  • #4 21746217
    Anonymous
    Level 1  
  • #6 21746318
    Anonymous
    Level 1  
  • #7 21746329
    redblue
    Level 11  
    Hex editor showing binary data from flash_dump.bin file in Okteta on Linux
    Hex view of a binary file with highlighted text strings ADC and error messages.

    You can see that the factory software is somehow doing a readout of this GPIO. The chip this path goes to is the L2145, I am basing this on this documentation.

    ESP32-WROOM-32 pinout diagram highlighting GPIO35 as ADC1_7

    Code to read GPO 35.
      - platform: adc
        pin: GPIO35
        name: ${sub_text_devicename} NTC Voltage2
        id: ${sub_esphome_name}_adc_sensor2
        icon: mdi:flash-outline
        update_interval: 30s
        attenuation: 12db
        #filters:
        #  - multiply: 3.3
        filters:
          - multiply:  0.97
          - sliding_window_moving_average:
              window_size: 15
              send_every: 5
    Attachments:
    • flash_dump_400.bin (4 MB) You must be logged in to download this attachment.
  • #8 21746510
    inot
    Level 38  
    It is necessary to trace where the path leads from resistor R15 so that the source of this measurement can be determined.
  • ADVERTISEMENT
  • #9 21746550
    redblue
    Level 11  
    Which means I have to take the radiator apart.... again... Good.
  • #10 21746590
    inot
    Level 38  
    By the way, take a clearer picture of this section. It is not possible to recognise all the connections.
    Attachments:
    • Mill ESP32 Esphome - what is connected to GPIO35? Fluctuating voltage on a pin Screenshot 2025-11-09 201646.png (849.64 KB) You must be logged in to download this attachment.
ADVERTISEMENT