candela
Thanks DavisB! This is very interesting, actually so interesting that I decided to create an account here to be able to reply. Your sensor board is very similar to the solution that's slowly been growing in my own mind for the past few months. The main difference in the electronics part is that I'm planning to use the Vishay TCUT1600x01 dual optocouplers instead of the pairs of ITER8105 components you're building your prototype from. Unfortunately, the TCUT1600x01 is only available as a surface mounted device which makes prototyping a bit more involved and I have not actually constructed any physical board as of yet. And I'm still mainly focused on designing the mechanical parts of the keys and action.
The reason for me to do this is to build a narrow keys midi controller and when I looked around I somehow didn't find any through-hole sensors narrow enough to fit without fanning out the keys in the back, which I very much would like to avoid. Thanks for pointing out these sensors! At 9.6 mm wide, they might actually work, at least for some kind of proof of concept, though they obviously move the pair of sensors much further apart from one another compared to the 0.8 mm distance on the TCUT1600x01.
One question that has been on my mind is whether Schmitt triggers ought to be used to clean up the signal from fluttering between on and off when going from one state to the other? This is also suggested in the data sheet for the TCUT. I see that you don't do that so I'm wondering how that is working and if Schmitt triggers would be unnecessary? (I'm in way deeper than my previous electronics knowledge here, so I really don't have much of an idea of what I'm doing.)
Would you mind sharing the circuit diagram, please? It's mostly clear from just watching the images, but still?






