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 6,000+ makers on
Adafruit’s Discord channels and be part of the community! http://adafru.it/discord
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 — Aquarium troubles: the cost of iteration and troubleshooting with a manufacturers abroad Wearables — Plastic gem know-how Electronics — Counting Pin Numbers Biohacking — Exploring Our Inner Reality : Entopic Visions Python for Microcontrollers — CircuitPython 3.0.0 Release Candidate 0 released!
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.