Hey guys,
Is there a way to read current voltage input from VIN port? Because i am going to use a 3.7V 2600mAh battery to power the rig and i wanted to estimate how much power battery currently has by calculating it with the voltage.
Obviously on the "Doit.am ESP32 devkit". Whatever the hell that is (when using some specific board from a third party manufacturer, do the people who are helping you for free a favor and link to it!)
Put it through a resistor divider and connect to analog input. Same as you would do on any other microcontroller.
Does the regulator on that board give you 3.3v from 3.7? Most linear regs have too much dropout for that (and last time I looked, the ones that have low enough dropout for that have very low maximum input voltage).