[ESP32-S2] Using USB and an external PSU at the same time?
Posted: Thu Aug 12, 2021 12:22 am
Hi,
I have an ESP32-S2 Saola dev board and I need to upload the sketches/code through USB, as I need the ADCs (so can't enable Wifi to do OTA updates). I also have multiple leds that require external PSU, so I will have a power supply providing power to all the circuit and to the ESP32-S2 aswell (5V through the 5V pin).
My plan is to cut the 5V lane of a USB cable (so only D+, D-, GND) to send the code while being powered by the PSU throught the 5V pin. Will that work or I need to program it through RX and TX pins with a USB to Serial TTL converter (not using the 5V lane, only data and ground)?
Thanks in advance
I have an ESP32-S2 Saola dev board and I need to upload the sketches/code through USB, as I need the ADCs (so can't enable Wifi to do OTA updates). I also have multiple leds that require external PSU, so I will have a power supply providing power to all the circuit and to the ESP32-S2 aswell (5V through the 5V pin).
My plan is to cut the 5V lane of a USB cable (so only D+, D-, GND) to send the code while being powered by the PSU throught the 5V pin. Will that work or I need to program it through RX and TX pins with a USB to Serial TTL converter (not using the 5V lane, only data and ground)?
Thanks in advance