Arduino Music keyboard project

Hi! I have an old music keyboard and am planning to make it compatible with my PC. I want to use USB and don't need MIDI port, so is there any way I can do so with a Mega? I saw some videos, where they used 32U4 based boards, but getting one is going to take forever.
The keyboard has standard scan matrix and the original board even has diodes already on it. I figured out how I can detect a press (Mega has enough free pins, so I don't even need a shift register), but I don't know how to make the PC understand what a key press means. For example, can I output a key ID on serial and use some program to map it to a normal piano sound?
If you have any suggestions please let me know :slight_smile:

The Mega can only send commands UART Serial style to USB, you will need softare on the PC side to read these commands from the USB and interpret it accordingly.

The 32u4 based boards can act as USB keyboard, or other USB devices. That likely makes life a lot easier.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.