Hi, I have this ESP32, can please some explain to me the difference between the ESP32 VIN and 3v3, from what I understand the VIN is for inputs only, but I powered a 4 relay module with that when I plug it with an micro-usb, is it normal ? Can it effect my esp32 on the long term ?
I do not know this board but Vin is generally a 6-12 volt input which the onboard regulator would change to either 5V or 3V3 depending on the processor. Some boards will add a second regulator to step the Vin to 5V and that to 3V3. The best solution is at look at the schematic.
The USB supply's 5V power which the onboard regulator adjusts to 3V3 for the processor and applies it to the 5V pin.