Control-Surface
Control-Surface copied to clipboard
How connect arduino 8266(node mcu) with zoom g1 xon via usb?
What code do I need to write to connect the device via usb to the zoom pedal and control it? Example in video https://youtu.be/XSJGG0wdzXA
The ESP8266 does not have USB support, you'll need a different microcontroller, one with USB Host capabilities.
Alternatively, you could use some kind of “USB Host shield”, but this can be cumbersome.
Would an esp32 board or an arduino nano board be suitable for this?
Wich arduino boards support usb midi?
The high-end Teensies (3.5, 3.6, 4.1), some models of ESP32, (although these are not officially supported by Control Surface, so you'll need some coding skills to get it to work), the RP2040 (again, coding required), and probably many more.
I don't have enough experience with any of them to recommend a specific one for your use case.
Once you have a board and a library with USB Host support, using it with Control Surface should be very straightforward, you just have to supply functions for reading and writing USB MIDI packets, see e.g. Custom-USB-MIDI-Backend.ino.