I'm wondering if there is a way to sense the velocity of something that has been pushed. I think the best example is any midi keyboard that has velocity sensing keys.
My original idea was to use 2 push buttons (or something like carbon pads for the final design) and once the first button was pushed it would start a timer until the second button was pushed. Then you would take that value and do 'speed = distance / time' to get the velocity. But if a normal small midi keyboard has 25 keys in total, thats means there is 50 buttons and 50 outputs. That's a lot of wires!
The only arduino that I know of that has 50+ digital pins is the Mega which uses the Atmega2560 but I don't want to have solder an SMD chip to my board. The Atmega1284 has 32 digital pins and is a 40 pin DIP package. I would still have to use 2 of them.
When searching velocity buttons, I found these: https://www.ebay.co.uk/p/2channel-S...4/1090848954?iid=142892529128&chn=ps&thm=1000. They normaly are used with motors but would they work with something going up and down?
My idea for the push buttons came from this video if you skip to about 14:18: https://www.youtube.com/watch?v=iAcNjVdd25w
I feel like none of that made sense, so I will say it again: I wondering if there is aything out there that will alow me to sense the velocity of something being pushed, I.E a piano key, without having to have 50 or so outputs.
Thanks,
Bod!
My original idea was to use 2 push buttons (or something like carbon pads for the final design) and once the first button was pushed it would start a timer until the second button was pushed. Then you would take that value and do 'speed = distance / time' to get the velocity. But if a normal small midi keyboard has 25 keys in total, thats means there is 50 buttons and 50 outputs. That's a lot of wires!
The only arduino that I know of that has 50+ digital pins is the Mega which uses the Atmega2560 but I don't want to have solder an SMD chip to my board. The Atmega1284 has 32 digital pins and is a 40 pin DIP package. I would still have to use 2 of them.
When searching velocity buttons, I found these: https://www.ebay.co.uk/p/2channel-S...4/1090848954?iid=142892529128&chn=ps&thm=1000. They normaly are used with motors but would they work with something going up and down?
My idea for the push buttons came from this video if you skip to about 14:18: https://www.youtube.com/watch?v=iAcNjVdd25w
I feel like none of that made sense, so I will say it again: I wondering if there is aything out there that will alow me to sense the velocity of something being pushed, I.E a piano key, without having to have 50 or so outputs.
Thanks,
Bod!