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

5
Leave a Reply

avatar
5 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
5 Comment authors
cnxsoftMariozoobabbenRogan Dawes Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
Rogan Dawes
Guest
Rogan Dawes

That is awesome work! Well done!

ben
Guest
ben

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
Guest

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

Mario
Guest
Mario

Nice, thanks!