Making a Midi keyboard - diyAudio
Go Back   Home > Forums > Live Sound > Instruments and Amps

Instruments and Amps Everything that makes music, Especially including instrument amps.

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 3rd May 2012, 07:48 PM   #1
diyAudio Member
 
Join Date: May 2012
Default Making a Midi keyboard

Hi there.
I'm new to this site, so please be nice :P

I have an old casio keyboard here which is broken. I opened it up and have it sitting here in front of me. What I want to do is use the existing switches that are there for the keys, and use some sort of microcontroller to output a midi signal.
I'm a electronics hobbyist so I know my way around a circuit board, but I am new to Midi, however I understand the fundamentals of it.

Could someone point me in the right direction as to what IC's to use. Maybes there's already an IC that translates switches into a midi signal?

Thanks!
  Reply With Quote
Old 3rd May 2012, 08:02 PM   #2
N Brock is offline N Brock  United States
diyAudio Member
 
N Brock's Avatar
 
Join Date: Oct 2007
Location: Cambridge, MA
Blog Entries: 4
Are the keys just switches (on/off) or do the have velocity information as well?

If they're just switches you can use an arduino pretty easily to do this. There are tons of examples online for midi + arduino.

Good luck,
Nelson
  Reply With Quote
Old 3rd May 2012, 08:12 PM   #3
diyAudio Member
 
Join Date: May 2012
Hmm, I'm not sure what the name of these types of switches are. If you've ever opened a game console controller, its the switches that are on the buttons.
As far as I know, they are just on/off, and they work just like on/offs, so for the sake of this project, lets just assume they are on/off :P
  Reply With Quote
Old 3rd May 2012, 08:23 PM   #4
diyAudio Member
 
indianajo's Avatar
 
Join Date: Jan 2010
Location: Jeffersonville, Indiana USA
See Home he is giving away the scanning software he wrote. See also MIDI & Sound Modules for various other approachs. You have to set the default view yourself at more than 1 day, as the moderator there doesn't want visitors to see anything for some reason.
__________________
Dynakit ST70, ST120, PAS2,Hammond H182(2 ea),H112,A100,10-82TC,Peavey CS800S,1.3K, SP2-XT's, T-300 HF Proj's, Steinway console, Herald RA88a mixer, Wurlitzer 4500, 4300
  Reply With Quote
Old 3rd May 2012, 08:29 PM   #5
diyAudio Member
 
Join Date: May 2012
Would I be correct in saying that what I need is a Midi encoder?
  Reply With Quote
Old 3rd May 2012, 08:48 PM   #6
sreten is online now sreten  United Kingdom
diyAudio Member
 
Join Date: Nov 2003
Location: Brighton UK
Hi,

If the Casio has midi out surely its easiest to fix the Casio ?

rgds, sreten.
__________________
There is nothing so practical as a really good theory - Ludwig Boltzmann
When your only tool is a hammer, every problem looks like a nail - Abraham Maslow
  Reply With Quote
Old 3rd May 2012, 08:53 PM   #7
diyAudio Member
 
Join Date: May 2012
Hi there,
Unfortunately, there's no midi on this keyboard.

Its a Casio MA-201 for anyone that cares.
  Reply With Quote
Old 4th May 2012, 12:00 AM   #8
diyAudio Member
 
indianajo's Avatar
 
Join Date: Jan 2010
Location: Jeffersonville, Indiana USA
kinkennon is giving away midi encoding scanning software for a standard $59 single IC computer with 64 inputs. He has a link to the vendor. If you want to buy an encoder, you are near midiboutique in Bulgaria. They sell both note-on-note-off encoders for one contact, and velocity encoders for two contacts. Many people on the the midi organ forum listed above like artisan in Washingon State.
__________________
Dynakit ST70, ST120, PAS2,Hammond H182(2 ea),H112,A100,10-82TC,Peavey CS800S,1.3K, SP2-XT's, T-300 HF Proj's, Steinway console, Herald RA88a mixer, Wurlitzer 4500, 4300
  Reply With Quote
Old 4th May 2012, 04:37 AM   #9
diyAudio Member
 
Join Date: Nov 2009
Location: Los Angeles
Quote:
Originally Posted by platinum95 View Post
Hi there.
I'm new to this site, so please be nice :P

I have an old casio keyboard here which is broken. I opened it up and have it sitting here in front of me. What I want to do is use the existing switches that are there for the keys, and use some sort of microcontroller to output a midi signal.
I'm a electronics hobbyist so I know my way around a circuit board, but I am new to Midi, however I understand the fundamentals of it.

Could someone point me in the right direction as to what IC's to use. Maybes there's already an IC that translates switches into a midi signal?

Thanks!
I designed and built this critter from 1989 to 1995 and owned it until 2003. All 3 manuals and the pedal board are MIDI with velocity. The processor was an Intel 8031 for each keyboard with external ROM and an 8255 parallel port to send and receive to the switch matrices. Most folks don't do this but RS-232 drivers make excellent MIDI drivers - much more robust than using 74HC04 inverters. Send me an email and you can have the software if for nothing else as a working example. The stops control has capture function (combination action) that runs MIDI SYSEX messages. The streams were all combined with an Anatek studio merge that sent to both windchests in parallel. It isn't very difficult but it's important to not have any bugs.

haskey.com - John Haskey - Residence Pipe Organ

G
  Reply With Quote
Old 7th May 2012, 10:22 AM   #10
diyAudio Member
 
Join Date: Sep 2002
Location: Rosmalen, The Netherlands
Doepfer has some ready made solutions as well, for switches to midi, pots to midi, and I think also keyboard scanning stuff (and complete midi keyboards of course).
__________________
Oemptempa petoempetapap
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DIY MIDI Keyboard (Remodeling!) Clopay Instruments and Amps 6 5th June 2013 12:09 PM
DIY MIDI keyboard Havoc Instruments and Amps 28 11th May 2009 06:42 PM
Adding volume pedal to umx61 midi keyboard bumblebee001 Instruments and Amps 27 24th January 2009 11:21 PM
Evolution MK-7 midi keyboard em2006 Instruments and Amps 1 12th September 2008 08:55 PM
A midi theremin ! Cv-to - MIDI or ADC - MIDI ? bhuddahat Instruments and Amps 2 1st February 2007 11:03 PM


New To Site? Need Help?

All times are GMT. The time now is 10:20 PM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2