HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
scottbez1
smartknob
C++2022–2025
scottbez1 / smartknob

smartknob

Haptic input knob with software-defined endstops and virtual detents

11Distinct people
14Mentions
1Explicit recommenders
22.3KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Haptic input knob with software-defined endstops and virtual detents

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

As an hardware guy with a love for good interfaces I can only say: told ya so (ca. 5 years ago). Touch screens can be nice for a lot of things, but sometimes actual haptic…

atoav used a recommendation phrase. One indexed comment matches. This is a phrase match, not a verdict.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year14 dated mentions

Observed mentions: 2022-03-11 21:40:27 UTC to 2025-07-29 18:56:17 UTC.

0123452022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 5 mentions; 1 submissions, 4 comments20222023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 4 mentions; 1 submissions, 3 comments20232024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 3 mentions; 0 submissions, 3 comments2025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2025

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC514
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC413
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC303
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC202

What Hacker News says

14 sources
I made a rotary input device that provides software-defined "virtual" detents and end-stops, implemented using a BLDC gimbal motor. It can dynamically switch from completely smooth unbounded rotation, to having detents with configurable spacing and strength and "end-stops" that spring back if you try to rotate past them. https://www.youtube.com/watch?v=ip641WmY4pA It's got a round LCD on the front of the knob (wired and supported via the hollow shaft of the motor) and uses the flex of the PCB and strain gauge sensors (in the latest revision, simply SMD resistors whose resistance changes when stretched) to detect when the knob is pressed down. It's open source hardware and software - https://github.com/scottbez1/smartknob HN folks might appreciate that it communicates with host software on the computer via protobuf-encoded USB serial messa
Read the rest
ges -- nanopb is awesome for embedded C protobuf support, and having the defined schema, autogenerated serialization code, and compile-time type safety is so much nicer than ArduinoJson or hand-written binary protocols! I'd love to get it hooked up to some real software eventually (video editors or home-assistant control are my 2 main ideas), but it's really just been a fun project to tinker with and try out some new ideas and parts I've never used before.
In Ask HN: What's the coolest physical thing you've made?
atoav·Apr 27, 2023Recommendation phrase
As an hardware guy with a love for good interfaces I can only say: told ya so (ca. 5 years ago). Touch screens can be nice for a lot of things, but sometimes actual haptic feedback and positional consistency is worth more than the flexibility gained. Especially in devices or machines we interact with multiple hours a day, where flexibility isn't the point. E.g. a tablet using a touch screen makes a lot of sense, as that flexibility makes sense here. But it makes less sense in a car, except maybe for the entertainment system and even there actual physical switches, dials and levers can be superiour in terms of usability. What I love are really nice things like motor faders on upper class mixing desks. You have a physical interface that can follow whatever digital state you have stored, it is just perfect. There is a future in devices that
Read the rest
combine screens, physical dials, levers and latches with haptic feedback, e.g. like this amazing project: https://github.com/scottbez1/smartknob (A dial with a motor and a screen, which allows for virtual "limits" and dedents)
In Automakers are starting to admit that drivers hate touchscreens
Sharing a little side project I've been working on in my free time (and open-sourced [0]), using a BLDC gimbal motor and a magnetic encoder to create a rotary input knob with all sorts of software-configurable haptic feedback. You can find gimbal motors for pretty cheap these days, and some of them have hollow shafts, so I was able to mechanically and electrically support a round LCD wired up through the middle of the motor, with no need for a slip ring or anything expensive/complicated. I also experimented with mounting strain gauges to the main PCB, which has some cutouts so it acts as a little bit of a flexure, for push/pull detection (and haptic feedback "click" provided by a super short torque of the BLDC motor) [1] Happy to answer any questions you might have! [0] https://github.com/scottbez1/smartknob/ [1] https://twitter.com/scot
Read the rest
In DIY haptic input knob: BLDC motor and round LCD [video]

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.