3 ms·
I wonder if with a sufficiently fast ADC measuring each switch's voltage transition, you might be able to do velocity detection with normal switches? I guess mi
by mkj 2y ago
I wonder if with a sufficiently fast ADC measuring each switch's voltage transition, you might be able to do velocity detection with normal switches? I guess might need an ADC wired to each switch rather than row/column matrix scan.
- Eisenstein 2y agoConsidering that mechanical switches have to be debounced, how would that work?
- mkj 2y agoI guess you'd record the curve of the first transition, and the after the debounce period has elapsed you'd use that curve to emit the appropriate key signal. Or alternatively you could use the whole analogue sequence as input for the key detection (assuming no limits on compute power etc). Neural net powered keystrokes!
- bluGill 2y agoHE sensors measure distance, if you measure often enough get velocity out of that. Linear switches should be able to do the same thing (I know almost nothing about linear switches so I might be wrong) Edit: HE sensors not switches. HE naturally measures distance, but there are switches that have electronics that provide an on/off signal thus making the term switch not useful. If you buy a HE switch make sure you know which style you are getting.
- evoke4908 2y agoNo, not with any useful degree of granularity. The electrical contacts aren't directly driven by the mechanical switch, they mostly rely on their own spring tension to make the connection. The mechanical part simply separates them. By measuring contact bounce, you can probably detect the difference between fast and slow presses, but not much more. Maybe three or four levels total