Hello,
TL;DR: I'm looking for help in attaching my Due to my keyboard's 'to host' usb, such that I can send midi note information from the Due to the Keyboard.
I have built myself a midi pedal board, that I would like to hook up to my Yamaha Genos keyboard via USB. When I started the project, I thought that that would be simpler. I think I was wrong about that. But anyway, I have successfully written a sketch that sends the notes to the Genos -- when hooked up through my computer, that is. If I plug it in directly, nothing happens. Even when I supply external power to the Due, there is no response to the notes from the Genos. If this were just for home use, I wouldn't bother, but I provide music for my Church (when not restricted by COVID), and it is not feasible to bring the computer with me.
I suspect that it is because both the Due and the Genos are acting as 'devices', and that one needs to have a 'host'. I have read somewhere that the Due can act as a Host mode for one device. (As opposed to multiple devices through a USB hub.) Can anyone provide any tutorials/starting points/suggestions as to how I would go about this. Please let me know if you need any other information.
Thank you!
Adam Parker
PS. As an alternative, can anyone tell me if the Sparkfun Midi Shield is compatible with the Due? I'm concerned about the 3.3v limit the Due requires. Maybe it would be better to reprogram for the Shield, and use the regular 5-pin midi rather than bother with the USB Midi.