I can't find a clear answer on this through my searches, maybe someone here can help me.
Can I power my ESP32 through the Vin pin?
What is the best way to do it?
I can't find a clear answer on this through my searches, maybe someone here can help me.
Can I power my ESP32 through the Vin pin?
What is the best way to do it?
Vin on Arduinos, and on this kind of "compatible" ESP32 boards, is connected to a voltage regulator on the board, in this case the AMS1117, which is a linear regulator with a 3.3 V output.
As it is a linear regulator, I wouldn't put too high a voltage on the regulator's input, as it may run hot. It is a low-drop-out regulator, and should work properly with 5 V as input voltage.
You could also use USB to power the board, of course.
It totally depends on your development board.
You can check your connection with schematic. If the Low Drop-Out (LDO) regulator input is directly tied to Vin then you can use this pin directly as the input. Most of the boards outputs are like that. I think your board has the connection and you can use this pin as voltage input.
If you use USB charging with AC electricity, I recommend to you use a capacitor between the Vin and GND pins.
I'm using a dev similar board.
As @ocrdu mentioned, there is a power regulator on the dev kit board, but the ESP32 itself only uses 3.3v
I have been able to power mine a few ways: