Skip to content
ESP8266 USB host demos
Branch: master
Clone or download
Latest commit 75ebcc4 Aug 16, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples Initial commit Aug 16, 2017
images Initial commit Aug 16, 2017
.gitignore Initial commit Aug 15, 2017
LICENSE Initial commit Aug 16, 2017
README.md Initial commit Aug 16, 2017

README.md

ESP8266 USB host demos

WiFi-enable a wide variety of USB devices using an ESP8266 and a USB host shield. For example, add a WiFi interface to a USB barcode reader or a USB RFID keyfob reader.

USB host shield

The WeMos D1 R2 board appeared to be the ideal board to use with a USB host shield. The D1 is built around an ESP8266 and is laid out like an Arduino Uno. However, the D1 does not have an ICSP connector so this prevents the USB host shield board from working. This can be fixed with some modifications to the USB host shield board. The hardware build details are on the wiki.

USB host mini

If you want to get small and battery powered, the Adafruit Huzzah Feather and USB host mini board are made for each other. Actually, no, but with a few modifications, they can talk to each other. This combo is much smaller than the D1 and USB host shield. The hardware build details are on the wiki.

The example programs run on the D1 and the Feather. The programs are designed to work with devices that look like USB keyboards. This includes keyboards as well as barcode scannners and simple RFID keyfob scanners. usbkbdwifi implements a TCP server on port 23. A client such as netcat (nc) can connect to the barcode scanner like this: nc <ESP IP address> 23. usbkbdpost does an HTTP POST to a test HTTP server when a barcode is scannned.

You can’t perform that action at this time.