MIDI is a serial protocol, so normally you want to connect to a UART. The main UART is on GPIOs 14 (TX on pin 8) & 15 (RX on pin 10).
You can't connect directly from the UART to MIDI as one is a voltage drive and the other is a current loop.
You'll need circuits similar to https://cdn.sparkfun.com/assets/learn_t ... midihw.gif which is part of their tutorial on MIDI https://learn.sparkfun.com/tutorials/midi-tutorial/all
MIDI uses a baud rate of 31.25kbaud which is a little unusual. The Linux kernel doesn't support that rate by default, so you'll need "dtoverlay=midi-uart0" or equivalent to remap the 38.4kbaud mode to 31.25kbaud for MIDI.
You can't connect directly from the UART to MIDI as one is a voltage drive and the other is a current loop.
You'll need circuits similar to https://cdn.sparkfun.com/assets/learn_t ... midihw.gif which is part of their tutorial on MIDI https://learn.sparkfun.com/tutorials/midi-tutorial/all
MIDI uses a baud rate of 31.25kbaud which is a little unusual. The Linux kernel doesn't support that rate by default, so you'll need "dtoverlay=midi-uart0" or equivalent to remap the 38.4kbaud mode to 31.25kbaud for MIDI.
Statistics: Posted by 6by9 — Mon Aug 19, 2024 5:47 pm