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.

Share this:

Support CNX Software! Donate via PayPal or cryptocurrencies, become a Patron on Patreon, or buy review samples

Subscribe
Notify of
guest
The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment.
5 Comments
oldest
newest
Rogan Dawes
Rogan Dawes
5 years ago

That is awesome work! Well done!

ben
ben
5 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
5 years ago

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

Mario
5 years ago

Nice, thanks!

Advertisement