Dear Sir, Thank you so much for this interesting project! With the source code and very detailed instructions you provided, I ultimately recover my Kawai PW700 Digital Piano with fried motherboard back to life. The interesting thing is the input process from the code is very easy to understand. I don't know anything about arduino coding but after reading the instruction, I already know what to do. These are what I did: I modified the code based on my keyboad schematic to 88 keys (176 switches with 22x8 matrix), changed the start number for midi code from 36 to 21, then uploaded the code to the arduino. I did the process once without any debugging and it ran perfectly at the first try. You're a truly a life-saver. Loves from Vietnam.
@@minminpx oh I see. My keyboard is an lp 6160 with 3 flex connectors. It is a rescue from the trash. I can't see a name on it to look for a schematic anywhere.
Thanks to Leandro Meucchi, from Argentina, the code is simpler to be used with any keyboard. He made the PDF showing the keyboard wiring for Yamaha PSR530 keyboard that helps a lot what need to be done.
I have Alesis 88 key and an Arduino Mega do you think you could do a video explaining how you wired it up and loaded the source code? or if not please possibly give me some pointers my email is: jellytavern@gmail.com
Thank you very much for the update! After intermittently working on my project keyboard for about two years, I finally got my keyboard up and running! I am using an old KORG Concert 5500 88-key.
Hello Pappu. I also have one Yamaha P35B with a dead mainboard. Can I ask you for some help? I need the code for 88 keys. Also, any other advice will be much appreciated. You can contact me on facebook ( facebook.com/zamfir.vangu.1 ) or through email vangu_zamfir@yahoo.com vanguzamfir@gmail.com Many thanks, Zamfir
Hello friend. I have a m-audio 88 Keys with dead mainboard too. Do you have a vídeo or tutorial, or could you help me with some advices to make It with Arduino? Thanks a lot. eder.quirama@gmail.com or Facebook Ed Keyrama.
For the Alesis QS6 from him are 8 output pins(that send 5 volts, one pin at a time) and 16 input pins(that will cross and be read by the loop starting on line 163). Dont forget to use pullup(can be activated on the arduino IDE, and is the default setting) or use the pulldown option(that needs a 10 - 50k ohm resistor with one leg on input pin and the other leg connected on ground) that uses INPUT(not _PULLUP) on line 108. BTW, the UMX610 uses INPUT and pulldown.
For those who want simple midi out by standard 5pin din without all the usb stuff, software or firmware flash. Just change Serial.begin(115200) by Serial.begin(31250) Connect arduino pin1 (tx) to a 5pin din with a 220ohm resistor Connect 5v also with a 220ohm resistor and connect the ground directly to the 5pin din.
Hello. I've been editing this comment as I debugged the code. I am using the same Fatar TP/9S keyboard as the one in this video. The code as is results with note on and off being backwards and also it'll trigger every note within the output group that you aren't pressing. I could not get the code to work correct without a few minor yet crucial changes. 1 - you're going to have to put a 10k resistor from each input to ground. Without this pull down reading the input's state will not be accurate. In fact it acts haywire. 2 - swap the LOW and HIGH commands when writing to output_pin within the selection_index. This fixed queuing the correct keys rather than the ones you're not pressing. 3 - swap the 0x80 and 0x90 for note on and off. This fixed the note on and off being backwards. It's a great project and is very simple to anyone who understands coding and how a keyboard works. Though documentation is quite poor but it isn't too difficult for an amateur like myself to fix it up to work. I used a program called Hairless MIDI to translate the serial data to MIDI and then used loopMIDI to be used as a ported Midi device to load - in my case within FL studios so I can use it to control VST programs. I'm open to questions to the mass of people here looking for guidance. Just reply to this comment.
Hey dude I dont know if you would be answering me after this while I have an old 49 keys keyboard, lemme go right in I did the matrix and keyboard pins are all connected to the arduino in the digital pins but i dont know what to do right now can i just take this code ???? or ima be bricking something
Hi, i have an 88 keys keybed from a yamaha p35. It has a matrix of 12 colums, which i've connected has inputs, and 15 rows which i have connected has outputs. In the code i have only listed the pins in which are connected rows and colums and written 88 keys instead of 61, with hairless midi i have some inputs from arduino but they are confused. When i press a note on the keyboard i obtain a multiple note sound from the vst and without the velocity but as if it were repeated quickly. Hope you could give to me some little advice, Thank you
Hi Michael, Adding many keys is not a prob (I've explained that on the blog page). Velocity is a next thing. As I did not have initially expensive keyboard to start with (just a push-button type) I had no chance to experiment. However velocity is addable by measuring the timing between same key 2 switches pressed. Code will be a bit more complex and schematics will have a bit more wiring. I'll let you know when I have it working.
Que projeto maravilhoso !!! Estou usando ele como inspiração para o meu ! Estou fazendo (Ou tentando fazer) um workstation como o famoso korg kronos, Estou reultilizando meu antigo piano digital da casio como base de teclas, Estou ultilizando um teensy 4.1 e tudo está indo bem agradeço com as suas contribuições !!! Ótimo trabalho em compartilhar !!!
Mas gostaria de fazer esse mesmo sistema no Arduino. O que me aconselha? Já fiz no Arduino mas só com 8 notas (on-off) Mas não entendi como fazer a expansão para mais notas (61 ou 64).
Try to measure with a multimeter the pin matrix in continuity mode, and press all keys on keyboard, one by one. If it hadn`t worked, invert the probes polarity and press all the keys again, one by one. Do it for all pin combinations, so... Take your time. And get notes of all key combinations on the matrix, until you figure out how it is crossed.
Yow can you help me dude. I'm going on this project right now using arduino mega , I've done everything matrix scan wired all the pins to digital inputs but im stuck here now. if you want to help me and see the whole project contact me 00962790830061 on whatsapp
Olá Jonas, eu consegui fazer um CASIO CTK 485 funcionar com o arduino mega 2560. Postei os resultados no forum do arduino, da uma olhada lá. forum.arduino.cc/index.php?topic=674772.0
@@emersonseiler mano eu olhei aqui e eu entendi algumas coisas mais posso te mandar fotos dos fios do meu teclado para você ver se eu estou fazendo certo e se minha matriz esta realmente certa ?por que nas teclas do meu teclados tem 12 fio que vão na placa mãe e 11 fio que também vão na placa mãe são duas fileiras separadas e parece que as de cima são as entradas e as de baixo são as saídas.
Os pinos que ele usou no mega são os do fundo, onde há mais pinos juntos. Se quiser, tente usar o mega original, ou um que venha com o chip serial original, que assim haverá mais memória disponível e permitirá usar a usb dele para midi tambem.
For the Alesis QS6 from him are 8 output pins(that send 5 volts, one pin at a time) and 16 input pins(that will cross and be read by the loop starting on line 163). Dont forget to use pullup(can be activated on the arduino IDE, and is the default setting) or use the pulldown option(that needs a 10 - 50k ohm resistor with one leg on input pin and the other leg connected on ground) that uses INPUT(not _PULLUP) on line 108. BTW, the UMX610 uses INPUT and pulldown.
Hey man, great video an beautiful keyboard skills I have a Keystation 61 Keybed, coming off of the keybed is a 14 pin wire, was hoping for some help getting this thing hooked up to a Arduino Mega as I've been teaching myself piano on my own on a 25 key! Not many keys and my right hand covers half the keyboard, so time to upgrade Picked up a faulty Keystation 61 from M-Audio and unfortunately it is totally fried but the keybed is in great shape, just looking everywhere for a step by step project and your video is actually the closest thing to my situation as you've done exactly what I need to do, I hope you can spare some time to help me!
Please draw a diagram of how you connected the keys and pedal to the arduino. Sorry, but I did not understand the description. Please help me figure it out.
Bro please can you help me I'm trying to get my 49 keys casio to midi on adruino mega without any other pieces I got the adruino board and I figured out the matrix of the keyboard just can you give me a hint of what to do right now
For the Alesis QS6 from him are 8 output pins(that send 5 volts, one pin at a time) and 16 input pins(that will cross and be read by the loop starting on line 163). Dont forget to use pullup(can be activated on the arduino IDE, and is the default setting) or use the pulldown option(that needs a 10 - 50k ohm resistor with one leg on input pin and the other leg connected on ground) that uses INPUT(not _PULLUP) on line 108. BTW, the UMX610 uses INPUT and pulldown.
a minha duvida agora é a seguinte, o pedal de sustenido não esta funcionando nem mesmo trocando o pino( é só ligar no ground?) é possível acrescentar funções como potenciômetros? qual seria o caminho para isso?
Parabéns pelo projeto amigo! Tenho um kurzweil sp4-7 com 76 teclas e que está com a placa mãe queimada e vou tentar usá-lo como controlador midi. Queria saber se é possível usar além do pedal de sustain as rodas de pitch bend e modulation. Grato!
Hi, I am very interested in this project, but I have no experiences with Arduino programming. I have old Casio WK 1200 with burnt controller board and I wish to bring it to live again. Can you please help me a little bit?
Hi, very nice video! I have a Yamaha p35 that have a fault circuit board but the contact board Is intact and i want to use the mechanics to build a midi controller. Do you think that it's possible with your project? Thanks for the help!
Can we make a musical Keyboard at home... That sounds as realistic as a 300$ professional keyboard... Without an Arduino or MIDI.. Even if we can't make it, Can someone explain the electronics behind the working of the ICs and Microprocessors used for that tone generation(with a sound quality much better than all toy keyboards😓) and all about that
Hi Daniel! I would like to ask where I can find detailed information on how to use Arduino for the same thing you did. I have a broken midi keyboard with only the main board not working. And I would like to connect the output from the keypad to the Arduino, but I myself cannot figure out how to do this, since I do not understand electronics. Could you tell me what I can do to fix my midi keyboard?
Usei o Arduino Uno e 2 Multiplex (4067) para 32 notas midi. Não conheço muito programação e se usar 4 multiplex o arduino diz que falta memória. Consigo apenas 48. com 3 multiplex. Talvez o código tenha que ser reescrito mas não encontrei suporte. No seu exemplo que pinos utilizou para o arduino mega? Tenho um teclado disponível mas só tem os contatos das teclas.
Os pinos que ele usou no mega são os do fundo, onde há mais pinos juntos. Se quiser, tente usar o mega original, ou um que venha com o chip serial original, que assim haverá mais memória disponível e permitirá usar a usb dele para midi tambem.
Sustain pedal is connected to a dedicated pin on arduino and on GND. For the Alesis QS6 from him are 8 output pins(that send 5 volts, one pin at a time) and 16 input pins(that will cross and be read by the loop starting on line 163). Dont forget to use pullup(can be activated on the arduino IDE, and is the default setting) or use the pulldown option(that needs a 10 - 50k ohm resistor with one leg on input pin and the other leg connected on ground) that uses INPUT(not _PULLUP) on line 108. BTW, the UMX610 uses INPUT and pulldown.
Plz help me. Heres the scenario: I have a yamaha psr 172 keyboard (61 keys) it was working great until i pluged in the wrong power supply and it broke. Ive token it apart and want to do what you did. The question is how? Help me
I am actually working on a very similar project to bring an old usb midi keyboard back to life right now. I am running into trouble trying to get the note value and velocity data from the ribbon strip. Can you offer some advice? Thanks!
Hi Daniel, I've managed to hook up my casio lk-90 with your code and arduino mega and it partially works perfectly. My challenge is that that series of casio keyboards has 2 ribbon cables, both are 16 wire ribbons (matrix 8x8) and I've figured out the inputs and outputs, but the code only works with the 1st ribbon and the 2nd doesn't get detected nor read. I'm certain both cables work and I get expected readings from a multi-meter but I just can't get the 2nd ribbon to work which means certain notes aren't scanned. What changes can I make to the code to read the 2nd ribbon?
Hi there, Measure through both rows of contacts. It is likely that the one row with the 2nd connector is connected in parallel. Unfortunately, I don't get the code to run as an Arduino beginner. When compiling, I always get error messages without my noticing Code changed something. Did you get that going?
Boa noite Daniel !! parabéns, ótimo projeto !! teria como passar o esquema ? Tenho um teclado casio antigo que queimou a mainboard, queria ver se teria como ligar a fita flat que sai da placa das teclas, direto no arduino
Olá Rosalvo. Não há um esquema. Basta você ligar a fita flat direto no arduino após descobrir com um multímetro o padrão da matriz (dupla, se for um teclado com velocidade) e ajustar os pinos no sketch. Cada teclado pode ter um padrão de ligação diferente.
Daniel Moura Ele não tem velocidade nas teclas, é um Casio Ct- 360. Vou pedir a um amigo pra dar uma olhada, ainda não conheço sobre eletronica.mas Muito obrigado amigo Deus abençoe !!
It will vary between keyboards. For the Alesis QS6 from him are 8 output pins(that send 5 volts, one pin at a time) and 16 input pins(that will cross and be read by the loop starting on line 163). Dont forget to use pullup(can be activated on the arduino IDE, and is the default setting) or use the pulldown option(that needs a 10 - 50k ohm resistor with one leg on input pin and the other leg connected on ground) that uses INPUT(not _PULLUP) on line 108. BTW, the UMX610 uses INPUT and pulldown.
Laercio, para um teclado de 61 teclas são necessários apenas 16 pinos, pois trata-se de uma matriz, ou, no caso do teclado com velocidade, de uma matriz dupla.
Daniel - Eu tenho uma placa midi de 64 pontos ( cada ponto é uma nota ) Conforme seu vídeo, achei que poderia usar o Aduino para fazer um novo teclado de 61 teclas. Isso é possível então? O que devo fazer?
Essa placa midi que tenho acredito não ser comercial. Era de um DJ de nome Alberto de MG. Na placa vem inscrito Unimidi Versão 1. Utiliza o AT89S52 (Atmel) 2pc-0523A. Funciona perfeitamente . Um conjunto de 4 conectores de 8 pinos cada. Mas cada pino pode funcionar com 2 notas que perfazem então, 64 notas. Utilizei essa placa num software da Hautwerk num orgão.
Boa noite amigo, consegui um teclado Roland S-10, ele tem sensibilidade nas teclas, será que consigo ligá-lo a um Arduino UNO ? Ah sim, poderia também usar os pinos TX/RX, pra colocar saída/entrada midi 5 Pinos ?
Does your code works with MocoLufa? In my project - trying to connect Maudio Keystation 61 to Mega - everything is working (MocoLufa, DIO2) except your code.
bom dia! Daniel materiais necessario: arduino mega 2560 r3 tem mais recursos alem claro do teclado musical! o que mais precisarei em material! desculpa as perguntas sou leigo no assunto! eletronica! vou estudar sobre keyboard scanner
Nice work, do you have a link for the Arduino software? I'd like to make the same thing with a very good but dead keyboard I have here. Wish I could play as good as you too but I'll have to work on that myself.
In this case it could be 2 pins for velocity measure, side by side, like 16 pins in a arrangement 1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2, but it will depend on the keybed circuit. On UMX610 it uses the 1,2 pair to measure the velocity for the entire octave and the output pins are connected to keys 1 to 8 separately, repeating... like output pin1 connected to key 1, 9, 17, 25, 33... out pin 2 connected to key 2, 10, 18, 26...
@@edugames150 I have a q88 Alesis and I Arduino Mega and im trying to replicate this - I had a 14 pin flat connector that plugged into the main board (now fried thus Arduino project) might you share any thoughts on how I would connect-test? kind regards jellytavern@gmail.com
Do you have any instructions or sketches available? I have a M-Audio Oxygen49 that they refuse to repair, and cant find parts. Way to try my hand at this to bring it back to life. Brilliant job!
+Daniel Moura First of all thank you for your quick answer, at the moment I'm not using an Arduino yet but I use a Standalone FTDI-Chip and my problem is to find a working midi-serial driver for win7
Hello, My name is Mauricio, I recently bought the product MIDIPLUS GarageKey F37 MIDI Keyboard. I'm happy with the product but I would like to know if you could help with a technical problem that I have. The Keyboard works very good, is portable, easy to use... but it lacks of something to be perfect: The sustain jack to connect a sustain pedal. In my work is essential this aspect (sustain). I would like to know if you could help me with the following: 1). To send me an electronic map with the instruction of how to add a sustain jack to the keyboard (where to place the resistances, electronic elements, etc.) 2). To send me (if it is possible) an instructional video of how to do it. 3). Any other thing that you think I may need. I would like to thank you in advanced for your help this is very important to me, and I really need it.
You keep saying we should check the link but the link has no schematic as to how the sus pedal is connected and how the keybeds are connected to the mega pins.. its very vague bro... Can you help us by explaining or eve just doing a sketch of the schematic... I know u very busy but.. i have a korg sp200 keybed i want to use up..
Try to measure with a multimeter the pin matrix in continuity mode, and press all keys on keyboard, one by one. If it hadn`t worked, invert the probes polarity and press all the keys again, one by one. Do it for all pin combinations, so... Take your time. And get notes of all key combinations on the matrix, until you figure out how it is crossed.
Boa tarde, Você teria alguma mapa (com base no programa Fritzing, por exemplo) das ligações que foram feitas? Estou pesquisando muito sobre uma conexão Midi eficaz, e encontrei este vídeo. Baixei os códigos e estamos estudando. Estou encontrando vários esquemas mas sem os recursos de sustain e velocidade. Se pudesse nos passar as ligações, imensamente grato. Abraços, André Luís - andreluissampaio@superig.com.br
bom dia daniel moura, estou a procura desse esquema para tocar vsts, vc poderia me ajudar com o esquema como foi feito? tenho um yamaha psr 520 com teclas sensitivas com a fonte queimada as teclas o conjunto delas como borrachas etc estao em perfeito estado, gostaria que efetuar um projeto igual ao seu, meu email tonyhd78@gmail.com obrigado amigo fico com deus
eu comprei um tecladinho placa queimada yamaha psr e 233 e vou aproveitar jogo de teclas e fazer como vce fez usar como controlador notbook vst! eu ja baixei os codigos que vce postou sou leigo nesse assunto mas se vce passar as dicas só vou precisar comprar a placa arduino ou precisarei de mais alguma coisa muito obrigado pela atenção! eu ja mandei um email para vce!meu email: danielbento2016@gmail.com e boa noite!!!
Dear Sir,
Thank you so much for this interesting project!
With the source code and very detailed instructions you provided, I ultimately recover my Kawai PW700 Digital Piano with fried motherboard back to life.
The interesting thing is the input process from the code is very easy to understand. I don't know anything about arduino coding but after reading the instruction, I already know what to do. These are what I did: I modified the code based on my keyboad schematic to 88 keys (176 switches with 22x8 matrix), changed the start number for midi code from 36 to 21, then uploaded the code to the arduino. I did the process once without any debugging and it ran perfectly at the first try.
You're a truly a life-saver.
Loves from Vietnam.
How do you figure out the matrix?
@@fishwigy I found the schematic online and then open the pcb of the keybed to determine the pins that match the schematic.
@@minminpx oh I see. My keyboard is an lp 6160 with 3 flex connectors. It is a rescue from the trash. I can't see a name on it to look for a schematic anywhere.
Thanks to Leandro Meucchi, from Argentina, the code is simpler to be used with any keyboard. He made the PDF showing the keyboard wiring for Yamaha PSR530 keyboard that helps a lot what need to be done.
I have Alesis 88 key and an Arduino Mega do you think you could do a video explaining how you wired it up and loaded the source code? or if not please possibly give me some pointers my email is: jellytavern@gmail.com
Soy nuevo. Que hace el MIDI paea que sirve??su costo ?? Y como comprar uno ??
Thank you very much for the update! After intermittently working on my project keyboard for about two years, I finally got my keyboard up and running! I am using an old KORG Concert 5500 88-key.
Hello Pappu. I also have one Yamaha P35B with a dead mainboard. Can I ask you for some help? I need the code for 88 keys. Also, any other advice will be much appreciated. You can contact me on facebook ( facebook.com/zamfir.vangu.1 ) or through email vangu_zamfir@yahoo.com vanguzamfir@gmail.com Many thanks, Zamfir
@@zvangu Sent!
@@pappudeleon many thanks man. Wich email did you use ? I can not find your email neither in yahoo or gmail.
@@zvangu Facebook
Hello friend. I have a m-audio 88 Keys with dead mainboard too. Do you have a vídeo or tutorial, or could you help me with some advices to make It with Arduino? Thanks a lot. eder.quirama@gmail.com or Facebook Ed Keyrama.
For the Alesis QS6 from him are 8 output pins(that send 5 volts, one pin at a time) and 16 input pins(that will cross and be read by the loop starting on line 163). Dont forget to use pullup(can be activated on the arduino IDE, and is the default setting) or use the pulldown option(that needs a 10 - 50k ohm resistor with one leg on input pin and the other leg connected on ground) that uses INPUT(not _PULLUP) on line 108. BTW, the UMX610 uses INPUT and pulldown.
For those who want simple midi out by standard 5pin din without all the usb stuff, software or firmware flash.
Just change Serial.begin(115200) by Serial.begin(31250)
Connect arduino pin1 (tx) to a 5pin din with a 220ohm resistor
Connect 5v also with a 220ohm resistor and connect the ground directly to the 5pin din.
Hello. I've been editing this comment as I debugged the code. I am using the same Fatar TP/9S keyboard as the one in this video. The code as is results with note on and off being backwards and also it'll trigger every note within the output group that you aren't pressing. I could not get the code to work correct without a few minor yet crucial changes.
1 - you're going to have to put a 10k resistor from each input to ground. Without this pull down reading the input's state will not be accurate. In fact it acts haywire.
2 - swap the LOW and HIGH commands when writing to output_pin within the selection_index. This fixed queuing the correct keys rather than the ones you're not pressing.
3 - swap the 0x80 and 0x90 for note on and off. This fixed the note on and off being backwards.
It's a great project and is very simple to anyone who understands coding and how a keyboard works. Though documentation is quite poor but it isn't too difficult for an amateur like myself to fix it up to work. I used a program called Hairless MIDI to translate the serial data to MIDI and then used loopMIDI to be used as a ported Midi device to load - in my case within FL studios so I can use it to control VST programs.
I'm open to questions to the mass of people here looking for guidance. Just reply to this comment.
Hey dude I dont know if you would be answering me after this while
I have an old 49 keys keyboard, lemme go right in I did the matrix and keyboard pins are all connected to the arduino in the digital pins
but i dont know what to do right now can i just take this code ???? or ima be bricking something
Hi, i have an 88 keys keybed from a yamaha p35. It has a matrix of 12 colums, which i've connected has inputs, and 15 rows which i have connected has outputs. In the code i have only listed the pins in which are connected rows and colums and written 88 keys instead of 61, with hairless midi i have some inputs from arduino but they are confused. When i press a note on the keyboard i obtain a multiple note sound from the vst and without the velocity but
as if it were repeated quickly. Hope you could give to me some little advice, Thank you
how to make sustain pedal to work?
Hi Michael, Adding many keys is not a prob (I've explained that on the blog page). Velocity is a next thing. As I did not have initially expensive keyboard to start with (just a push-button type) I had no chance to experiment. However velocity is addable by measuring the timing between same key 2 switches pressed. Code will be a bit more complex and schematics will have a bit more wiring. I'll let you know when I have it working.
Excelente, Daniel! Parabéns!
Thanks mate. Btw I enjoyed listening to the composition you are playing
Hi Daniel, I've added velocity sensitivity and after touch to my project. have a look at the result.
Thanks a lot man, it's a very great job, a great and easy modifiable code. Thanks thanks thanks!!!
E ai meu jovem tudo na paz? Cara nao consigo baixar o hairless modi, sempre diz downlaod falido. Tem algum similar que o substitui?
Que projeto maravilhoso !!! Estou usando ele como inspiração para o meu ! Estou fazendo (Ou tentando fazer) um workstation como o famoso korg kronos, Estou reultilizando meu antigo piano digital da casio como base de teclas, Estou ultilizando um teensy 4.1 e tudo está indo bem agradeço com as suas contribuições !!! Ótimo trabalho em compartilhar !!!
Cara onde encontro esse código pronto e qual ide usar qual a versão
Da pra colocar um botao de pitch bend?
Mas gostaria de fazer esse mesmo sistema no Arduino. O que me aconselha? Já fiz no Arduino mas só com 8 notas (on-off) Mas não entendi como fazer a expansão para mais notas (61 ou 64).
Dê uma olhada na página do projeto atualizada github.com/oxesoft/keyboardscanner
Try to measure with a multimeter the pin matrix in continuity mode, and press all keys on keyboard, one by one. If it hadn`t worked, invert the probes polarity and press all the keys again, one by one. Do it for all pin combinations, so... Take your time. And get notes of all key combinations on the matrix, until you figure out how it is crossed.
Yow can you help me dude. I'm going on this project right now using arduino mega , I've done everything matrix scan wired all the pins to digital inputs but im stuck here now. if you want to help me and see the whole project contact me 00962790830061 on whatsapp
Como conseguir fácil essas teclas sensitivas para poder montar um tbm tenho o arduíno já.
Hi! do you think the arduino mega is enough for a 61 keys with sensitivity, plus after touch and pitch/mod wheels? Thanks
sure
Hello. What about a 88 keys with sensitivity, plus after touch and pitch/mod wheels? Thank you.
Ola poderia me ajudar? eu tenho um teclado M-audio que parou a matriz dele é de 6x11, pode me da uma ajuda no código e na conexão?
Olá Jonas, eu consegui fazer um CASIO CTK 485 funcionar com o arduino mega 2560.
Postei os resultados no forum do arduino, da uma olhada lá.
forum.arduino.cc/index.php?topic=674772.0
@@emersonseiler vou dar uma olhada meu camarada mais desde já eu agradeço imensamente
@@emersonseiler mano eu olhei aqui e eu entendi algumas coisas mais posso te mandar fotos dos fios do meu teclado para você ver se eu estou fazendo certo e se minha matriz esta realmente certa ?por que nas teclas do meu teclados tem 12 fio que vão na placa mãe e 11 fio que também vão na placa mãe são duas fileiras separadas e parece que as de cima são as entradas e as de baixo são as saídas.
@@jonasjesus2250 me procura em alguma rede social que te auxílio. Abraço.
@@emersonseiler cara imensamente grato!
serve Watsapp
Hello, can you guide me to make a complete one?
Será que você, tem algum vídeo que ensina a fazer essa conversão?
Oi mano entra em contato comigo, tenho um teclado e arduino mega, quero um br pra trocar ideias pois irei fazer o meu.
forum.arduino.cc/index.php?topic=674772.0
@@moseleymirandagoes3921 encontrei o vídeo ensinando a fazer o sistema de conversão, vou mandar o link.
ua-cam.com/video/UBMLq3aa4Ok/v-deo.html
@@juniorfontoura890 acabei de abrir meu teclado mas só funcionou 6 teclas e possuem apenas 15 fios e não 16=8x8
Os pinos que ele usou no mega são os do fundo, onde há mais pinos juntos. Se quiser, tente usar o mega original, ou um que venha com o chip serial original, que assim haverá mais memória disponível e permitirá usar a usb dele para midi tambem.
A step by step that might work.
forum.arduino.cc/index.php?topic=615932.45
forum.arduino.cc/index.php?topic=674772.0
Hello ! as you connected the keyboard matrix to Arduino ? you got any tutorial or scheme ? Thank you!
Checkout the updated project page at github.com/oxesoft/keyboardscanner
For the Alesis QS6 from him are 8 output pins(that send 5 volts, one pin
at a time) and 16 input pins(that will cross and be read by the loop
starting on line 163). Dont forget to use pullup(can be activated on the
arduino IDE, and is the default setting) or use the pulldown
option(that needs a 10 - 50k ohm resistor with one leg on input pin and
the other leg connected on ground) that uses INPUT(not _PULLUP) on line
108. BTW, the UMX610 uses INPUT and pulldown.
Many thanks... now to add velocity and more keys ;)
How to Add pitch bend function into this sketch?
thanks in advance, and congratulation for your execution
easy, just create a function and potentiometer for it. ask me please i can help ya
não estou conseguindo compilar o codigo, a biblioteca DIO2 não parece ser a mesma
consegui baixando uma versão da biblioteca desse link: github.com/Locoduino/DIO2
man that was kewl!
Será que conseguirei fazer um.cintrolador com um teclado cassio ct770? As teclas são grandes é possui sensibilidade
Nice work mate!
Good job. Very detailed.
How much for your tutorial for this project
Hey man, great video an beautiful keyboard skills
I have a Keystation 61 Keybed, coming off of the keybed is a 14 pin wire, was hoping for some help getting this thing hooked up to a Arduino Mega as I've been teaching myself piano on my own on a 25 key! Not many keys and my right hand covers half the keyboard, so time to upgrade
Picked up a faulty Keystation 61 from M-Audio and unfortunately it is totally fried but the keybed is in great shape, just looking everywhere for a step by step project and your video is actually the closest thing to my situation as you've done exactly what I need to do, I hope you can spare some time to help me!
Checkout the updated project page at github.com/oxesoft/keyboardscanner
Please draw a diagram of how you connected the keys and pedal to the arduino. Sorry, but I did not understand the description. Please help me figure it out.
Make a search for "keyboard scanner". There are lots of projects and documentation.
interesteing how to do it ? please give a short explication
Checkout the updated project page at github.com/oxesoft/keyboardscanner
Are you going to make the Arduino details (code schematic) available?
I'm building one and need all the help I can get... ;)
Bro please can you help me I'm trying to get my 49 keys casio to midi on adruino mega without any other pieces I got the adruino board and I figured out the matrix of the keyboard just can you give me a hint of what to do right now
Hey Daniel, I wonder if your code is applicable for 88 Keys Keyboard?
Yes, with a few adjustments.
Checkout the updated project page at github.com/oxesoft/keyboardscanner
@@oxesoft hey Daniel.. what pins would i connect the ribbon cable from the keys? I dont see a schematic diagram or anything like that
For the Alesis QS6 from him are 8 output pins(that send 5 volts, one pin at a time) and 16 input pins(that will cross and be read by the loop starting on line 163). Dont forget to use pullup(can be activated on the arduino IDE, and is the default setting) or use the pulldown option(that needs a 10 - 50k ohm resistor with one leg on input pin and the other leg connected on ground) that uses INPUT(not _PULLUP) on line 108. BTW, the UMX610 uses INPUT and pulldown.
a minha duvida agora é a seguinte, o pedal de sustenido não esta funcionando nem mesmo trocando o pino( é só ligar no ground?)
é possível acrescentar funções como potenciômetros?
qual seria o caminho para isso?
can u make tutorial for the parts needed, connections and code
Extraordinary!!
Parabéns pelo projeto amigo! Tenho um kurzweil sp4-7 com 76 teclas e que está com a placa mãe queimada e vou tentar usá-lo como controlador midi. Queria saber se é possível usar além do pedal de sustain as rodas de pitch bend e modulation. Grato!
é possivel sim
Hi, I am very interested in this project, but I have no experiences with Arduino programming. I have old Casio WK 1200 with burnt controller board and I wish to bring it to live again. Can you please help me a little bit?
İs the keys are sensetive?
BRAVO FOR THE PLAYING !!!!!!!!!!!!!!! .................... WHAT ABOUT THE MAKING ?????????
could I connect an old q88 keyboard to the Arduino mega?
Hi, very nice video! I have a Yamaha p35 that have a fault circuit board but the contact board Is intact and i want to use the mechanics to build a midi controller. Do you think that it's possible with your project? Thanks for the help!
Can we make a musical Keyboard at home... That sounds as realistic as a 300$ professional keyboard...
Without an Arduino or MIDI.. Even if we can't make it, Can someone explain the electronics behind the working of the ICs and Microprocessors used for that tone generation(with a sound quality much better than all toy keyboards😓) and all about that
What is your latency like?
Hi Daniel!
I would like to ask where I can find detailed information on how to use Arduino for the same thing you did.
I have a broken midi keyboard with only the main board not working. And I would like to connect the output from the keypad to the Arduino, but I myself cannot figure out how to do this, since I do not understand electronics.
Could you tell me what I can do to fix my midi keyboard?
Usei o Arduino Uno e 2 Multiplex (4067) para 32 notas midi. Não conheço muito programação e se usar 4 multiplex o arduino diz que falta memória. Consigo apenas 48. com 3 multiplex. Talvez o código tenha que ser reescrito mas não encontrei suporte. No seu exemplo que pinos utilizou para o arduino mega? Tenho um teclado disponível mas só tem os contatos das teclas.
Os pinos que ele usou no mega são os do fundo, onde há mais pinos juntos. Se quiser, tente usar o mega original, ou um que venha com o chip serial original, que assim haverá mais memória disponível e permitirá usar a usb dele para midi tambem.
how did u connect the keyboard ribbons to arduino. circuit diagram pls. I'm trying to make my 25 key keyboard work. pls help
Checkout the updated project page at github.com/oxesoft/keyboardscanner
Yeah.. how.. that 1 pic doesn't really explain anything..
no fair, I want one too.
Can you do a tutorial, how did you do it? or a connection diagram of the keyboard and pedal sutain and the midi.
Sustain pedal is connected to a dedicated pin on arduino and on GND. For the Alesis QS6 from him are 8 output pins(that send 5 volts, one pin at a time) and 16 input pins(that will cross and be read by the loop starting on line 163). Dont forget to use pullup(can be activated on the arduino IDE, and is the default setting) or use the pulldown option(that needs a 10 - 50k ohm resistor with one leg on input pin and the other leg connected on ground) that uses INPUT(not _PULLUP) on line 108. BTW, the UMX610 uses INPUT and pulldown.
wow, nice!
Now some Shadow of the colossus and i m sold! =)
Plz help me. Heres the scenario: I have a yamaha psr 172 keyboard (61 keys) it was working great until i pluged in the wrong power supply and it broke. Ive token it apart and want to do what you did. The question is how? Help me
eu tenho um teclado casio que parou de funcionar a placa mae não tem mais jeito tem como fazer uma adaptação com o teclado dele para o arduino mega
Romoaldo Honorato sim vc nao precisa da placa mae
Dê uma olhada na página do projeto atualizada
github.com/oxesoft/keyboardscanner
hi
how to make it ? help me diy step by step
I am actually working on a very similar project to bring an old usb midi keyboard back to life right now. I am running into trouble trying to get the note value and velocity data from the ribbon strip. Can you offer some advice? Thanks!
Hi Daniel, I've managed to hook up my casio lk-90 with your code and arduino mega and it partially works perfectly. My challenge is that that series of casio keyboards has 2 ribbon cables, both are 16 wire ribbons (matrix 8x8) and I've figured out the inputs and outputs, but the code only works with the 1st ribbon and the 2nd doesn't get detected nor read. I'm certain both cables work and I get expected readings from a multi-meter but I just can't get the 2nd ribbon to work which means certain notes aren't scanned. What changes can I make to the code to read the 2nd ribbon?
Hi there,
Measure through both rows of contacts.
It is likely that the one row with the 2nd connector
is connected in parallel.
Unfortunately, I don't get the code to run as an Arduino beginner.
When compiling, I always get error messages without my noticing
Code changed something.
Did you get that going?
Found the video after 12 years to learm the song..
Boa noite Daniel !! parabéns, ótimo projeto !! teria como passar o esquema ? Tenho um teclado casio antigo que queimou a mainboard, queria ver se teria como ligar a fita flat que sai da placa das teclas, direto no arduino
Olá Rosalvo. Não há um esquema. Basta você ligar a fita flat direto no arduino após descobrir com um multímetro o padrão da matriz (dupla, se for um teclado com velocidade) e ajustar os pinos no sketch. Cada teclado pode ter um padrão de ligação diferente.
Daniel Moura Ele não tem velocidade nas teclas, é um Casio Ct- 360. Vou pedir a um amigo pra dar uma olhada, ainda não conheço sobre eletronica.mas Muito obrigado amigo Deus abençoe !!
Muito obrigado meu amigo !!
Dê uma olhada na página do projeto atualizada github.com/oxesoft/keyboardscanner
Daniel Moura Muito obrigado atrasado. 🤗
It's like Angels harmonizing into my ears!
idiota
Hi. Can you guide how to make your arduino midi circuit? Thank you
It will vary between keyboards. For the Alesis QS6 from him are 8 output pins(that send 5 volts, one pin at a time) and 16 input pins(that will cross and be read by the loop starting on line 163). Dont forget to use pullup(can be activated on the arduino IDE, and is the default setting) or use the pulldown option(that needs a 10 - 50k ohm resistor with one leg on input pin and the other leg connected on ground) that uses INPUT(not _PULLUP) on line 108. BTW, the UMX610 uses INPUT and pulldown.
HI, Greate Job!!!! Wich pins of the arduino mega where connected to the MIDI IN ???
Please see the new information that put in the repository. I hope it helps.
Olá ! Como você conectou as 61 teclas no Arduino. Ele não tem somente 51 entradas?
Laercio, para um teclado de 61 teclas são necessários apenas 16 pinos, pois trata-se de uma matriz, ou, no caso do teclado com velocidade, de uma matriz dupla.
Daniel - Eu tenho uma placa midi de 64 pontos ( cada ponto é uma nota ) Conforme seu vídeo, achei que poderia usar o Aduino para fazer um novo teclado de 61 teclas. Isso é possível então? O que devo fazer?
Qual seria esta placa MIDI?
Essa placa midi que tenho acredito não ser comercial. Era de um DJ de nome Alberto de MG. Na placa vem inscrito Unimidi Versão 1. Utiliza o AT89S52 (Atmel) 2pc-0523A. Funciona perfeitamente . Um conjunto de 4 conectores de 8 pinos cada. Mas cada pino pode funcionar com 2 notas que perfazem então, 64 notas. Utilizei essa placa num software da Hautwerk num orgão.
Boa noite amigo, consegui um teclado Roland S-10, ele tem sensibilidade nas teclas, será que consigo ligá-lo a um Arduino UNO ? Ah sim, poderia também usar os pinos TX/RX, pra colocar saída/entrada midi 5 Pinos ?
ola, Daniel.. ainda tem o esquema eletrico desse projeto ?
Dê uma olhada na página do projeto atualizada github.com/oxesoft/keyboardscanner
that's can work with hauptwerk or grandorgue ?
It should work with any MIDI virtual instrument
name of the song?
Does your code works with MocoLufa? In my project - trying to connect Maudio Keystation 61 to Mega - everything is working (MocoLufa, DIO2) except your code.
nice work could you send me some instructions how you made this?
bom dia!
Daniel
materiais necessario: arduino mega 2560 r3 tem mais recursos
alem claro do teclado musical!
o que mais precisarei em material!
desculpa as perguntas sou leigo no assunto! eletronica!
vou estudar sobre keyboard scanner
Dê uma olhada na página do projeto atualizada
github.com/oxesoft/keyboardscanner
Nice work, do you have a link for the Arduino software? I'd like to make the same thing with a very good but dead keyboard I have here. Wish I could play as good as you too but I'll have to work on that myself.
is that has velocity sensitivity?
Jen, nice work too. :-)
any chance your 61 key there has 24 wires going to the arduino ? 8 x 8 for the keys and a other 8 for the velocity ?
In this case it could be 2 pins for velocity measure, side by side, like 16 pins in a arrangement 1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2, but it will depend on the keybed circuit. On UMX610 it uses the 1,2 pair to measure the velocity for the entire octave and the output pins are connected to keys 1 to 8 separately, repeating... like output pin1 connected to key 1, 9, 17, 25, 33... out pin 2 connected to key 2, 10, 18, 26...
Just take your time with a multimeter and measure the key and velocity arrangement.
@@edugames150 I have a q88 Alesis and I Arduino Mega and im trying to replicate this - I had a 14 pin flat connector that plugged into the main board (now fried thus Arduino project) might you share any thoughts on how I would connect-test? kind regards jellytavern@gmail.com
How can I do this piano with Arduino?
A step by step that might work.
forum.arduino.cc/index.php?topic=615932.45
forum.arduino.cc/index.php?topic=674772.0
Do you have any instructions or sketches available? I have a M-Audio Oxygen49 that they refuse to repair, and cant find parts. Way to try my hand at this to bring it back to life. Brilliant job!
hi! some diagram of circuit?
como você fez isso? Encontrou aonde o projeto?
A step by step that might work.
forum.arduino.cc/index.php?topic=615932.45
forum.arduino.cc/index.php?topic=674772.0
How to make to sensitive keyboards
If you want aftertouch pressure, look at this video: ua-cam.com/video/yIBBxDHOa0g/v-deo.html
Achei impressionante, você usou alguma outra placa do teclado? Ou só o arduino?
Só o arduino
Dê uma olhada na página do projeto atualizada github.com/oxesoft/keyboardscanner
Could you tell me how you got the serial data from your Arduino into your VST Software ?
+9freeky you have two options:
1) use a midi-serial driver on you OS;
2) flash a usb-midi firmware into the arduino serial controller
+Daniel Moura First of all thank you for your quick answer, at the moment I'm not using an Arduino yet but I use a Standalone FTDI-Chip and my problem is to find a working midi-serial driver for win7
+Daniel Moura do you have code for that for the arduino uno?? i want to connect my midi keyboard to my pc with arduino uno via usb??
Checkout the updated project page at github.com/oxesoft/keyboardscanner
There is no scheme for this link
wow amazing
can you share the codes
What is the name of this song, please?
You Were There
Thank you very much!
Give me schematic please
Checkout the updated project page at github.com/oxesoft/keyboardscanner
pra fazer coisa assim tem q ser br
Thanks to Leandro Meucchi, from Argentina
멋져요
where is the code bro ??
In the comments below the video
@@oxesoft which of my masters does not understand ,, just give me the link code?
Hello,
My name is Mauricio, I recently bought the product MIDIPLUS GarageKey F37 MIDI Keyboard. I'm happy with the product but I would like to know if you could help with a technical problem that I have. The Keyboard works very good, is portable, easy to use... but it lacks of something to be perfect: The sustain jack to connect a sustain pedal. In my work is essential this aspect (sustain).
I would like to know if you could help me with the following:
1). To send me an electronic map with the instruction of how to add a sustain jack to the keyboard (where to place the resistances, electronic elements, etc.)
2). To send me (if it is possible) an instructional video of how to do it.
3). Any other thing that you think I may need.
I would like to thank you in advanced for your help this is very important to me, and I really need it.
Does your keyboard supports Velocity ?
Yep
You keep saying we should check the link but the link has no schematic as to how the sus pedal is connected and how the keybeds are connected to the mega pins.. its very vague bro... Can you help us by explaining or eve just doing a sketch of the schematic... I know u very busy but.. i have a korg sp200 keybed i want to use up..
Try to measure with a multimeter the pin matrix in continuity mode, and press all keys on keyboard, one by one. If it hadn`t worked, invert the probes polarity and press all the keys again, one by one. Do it for all pin combinations, so... Take your time. And get notes of all key combinations on the matrix, until you figure out how it is crossed.
@@edugames150 well, i followed the circuit Trace and found the ins and outs
@@malmgodbless7 now you just need to measure with a multimeter based on the circuit that you saw, and to get all the key combinations
ensina como fazer man por favor obrigado!
A step by step that might work.
forum.arduino.cc/index.php?topic=615932.45
forum.arduino.cc/index.php?topic=674772.0
@@emersonseiler Acabei de atualizar a página do projeto com mais detalhes.
@@oxesoft obrigado por avisar!
Check out my video. I've build one and details are available on my blog.
By the way Michael, I've completed Velocity sensing. Have a look at my video
Boa tarde, Você teria alguma mapa (com base no programa Fritzing, por exemplo) das ligações que foram feitas? Estou pesquisando muito sobre uma conexão Midi eficaz, e encontrei este vídeo. Baixei os códigos e estamos estudando. Estou encontrando vários esquemas mas sem os recursos de sustain e velocidade. Se pudesse nos passar as ligações, imensamente grato. Abraços, André Luís - andreluissampaio@superig.com.br
Dê uma olhada na página do projeto atualizada
github.com/oxesoft/keyboardscanner
Can you give me this because I can not afford it😑
bom dia daniel moura, estou a procura desse esquema para tocar vsts, vc poderia me ajudar com o esquema como foi feito? tenho um yamaha psr 520 com teclas sensitivas com a fonte queimada as teclas o conjunto delas como borrachas etc estao em perfeito estado, gostaria que efetuar um projeto igual ao seu, meu email tonyhd78@gmail.com obrigado amigo fico com deus
eu comprei um tecladinho placa queimada yamaha psr e 233 e vou
aproveitar jogo de teclas e fazer como vce fez usar como controlador
notbook vst!
eu ja baixei os codigos que vce postou sou leigo nesse assunto mas se vce passar as dicas só vou precisar comprar a placa arduino ou precisarei de mais alguma coisa
muito obrigado pela atenção! eu ja mandei um email para vce!meu email: danielbento2016@gmail.com
e boa noite!!!
A step by step that might work.
forum.arduino.cc/index.php?topic=615932.45
forum.arduino.cc/index.php?topic=674772.0