One USB for charging and serial communication
![Post Post](./styles/FLATBOOTS/imageset/icon_post_target.gif)
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.
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.