Idea
In short
How do you build a blue Pill rotary encoder volume knob?
A Blue Pill reads a KY-040 rotary encoder with timer-based quadrature decoding and shows a volume bar on an OLED, with a push to mute. You need STM32 Blue Pill (STM32F103C8T6), Rotary encoder module (KY-040), SSD1306 OLED Display and Breadboard 830 Tie Points.
- Level
- Intermediate
- Time
- About 160 min
- Parts
- 4
An idea, not a guided build yet. Goal, parts and steps; no wiring, code or tests. Copy it to My Garage to plan it.
Goal
Read a rotary encoder reliably without missed steps.
Parts list
- Development Boards
- Sensors
- Displays
- Prototyping
How to build it
- Wire the encoder to timer pins
- Set the timer to encoder mode
- Read the count
- Limit it to a range
- Show a volume bar and mute on push
Common questions
What parts do I need for the blue Pill rotary encoder volume knob?
STM32 Blue Pill (STM32F103C8T6), Rotary encoder module (KY-040), SSD1306 OLED Display and Breadboard 830 Tie Points.
How long does the blue Pill rotary encoder volume knob take to build?
About 160 minutes for a intermediate maker.
