-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use the project with yamaha p35 keybed #4
Comments
Hi. No additional components are necessary if you use an Arduino Mega because it already have internal pull up resistors activated in line 110 with "pinMode(PEDAL_PIN, INPUT_PULLUP)". You can just connect your keyboards directly to the Arduino pins, like I did. |
thank you very much for the answer! I have only a doubt: are there any changes to make to the code to adapt it to 88 keys? i have read "#define KEYS_NUMBER 61" and "byte output/input_pins[] = { numbers}"(i suppose here to declare the rows and colums connected to the pins of the arduino). |
You just need to change "KEYS_NUMBER" to 88, "output_pins" and "input_pins" to reflect the rows/cols of the matrix and "black_keys" with the number of items of KEYS_NUMBER identifying the black keys in case of BLACK_KEYS_CORRECTION is defined. |
Oh right! thank you very much for your help, when i'll get the arduino i'll try |
I had tried it with a mega and didn't even get a beep. I don't know what I
was doing wrong... Am going to try a teensy with another project I found...
…On Sun, Jan 12, 2020, 8:56 AM RikiForMusic ***@***.***> wrote:
Oh right! thank you very much for your help, when i'll get the arduino
i'll try
and I'll let you know how it goes
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#4?email_source=notifications&email_token=AKN773443VRXWUHMGG2E7CDQ5MOSBA5CNFSM4KFSDOD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIW2R5A#issuecomment-573417716>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKN7737KVJ7TDLB2ANVZLZLQ5MOSBANCNFSM4KFSDODQ>
.
|
hi, i've connected the wires into the pins of the arduino but i have some problems: my pc doesn't recognize the arduino has a midi device so i've connected a midi din to the arduino to use a midi-to-usb cable. from the midi out i don't receive any output put the led blink when i press two buttons at the same time, is there any code or library to include to have a midi out connector working? and in your code i have only changed 61 keys into 88 keys and written my cols has outputs and rows has inputs one below the other, is it correct? thanks in advance, i hope that you could give to me some little advice |
did you solve it? |
Hi, i have a yamaha p35 with a broken motherboard and i want to use your project with this keybed.
It is a simple diode matrix but for 88 keys and not for 61, i have found the colums and rows but i never used and arduino so i don't know how to connect the wires to the pins and how to modify your code for 88 keys with velocity and pedal. I read about pull up resistors but i don't know if they are necessary in your scheme, i hope you could give me some advice. Thank you so much
The text was updated successfully, but these errors were encountered: