Monday, 6 October 2014

How to Add Midi Port to a Keyboard

Turn any cheap keyboard into a MIDI keyboard!

This is a tutorial for adding a MIDI port to a keyboard without one, so that you can use to interface with various programs such as FL Studio, Ableton Live, Cubase, Garage Band, Pro Tools, and more.

Also works with Synthesia!


Materials used:
1 Arduino Uno
2 Serial-parallel register
6 10k ohm resistors
1 220 ohm resistor
1 Prototype board
1 Female midi port
1 Male pin header

All can be had on eBay for approximately $10 USD.


Final Arduino code:

Pull-up resistor version:

Pull-down resistor version:


Here's some useful links:

Shift Registers rundown:

Pull-up/pull-down resistors:

Installing Arduino:

Arduino language tutorial (although the code used in this video is pretty self-explanatory):

MIDI note table: