ESP8266 Gets USB Support Thanks to ESPUSB Software Stack

Neither ESP8266 nor ESP32 support USB, so what am I babbling about? No, ESP8622 did not suddenly grow a USB PHY, but cnlohr decided to implement virtual USB support using two GPIOs (12 & 13) for the D+/D- USB signals, meaning you can connect any ESP8266 module through USB, or even update the firmware through USB without external hardware, apart from a single extra resistor.

ESP8266_USB_Firmware_UpdateThe source code is available on espusb repo on github. Please note that the code is currently work in progress, and USB implementation currently only works at 1.5 Mbit/s, with potentially future support for 12 Mbit/s.

That’s the demo, and an explanation about the design process.

Support CNX Software - Donate via PayPal or become a Patron on Patreon
Advertisements
Subscribe
Notify of
guest
5 Comments
oldest
newest most voted
Rogan Dawes
Rogan Dawes
3 years ago

That is awesome work! Well done!

ben
ben
3 years ago

LUFA and V-USB seem like good places to start if implementing a usb software stack!
http://www.fourwalledcubicle.com/files/LUFA/Doc/120219/html/_page__alternative_stacks.html

Hopefully he was able to leverage something from that!

zoobab
3 years ago

Redirecting/mirroring the serial console through USB should be easy.

Mario
Mario
3 years ago

Nice, thanks!

Advertisements