Skip to content
MCU Atlas
ESP32ESP32-S3

SmartKnob: haptic knob with virtual detents (ESP32-S3)

A haptic input knob with software-defined detents and endstops, built from a BLDC motor, encoder and round LCD on ESP32.

Difficulty:AdvancedSource available

Photos

SmartKnob: haptic knob with virtual detents (ESP32-S3) photo 1
SmartKnob: haptic knob with virtual detents (ESP32-S3) photo 2
SmartKnob: haptic knob with virtual detents (ESP32-S3) photo 3
SmartKnob: haptic knob with virtual detents (ESP32-S3) photo 4

Photos: scottbez1/smartknob

Key Facts

About This Project

Scott Bezek's SmartKnob uses a small brushless motor driven by FOC so the knob can feel like it has clicks, springs or hard stops that change in software. A round LCD sits in the center of the knob and an ESP32 runs the motor control and UI. The project sparked many forks and spin-offs. Note that the original motor is hard to source, so check the repo issues for alternatives. Advanced build with custom PCBs.

Source & Attribution

Source: GitHub
Also from: YouTube
License: unknown (custom/multiple – see repo)
Last verified: 10/15/2026
SmartKnob: haptic knob with virtual detents (ESP32-S3)

How to Build It

SmartKnob is an input knob with programmable feel. A brushless gimbal motor and magnetic encoder fake detents, end stops and springiness in software, and a round LCD sits in the knob's hollow shaft. It's an advanced build that needs fine-pitch SMD soldering.

Parts Needed

  • SmartKnob View base PCB (ESP32-S3) and screen PCB (use the interactive BOMs)
  • Hollow-shaft BLDC gimbal motor (the specific model in the BOM)
  • TMC6300 motor driver, MT6701 magnetic encoder (on the PCB)
  • GC9A01 1.28in round LCD
  • 3D-printed/CAD enclosure parts, screws, and SMD soldering tools

Steps

  1. 1

    Check the build is for you

    The author says it's not yet plug and play. It needs advanced SMD soldering, and the auto-generated BOMs aren't fully tested. Read the README and Discord before ordering anything.

  2. 2

    Order PCBs and parts

    Use the Base PCB and Screen PCB interactive BOMs (or the combined CSV) to buy parts, and order the boards from the repo's fabrication files.

  3. 3

    Assemble

    Solder the boards, fit the motor with the LCD's flex running through the hollow shaft, and assemble the enclosure from the 3D CAD.

  4. 4

    Build firmware

    Open the firmware in PlatformIO and upload over USB-C (the board has a CH340 for serial).

  5. 5

    Calibrate

    On first run, use the serial console to run the motor calibration so the encoder and motor alignment are learned.

  6. 6

    Use it

    Try the built-in demo modes (detents, bounded ranges, springs). Developers can connect it to a PC or Home Assistant through the serial protocol or the community forks.

Available as a complete kit

Open-source haptic knob - order from JLCPCB

Buy from Community (JLCPCB)

Bill of Materials

Parts list

5 parts · 1 linked

Heads up: some Buy links are affiliate links. If you buy through one, MCU Atlas may earn a small commission at no extra cost to you. It never changes which parts we list. How this works

No verified link — check the original project
No verified link — check the original project
No verified link — check the original project

1× MT6701

No verified link — check the original project

Not included: 3D-printed case, wire, solder, USB cable

Download CSV

Related Projects

X-Knob: LVGL smart knob for MQTT smart home and Surface Dial
Illustration
ESP32ESP32-S3
X-Knob is an ESP32-S3 smart knob inspired by SmartKnob: an LVGL interface, MQTT smart-home control and a Surface Dial mode over USB.
Advanced·Code
4 parts listed
Tinytron: tiny ESP32-S3 retro TV desk toy
Illustration
ESP32ESP32-S3
Tinytron is a pocket retro TV: Waveshare's ESP32-S3 board with a 1.69in screen plays MJPEG video from a microSD card or streamed over Wi-Fi.
Beginner·Code
4 parts listed
RempyRadar: round-screen flight radar desk toy (XIAO ESP32-S3)
Illustration
ESP32ESP32-S3
A sonar-style radar that shows live nearby aircraft from ADS-B data on a 1.28in round screen, compass-stabilised.
Beginner·Code
3 parts listed