J
@brossingo Well, if you're not too versed into electronics, you should probably read up a bit before connecting things. As @Martinnn pointed out, connecting things without paying to much attention can lead to frying up hardware.
Also note that Lithium batteries can be very dangerous. If you handle them incorrectly they can catch fire and/or explode.
Even if you didn't fry the ESP32, the voltage of a LiPo battery exceeds the maximum voltage with attenuation, and completely blows out the maximum voltage without, which explains why you would get the max reading all the time. You need to use a voltage divider and correctly set attenuation.
Note that there is already a voltage divider on the expansion board, you should probably use that. There's been ample discussion on the topic in the forum.