Skip to content
Prompt & SolderHow to Ask Claude
All builds

Image: reddit.com · Using an MT6701 magnetic sensor as a rotary encoder

Worked Proof shown

An MT6701 magnetic sensor used as a rotary encoder

An MT6701 magnetic angle sensor set up as a smooth contactless rotary encoder, using a sketch Claude helped write to program its EEPROM.

—

Credits

  • Reddit poster gedmos Source ↗

Earliest dated source: 1 Mar 2026

The full story

The maker replaced a cheap mechanical rotary encoder with an MT6701 magnetic angle sensor, which can output standard quadrature signals with no contact bounce or wear. Claude helped write the Arduino sketch used to program the pulses-per-revolution setting into the sensor's EEPROM.

With a magnet glued to an old potentiometer shaft as the knob, it works smoothly, though without detents, and the maker has used one to tune an SI4732-based radio.

How it was done

Tools

Themes

Loading themes…

Sources

From a short post by the maker, so the details are as they tell them.

  • Reddit: Using an MT6701 magnetic sensor as a rotary encoderForum threadreddit.com
    Reddit poster: gedmosPosted 1 Mar 2026

    The maker's post on r/arduino.

    If it disappears: archived copy of Reddit: Using an MT6701 magnetic sensor as a rotary encoder (opens in a new tab)

  • The project: garrysblog.comBlog or write-upgarrysblog.com

    The maker's write-up and code.

Related builds

Finding related builds…

Prompt & Solder

An independent community project. Not affiliated with Anthropic.

What this is. Real projects where people used Claude to build, fix, port, revive or take apart something, from jailbroken Kindles to rebuilt DOS games, plus the times it went badly wrong. Every build links to where it was shared, and every source is listed here.

How far to trust it. We summarise what people reported and say what each build rests on: a full write-up with code, a short post, or a passing comment. We haven't tested them ourselves. Photos are shown from the original sources with credit. Only modify hardware you own, and back up first.

Privacy. No accounts. Analytics cookies (Google Analytics) only if you accept them; no ads or cross-site tracking. Searches are counted anonymously (just the words) to show what's popular, and so are clicks on Ask Claude (just the count). The Claude connector only receives the search words your Claude sends it.

How toAsk ClaudeEvery sourceStatsSubmit a buildPrivacyRSS