Wednesday, February 01, 2023

 

Bourns 128 Pulse Absolute Mechanical Rotary Encoder

RS Stock No. 263-2918 Mfr. Part No. EAW0J-B24-AE0128L

I was looking for something where the user could rotate a given number of clicks in either direction, and my Pi Pico could compare the current value with the previous value, to spot that the knob had moved, and by how much. (I wasn't sure that my program would loop fast enough to catch each increment). 

Not that easy! 

I should have spotted that 128 positions meant less than three degrees per increment: too fine to be sure whether you had moved say 2 or 3 positions. 

But the killer is that there is no "click" to this encoder - it turns completely smoothly.

I really needed a 4-bit absolute encoder, but haven't been able to find one!



This page is powered by Blogger. Isn't yours?