Kapinson
Posts: 2
Joined: Tue Feb 03, 2015 7:34 am

Grand Piano

Mon Nov 23, 2015 9:01 am

Hi,

I'm planning to make a grand midi piano using Raspberry Pi, but I don't know how can i deal with a huge number of imputs, which is 88 piano keys. I want to make a captive keys, so I can measure how strong certain note is pressed. At first i thought of using multiple MCP3008 but i learned that I can connect only 2 at once using SPI. Could You please give mi a hint, how to get multiple(at least 88) inputs to Raspberry?

Regards
K
EDIT:
Ok, nevermind - i just found MCP23017 to I2C and MCP23S17 to SPI which gives me over 400GPIO so generally, problem solved :D

User avatar
DougieLawson
Posts: 39124
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Grand Piano

Mon Nov 23, 2015 11:49 am

Use MCP23017s they give you 16 inputs and you can stack eight on a single I2C bus. With the MCP23017 interrupt lines tied to a GPIO you'd be able to detect when one of the MCP23017 inputs if triggered.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

User avatar
Douglas6
Posts: 4861
Joined: Sat Mar 16, 2013 5:34 am
Location: Chicago, IL

Re: Grand Piano

Mon Nov 23, 2015 3:07 pm

Or buy a cheap MIDI piano keyboard.

Return to “Beginners”