January 18, 2013 AT 8:00 am
Rotary Encoder Library for the Raspberry Pi #piday #raspberrypi @Raspberry_Pi
Handy resources for the rotary encoder I/O class in the
py-gaugette library, featuring our Monochrome 128×32 I2C OLED graphic display and Rotary Encoder, shared by the Gaugette project:
The encoder I’m using is a 2-bit quadrature-encoded rotary encoder,
available from Adafruit. The datasheet is here.
The documention for this encoder says that it gives 24 pulses per 360° rotation, which I interpreted to mean 24 resolvable positions, but after trying it I see that it has 24 detent positions, and between each detent is a full 4-step quadrature cycle, so there are actually 96 resolvable steps per rotation. This unit also includes a momentary switch which is closed when the button is pushed down. Takes a solid push to close the switch….
Join 4,000+ makers on
Adafruit’s Discord channels and be part of the community! http://adafru.it/discord
How Computers Work” with Bill Gates, Ladyada and more – From Code.org !
CircuitPython in 2018 – Python on Microcontrollers is here!
Have an amazing project to share? Join the SHOW-AND-TELL every
Wednesday night at 7:30pm ET on Google+ Hangouts.
Join us every Wednesday night at 8pm ET for
Ask an Engineer!
Follow Adafruit on Instagram for top secret new products, behinds the scenes and more https://www.instagram.com/adafruit/ Maker Business — Pololu’s New Machines Wearables — Glue for the occasion Electronics — Disable unused channels! Biohacking — Two Blood Meters to Start Your Biohacking Adventure
Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at
No comments yet.
Sorry, the comment form is closed at this time.