Little music keyboard thing

So I'm a bit of a noob at this Arduino stuff, but then thats allowed considering I've only had it about 4 days, right? :wink:

Anyway, this is the coolest thing I've built yet. It's a little keyboard that pumps out data which is then converted to midi in Processing, which then gets sent to Ableton Live. I think the coolest thing about it is that it would be SUPER easy to extend the number of buttons on this, as to add two extra buttons requires the addition of only one extra output pin! If it wasn't for my tiny breadboard (and lack of buttons...) I'd have made it have a full octave!

Anyway, here's a little video:

And the schematic from which I copied the button reading method:


(The bit at the bottom left)

I had to modify it slightly to work with the Arduino, in the form of some pulldown resistors on the inputs and replacing the diodes with LEDS (and, of course, resistors).

To read the inputs, I do it in stages. From that schematic (ignoring the higher 4 buttons), first I drive pin 10 high and pin 13 low, then read the state of pin 14 and 15. Then I drive pin 10 low and pin 13 high, and read pin 14 and 15. Easy!

I think this is a pretty nice way of reading buttons. Not very useful for 4 or fewer buttons, but definitely a nice way of saving some pins if you have more!

Cheers for reading, let me know your thoughts and of any improvements you would make! :slight_smile:

I've just put up the schematic and code for this on my site:

http://www.combatdave.com

Aww nobody cares :frowning:

I think with 208 views someone must care. There are a lot of lurkers on the site. This is radio ham slang for those who just look in but don't post. There is nothing wrong with that but it can make you think no one is paying attention.

Thanks for posting this it is always good to see what people doing with this platform.
The beauty of a project like this is that you can extend it in all sorts of ways as you no doubt know. :wink:

Hey,
Im working on a Arduino MIDI project too!
(http://arduinoblog11.blogspot.com/) I really like how you converted the data to midi in processing. My board had a midi out jack right now, but I might convert it to the processing example. Save me some space for a DAC. Thanks for sharing.

Nigel