|
| 1 | + |
| 2 | + |
| 3 | +[](https://github.com/berrak/ESP8266-USBHost-Max3421-Shield/releases/latest) |
| 4 | +[](https://github.com/berrak/ESP8266-USBHost-Max3421-Shield/releases/latest) |
| 5 | +[](https://github.com/berrak/ESP8266-USBHost-Max3421-Shield/stargazers) |
| 6 | +[](https://github.com/berrak/ESP8266-USBHost-Max3421-Shield/issues) |
| 7 | + |
| 8 | +# The ESP8266 USB Host Shield |
| 9 | + |
| 10 | +The USB Host Shield contains all of the digital logic necessary to implement a full-speed USB 2.0 host controller with your microcontroller. |
| 11 | + |
| 12 | +## USB Host + WiFi for microcontrollers |
| 13 | + |
| 14 | +Add WiFi and the ESP8266 USB host shield and control network devices wireless with standard USB HID devices like a keyboard, mouse, and game controller. |
| 15 | + |
| 16 | +An `ESP8266 D1-mini` and the super easy `ESP8266 USB Host Shield` will let you control other WiFi devices wireless without being forced to dedicate an entire computer for such tasks. |
| 17 | + |
| 18 | +Use the host shield and, for example, a `gaming joystick` to interface with and remotely control `within the capabilities` of the [USB Host Shield 2.0 Library](https://github.com/felis/USB_Host_Shield_2.0/), any microcontroller-based device with WiFi. |
| 19 | + |
| 20 | +## Board main features |
| 21 | + |
| 22 | +The host controller MAX4321E chip uses a four-wire serial interface to communicate with ESP8266. A USB type A female connector supplies 5V as any regular USB port would do. The SPI of 26MHz is fast; forget any sluggish UART communication. |
| 23 | + |
| 24 | +- The shield supplies any attached devices with +5V (VBUS) via the connected ESP8266 USB connector. |
| 25 | +- With the ESP8266 USB host shield, there is no risk of wiring it up incorrectly. |
| 26 | +- This device comes fully assembled, and there is no need to program the shield itself. |
| 27 | +- SPI bus voltage levels are 3.3V, thus compatible with modern microcontrollers. |
| 28 | +- The host complies with USB Specification Revision 2.0, i.e., full-/low-Speed 12Mbps/1.5Mbps USB communication. |
| 29 | +- The ESP8266 board power the shield and the MAX3421E with 3.3V. |
| 30 | + |
| 31 | +The additional built-in GPIO pins from MAX3421E are not connected, and some other signals with the limited availability of pins on the ESP8266 D1-mini. See the `schematic` for all details. The Arduino library is for another shield implementation with `MAX3421E`, so certain aspects may not work exactly as in the example sketches. However, we have found that most HID devices are generally recognized. |
| 32 | + |
| 33 | +## Suggested items to add to the board |
| 34 | + |
| 35 | +- Wemos/Lolin ESP8266 D1-mini microcontroller. |
| 36 | +- Female headers for ESP8266 D1-mini. |
| 37 | +- HID devices such as keyboards, mice, gaming joysticks, etc. |
| 38 | + |
| 39 | +Various sellers sell ESP8266 cloned boards on `AliExpress` and `Amazon`. Alternatively, buy the original version of ESP8266 D1-mini at [Lolin](https://lolin.aliexpress.com/store/1331105) official shop. |
| 40 | + |
| 41 | +## Usage |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | +Add the shield board on top of the ESP8266 D1-mini such that both USB connectors are above each other. |
| 46 | + |
| 47 | +- Confirm that the shield cut-out is above the ESP8266 `RESET button` before connecting power! |
| 48 | + |
| 49 | +Please, see the [Arduino library installation documentation](https://docs.arduino.cc/software/ide-v1/tutorials/installing-libraries), and how-to install the Arduino library [USB Host Shield 2.0](https://github.com/felis/USB_Host_Shield_2.0/). |
| 50 | + |
| 51 | +Verify that the USB host shield library can use the device with the Arduino sketch `USBHID_desc`, found among the many examples. |
| 52 | + |
| 53 | +## Specification for the `ESP8266 USB Host Shield v1.0` |
| 54 | + |
| 55 | +* Operating voltage: 3.3V - (via ESP8266) |
| 56 | +* The shield size is 26.5 x 31.5 mm (1.04" x 1.24") and fabricated as a four-layer board for superior signal integrity. |
| 57 | +* Board thickness: 1.6 mm (63 mils). |
| 58 | +* Formfactor and pinout: Wemos/Lolin ESP8266 D1-mini. |
| 59 | +* Weight: 6 gram (0.21 ounce). |
| 60 | +* Height: 17.5 mm (0.69") |
| 61 | + |
| 62 | +## Purchase the board |
| 63 | + |
| 64 | +The `ESP8266 USB Host Shield` board is available only fully assembled. `Tindie` has all the latest designed boards. |
| 65 | + |
| 66 | +[](https://www.tindie.com/stores/debinix/) |
| 67 | + |
| 68 | +I appreciate your support. |
0 commit comments