An open API service indexing awesome lists of open source software.

https://github.com/gdsports/m5stackusbexamples

M5Stack USB Host Examples
https://github.com/gdsports/m5stackusbexamples

arduino esp32 m5stack usb-host

Last synced: 9 months ago
JSON representation

M5Stack USB Host Examples

Awesome Lists containing this project

README

          

# M5Stack USB Host Examples

* [USB Keyboard](./usbkbd)
* [USB Postage Scale](./usbscale)
* [USB Flight Stick](./usbt16km)

## M5Stack Core + USB host module

The M5Stack USB module provides the USB host interface for the printer. The USB
module is based on the MAX3421E USB chip which is supported by the USB Host
Shield 2.0 library.

### Hardware

* M5Stack core (ESP32, battery, display, etc.) https://m5stack.com/collections/m5-core/products/grey-development-core
* M5Stack USB host module (MAX3421E) https://m5stack.com/collections/m5-module/products/usb-module
* USB cable
* USB keyboard
* USB Dymo 10 pound postage scale
* USB Thrustmaster T.16000M Flight Control Stick

### Libraries

* USB Host Shield 2.0 https://github.com/felis/USB_Host_Shield_2.0
* Highly recommended: PR #473
* Highly recommended if using USB hubs: PR #414

## Arduino upload failure

I found installing a 1 uF capacitor between GND and RST helps a lot. See
the link for more discussion.

http://community.m5stack.com/topic/55/simple-fix-when-upload-fails

## Battery Power On Failure

When running on battery, the M5Stack does not turn on when the USB host module
is installed. The M5Stack works fine running on battery but once it is turned
off, it can only be turned on by plugging in power via the USB jack.

The M5Stack power on works correctly when the USB host module is removed.