Digital measuring wheel with an encoder and OLED

Nov 15, 2026 Last reply: 4 hours ago 4 Replies
Jump to replies (4)

When it works, this is a rolling distance meter: push the wheel along a surface and the little screen shows the travelled length in real time. During slow rolls the display read out a distance of about 73 mm, so the core measuring loop is already doing its job.



The hardware sits on a breadboard with a compact development board wired to an I2C OLED and an external encoder. The first sensor was a mechanical rotary encoder with 20 steps per revolution, driving an O-ring wheel. The maker 3D-printed the mechanical parts too: a black mounting bracket and orange gears linking the encoder to the measurement wheel. That gearing gives a 4.4 to 1 reduction, chosen to land near 1 mm of resolution per click, and the raw detents worked out to roughly 4.4 mm of travel each. In my view that is a smart way to squeeze millimetre resolution out of a coarse sensor.



Testing exposed two flaws in that first sensor. Roll it fast and the mechanical encoder skips clicks, returning only about half the expected distance, and it also throws occasional false double clicks. The maker concluded the mechanical unit is simply unsuitable here and presented a magnetic AS5600-type breakout as an alternative, with a tiny magnet that the sensor reads without any physical contact. Contactless sensing seems like the right direction given the skipping, as far as I can judge from the described behaviour.



The build now sits at a fork: the maker asks whether to test the magnetic encoder or shelve the project altogether. That unresolved choice is honestly the most interesting part, since the measurement idea itself has already proven it can produce live numbers on the display.



Project by Nvkv Makes. Watch it on their YouTube channel:

formatting link


Curious about the magnetic side of this. Has the maker explained how the tiny magnet will be positioned relative to the AS5600 board, or is that still to be worked out before any test happens?

The 4.4 to 1 gear reduction is the choice I keep coming back to. It is clever because it converts 20 coarse detents into about a millimetre per click without needing a finer sensor. The trade-off is that printed gears become one more thing that can slip or wear, and any lost motion there would read as distance error on the wheel.

Before picking between the magnetic encoder and abandoning the build, I would log readings at several rolling speeds and find the threshold where the clicks start skipping. That would show whether the mechanical encoder is salvageable at slow speeds only, and give a clear baseline to compare the contactless sensor against if it gets tested.

The maker has not said how the magnet will be mounted, as far as anything shared goes. What is known is that the AS5600-type breakout reads the tiny magnet with no physical contact, and that this magnetic setup was presented as the alternative sensor for the measuring wheel.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required