SparkFun
SparkFun MIDI Shield
The SparkFun MIDI Shield board gives your Arduino-based device access to the antiquated, but still widely used and well supported MIDI communication proto...
Get notified when back in stock
The SparkFun MIDI Shield board gives your Arduino-based device access to the antiquated, but still widely used and well supported MIDI communication protocol, so you can control synthesizers, sequencers, and other musical devices. The MIDI protocol shares many similarities with standard asynchronous serial interfaces, so you can use the UART pins of your Arduino to send and receive MIDI’s event messages.
The SparkFun MIDI Shield provides an opto-isolated MIDI-IN port as well as a MIDI-OUT port. The MIDI Shield can be mounted directly on top of an Arduino, connecting the MIDI-IN to the Arduino’s hardware RX pin and the MIDI-OUT to TX. Potentiometers are connected to analog pins 1 and 2, and can be used to control volume, pitch, tone or anything else you’d like. The shield also comes with three momentary push buttons, a reset button, and green and red stat LEDs. The RUN/PROG switch allows you to program the Arduino over serial without having to remove the shield.
This revision of the SparkFun MIDI Shield also adds several configurable features, such as converting the MIDI output to a MIDI thru, and the option to use a software serial port for MIDI, leaving the hardware serial for programming and debugging. It also buffers the output, making it compatible with the Arduino Pro without needing to circumvent the protection resistors on the serial TX and RX lines.
Note: The MIDI Shield does not come with all parts soldered on. Two MIDI connectors, two trimpots, and three pushbuttons are included with the product and will need to be attached by the end user.
Includes:
- SparkFun MIDI Shield PCB
- 2x 5-pin DIN conectors
- 2x 10K rotary potentiometer
- 3x 12mm tactile pushbutton switches
Documents:
Jargon buster
Plain-language definitions for the technical terms used above.
- DIN
- As a pin label, DIN stands for 'data in', the input through which a device receives serial data from a controller, as found on SPI displays, LED drivers and other serial modules. DIN can also refer to the German standards body of that name, as in a round multi-pin DIN connector or DIN-rail mounting.
- MIDI
- MIDI is a standard way for electronic instruments, controllers, and software to send musical control messages such as notes, velocity, and timing. If a board supports MIDI, it can be triggered from keyboards, drum pads, sequencers, or other music gear rather than only from buttons or code.
- PCB
- A printed circuit board (PCB) is a board, usually rigid, with etched copper tracks that connect electronic components together without loose wiring. Components are mounted on the board and signals route between them through the copper layout.
- potentiometer
- A variable resistor usually turned with a knob or shaft to create an adjustable electrical signal. It is often used for inputs such as volume, brightness or position, so it helps beginners learn how a microcontroller reads changing values.
- RX
- RX means receive, usually showing data being received by the board. An RX indicator LED can help with troubleshooting USB or serial communication.
- Shield
- An add-on board that plugs into a main controller board to give it extra features such as sensing, motor control or communication. Knowing a product supports shields helps you judge whether it can connect neatly into an existing maker-board setup.
- TX
- TX means transmit, usually showing data being sent from the board. A TX indicator LED can help you see when the board is communicating or uploading code.
- UART
- UART is a simple asynchronous serial interface that sends data over separate transmit and receive wires, usually labelled TX and RX, with both ends set to the same baud rate. It is a common way for microcontrollers and other serial devices to exchange data.
Find this product in
Audio & Video
Brands
SparkFun MIDI Shield Schematic
Schematic · 139.8 KB · Click any page to view full size
Supplier page — sparkfun.com
Supplier Description · 681.9 KB · Click any page to view full size
Resources & Downloads
Guides, code examples, and more
Source Code
Open-source libraries, firmware & example projects for this product
Midi shield product 9595, available from SparkFun Electronics
66a5664
over 6 years ago
· 37 commits
- Firmware Removing some debug statements from "Verbose" macro. over 10 years ago
- Hardware Fixing QC review issue with LP1,2 naming. almost 11 years ago
- Production created panel v15 almost 11 years ago
- .gitattributes Adding in Firmware and board files over 11 years ago
- .gitignore Adding in Firmware and board files over 11 years ago
- LICENSE.md Updating MIDI-CV example. almost 11 years ago
- README.md Update README.md over 6 years ago
Related Tutorials
Free guides on learn.littlebird.com.au