https://github.com/gdsports/mididump
Display USB MIDI events on M5Stack display
https://github.com/gdsports/mididump
arduino esp32 m5stack midi usb-host
Last synced: 26 days ago
JSON representation
Display USB MIDI events on M5Stack display
- Host: GitHub
- URL: https://github.com/gdsports/mididump
- Owner: gdsports
- License: mit
- Created: 2019-07-14T09:22:57.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-07-15T02:17:20.000Z (almost 6 years ago)
- Last Synced: 2025-03-23T21:35:41.472Z (about 1 month ago)
- Topics: arduino, esp32, m5stack, midi, usb-host
- Language: C++
- Size: 357 KB
- Stars: 13
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# M5Stack Portable USB Host MIDI Display

Plug in a USB MIDI keyboard into the M5Stack USB host port and see MIDI events
on the display. When the screen is full, press Button A to clear. Runs on
battery with a plain USB MIDI keyboard. USB MIDI devices with lots of LEDs or
complex functions such as sampler, sequencers, and displays may draw too much
current for the M5Stack battery. Try powering the M5Stack via its USB port or
power the MIDI device using its own power supply, if available.## 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 MIDI keyboard
* USB cable### 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.