[sdiy] dave smith *instruments*

Colin f colin at colinfraser.com
Mon Feb 1 19:17:04 CET 2010


 
> I can imagine this problem. I've had to deal with similar 
> things myself. The problem is basically that LCD updates take 
> (relatively) a long time, whereas rotary encoders can be 
> quite fast. So if someone turns the rotary encoder really 
> quickly, you can't update the LCD before the encoder has 
> moved again. This leaves you having to choose between letting 
> the LCD update finish before you check the rotary encoder 
> again (e.g. ignore the encoder) or check the encoder but 
> don't always bother to update the LCD if it's going too fast (e.g.  
> ignore the LCD).
> 
> It's pretty much got to be one or the other, and that isn't 
> anything that Dave Smith or anyone else can change.

You could scan rotary encoders as fast as you like, it'll still be possible
to turn them so fast that they mess up.
Encoders with electrical contacts have a switch bounce time.
If you turn the encoder fast enough, the contacts will never be reliably
closed.
Nothing can you can do about that, except use optical encoders.
Take a look at some datasheets.
You'll see maximum speeds of 50 - 100 rpm - no more than 1 or 2 turns per
second.

Cheers,
Colin f





More information about the Synth-diy mailing list