Ever wondered what’s actually happening when you spin a mouse scroll wheel? 🖱️
It’s not “magic” — it’s precise electromechanics + signal processing.
Inside most scroll wheels is a rotary encoder. Its job: convert rotation into digital signals your computer understands.
Here’s the core idea:
• The wheel is attached to a slotted disk (or magnetic wheel)
• As it rotates, it interrupts a sensor in a repeating pattern
• Each interruption = a tiny, countable step
• Software translates those steps into scrolling distance and speed
Two main encoder types are used:
1️⃣ Optical encoders – use an LED + photodiode to detect slots
2️⃣ Magnetic encoders – use a magnet + Hall-effect sensor (more durable)
Why scrolling feels “clicky”:
That tactile bump comes from a detent spring pressing into notches on the wheel axle. Each click ≈ one encoder step.
Why smooth scrolling exists:
Some mice remove the detents and rely purely on high-resolution encoders, letting software interpolate motion for p...
Suggested Credits
Tags, Events, and Projects