The general idea of my project is to produce a piano keyboard using arduino uno and a drawn keyboard using lead pencil and a paper.
Arduino uno only have 14 io digital ports, plus 6 analog ports, (which can be converted into digital ports).
The problem is that I want to have atleast 61 keys (like a commercial piano) that can be hooked up to the arduino uno. But stated above, the arduino has only a total of 20 inputs.
I tried to research and came up with using a multiplexer to control multiple inputs. So I thought that it might be possible to connect the multiplexers in series to have atleast 61 inputs. From there, the output will be sent to the arduino and a bunch of codes will determine which key was selected/pressed. By determining the key pressed, it will have a corresponding note value that the "pitches.h" library provides therefore recreating the sound of a piano.
This is a very rough sketch of an idea. Trying to reach out to the pros out there. he he.
btw, newbie here. this is for my MPU class project. Thank in advance!