3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Arduino MIDI-in shield

Arduino MIDI-in shield
This instructable shows how to build a shield to connect devices that send MIDI signals (e.g. a masterkeyboard) to an Arduino.
The basic schematic is derived from: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1187962258/
 
Remove these adsRemove these ads by Signing Up
 

Step 1The schematic

The schematic
Basically the schematic is just an optocoupler with some resistors to decouple the MIDI device from the Arduino.
Note that the DIN connector on the left side is seen from the back (solder pin-side).
« Previous StepDownload PDFView All StepsNext Step »
13 comments
Aug 17, 2010. 6:28 PMpluseinn says:
If you are having a problem with this schematic then this might help. Don't connect anything to the pin with the 100k resistor on the drawing. This took me a week to figure out.
Mar 14, 2010. 6:46 AMgel. says:
Would you know where to buy a MIDI connector? I've been having problems finding a source besides SparkFun.
Oct 7, 2009. 7:18 PMmortaldoom780 says:
I made this circuit, debugged it, asked in forums, and it STILL does not work!!! What could be wrong? I am using the 4N28 as above
Oct 8, 2009. 3:46 AMmortaldoom780 says:
Ok I fixed it. It seems that it does not operate with the 100K resistor on pin 6 connected to ground. I removed the resistor, and left pin 6 connected to nnothing, and I am now registering serial data. Now I just have to verify the operation will be reliable...
Sep 6, 2009. 8:52 AMdaulef says:
I'm going to try and use this with the Auduino Synth, maybe use a proto-shield instead of etching my own though..
cheers!
Sep 8, 2009. 7:58 AMdaulef says:
I've got a couple of instructables in the works atm, but the midi auduino is on the cards!
Jul 16, 2009. 2:13 PMReCreate says:
Wait..Arduino's can play midi's?
Jul 17, 2009. 9:13 AMReCreate says:
Oh i get it now ;)
Jan 6, 2009. 8:40 PMdfowler7437 says:
I recently posted about some Breadboard adapters at uCHobby including a MIDI In and MIDI Out adapters. These could be used the Arduino and feature an enable that allow for safe use along with the boot loader. I will try to have a more detailed write up on the MIDI adapters soon.

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
31
Followers
6
Author:carkat