I'm a begginer in this area but could I connect a resistor in the analog pin before that it connect with the ESP32 pin? I think that with this i ensure that the voltage is not exceeded
This is correct?