Instructables

Arduino MIDI controller - techshop using scarff boarduino

Picture of Arduino MIDI controller - techshop using scarff boarduino
I've looked around at a number of different arduino solutions for MIDI. My project concept involves over 100 analog inputs that each sense velocity and provide MIDI output.   Using the background info i got from techshop class i decided to set this up first with six analog inputs.

This Arduino that is  sold by Tom Scarff is called 'boarduino'  He ships quickly and is very reliable and responsive to silly questions by beginners.   It's an  ATmega168 microcontroller chip;  analog 0 thru 5 pins; and comes preprogrammed with a "no-wait" Arduino bootloader  2 red LEDs, power and "pin 13" just like the Arduino Diecimila with a 16 hz clock (resonator)  It has the 2-pin header for MIDI OUT.  

The arduino source code is available on his site.
 
Remove these adsRemove these ads by Signing Up

Step 1: Building a midi controller with the boarduino

Picture of Building a midi controller with the boarduino
Tom Scarff is an expert in this field.  He supported me on my previous midi project, "a midi controlled, pneumatically operated, fire breathing dinosaur named Lunarsaurus which I showed at Maker Faire.

So I turned to him for this  project and found that he already had a kit (called a boarduino) ready to go.
http://midikits.net23.net/midi_boarduino/midi_boarduino.htm   The Boarduino is interesting because of its size.  It's tiny (.75" x 3.75") and will fit in a small spot and the price is good.  I prefer to buy it assembled - one less variable.

The easiest way to get started is to put a 9v battery on the standard 2.1 mm.  Here a word of warning.  You need to keep the power source within spec.   I left my battery plugged in over a week or so, it dropped down below 9v and the microprocessor (trying as hard as it might) lost its marbles.  Fortunately one can re-upload the code and you are back in business.

You can also provide 5vDC to the serial pin or the board but be very careful as there is no diode to protect you for reverse polarity (as there is with the 9v external plug).



how to you plan to expand this to 100 inputs?
daveclark5 (author)  amandaghassaei1 year ago
http://mayhewlabs.com/products/arduino-mux-shield

snap on two of these to two separate arduino boards (or stack on one board). communication between the two boards can be via I2C. Which I am trying to learn about right now. (http://www.instructables.com/id/I2C-between-Arduinos/ )

I've thought about having six mux's each with an input to an analog pin - but i don't think it will save that much with speed and probably what i have will suffice.
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!