-->
Page 1 of 1

One USB for charging and serial communication

PostPosted: Thu Jul 29, 2021 9:37 am
by Jakub Kubny
Hello,
In my ESP8266 project, I would like to have one universal USB interface for a battery charging and also for serial communication and firmware uploading.

The ESP8266 is powered by a Li Ion cell and I've got a following thought: When I connect the device to a (for example) mobile charger, it would be nice, if a cell starts charging. And also, when I connect the device to a computer using same USB interface, it should be possible to upload new firmware or debug the device using a serial monitor.

Is this setup possible and how to do that?

Thanks.