This compact MIDI out will turn your microcontroller into a laser harp, a track synthesizer for 8-bit games, or even a drum machine.
This Troyka module allows you to connect custom built devices to create professional sound and stage equipment using the MIDI interface.
Musical Instrument Digital Interface, or MIDI for short, is a popular standard for exchanging digital data between musical instruments, stage equipment, switches, and computers.
MIDI defines a single encoding format for keystroke data, audio parameters, and advanced hardware settings. The interface allows the artist to press a key on one instrument and get sound from another. Any change in the position of keys, buttons, or knobs is encoded into commands that can be transmitted via MIDI cables to other instruments. The device that receives the command reacts as if someone had pressed its keys.
At the physical level, MIDI is a unidirectional interface that combines devices on a single bus. The signal source transmits data over two wires up to a distance of 50 feet. The signal is transmitted at a current of 5 mA, where the current is switched on by a 0, and off by a 1.
The module communicates with a controller board using an interface similar to UART.
The lower group of contacts are intended for data exchange:
Additionally, the module has a data transmission indicator. When data is sent the red LED lights up.
There are several different ways to wire this module:
Troyka Shield. The most straightforward method. Connect the module to a pin group on Troyka Shield with the 3-pin jumper cable and you’re ready to interface with it from your Arduino.
Troyka Slot Shield. The best choice for quick prototyping. Using slots on the shield, you can get rid of cables. The module will be held securely in place using both pin headers. In this case, the upper legs serve to secure the module.
Breadboard. For advanced use. Troyka pin headers have 0.1” spacing which is compatible with any breadboard. Simply wire the module like you would do with any IC.