Page 1 of 1

How do I address the USB port of my Wemos lolin32 lite in micropython?

Posted: Mon Jan 29, 2018 9:35 pm
by eefscheef
Title says it all, is it possible to read data from the microUSB port on my board and get the power from another source? Mycropython is not essential, but would make things easier. Sorry if this is a stupid question, but I can't find anything about it on the internets

Re: How do I address the USB port of my Wemos lolin32 lite in micropython?

Posted: Tue Jan 30, 2018 2:50 am
by ESP_Sprite
The USB port on your board is most likely connected to an USB-serial converter, which in turn is connected to the serial port of the ESP32. If what you're trying to connect the micro-USB-port to is okay with acting as a host and talking to an USB-to-serial converter, you can use the standard serial communication functions of whatever language you use. If not... well... unfortunately there's not much you can do without modifying the hardware.

Re: How do I address the USB port of my Wemos lolin32 lite in micropython?

Posted: Tue Jan 30, 2018 6:36 am
by eefscheef
That was exactly what I wanted to do, thank you very much.