Re:SmartKnob – Haptic input knob with software-defined endst...
by Ecco on Saturday September 09, 2023 @07:08PM
(#37451205)
Interactions like these are the reason why HN is so worth reading!
Re:SmartKnob – Haptic input knob with software-defined endst...
by seabass-labrax on Saturday September 09, 2023 @07:42PM
(#37451414)
Thanks for the swift response! I've been interested in haptic feedback for a long time, but so far have not come across any general way to calculate the acceptable power dissipation for a given motor and driver circuit. Physical controls have so much to offer in ease-of-use, but the chief downside of them currently is that there is no easy 'two-way binding'.
Re:SmartKnob – Haptic input knob with software-defined endst...
by K0balt on Sunday September 10, 2023 @05:25AM
(#37454246)
Motors often run at high rpm and then shut off, coasting to a stop. I would expect any standard bldc controller circuit to be able to handle any potential generated by manual movements without difficulty.
Re:SmartKnob – Haptic input knob with software-defined endst...
by stavros on Sunday September 10, 2023 @06:46AM
(#37454628)
Many ESCs these days have a brake function, where they short-circuit two of the phases together, stopping the motor abruptly, too.
Re:SmartKnob – Haptic input knob with software-defined endst...
by stavros on Sunday September 10, 2023 @06:53AM
(#37454669)
The UX in your project is fantastic, well done. The motor kicks to simulate clicks, for example, are a really nice touch. I still don't get how the PCB detects flexing, I'll just put it down to magic.
Re:SmartKnob – Haptic input knob with software-defined endst...
by algas on Monday September 11, 2023 @07:48PM
(#37475216)
MechE here. The way strain gauges work is with a long conductive trace that loops back on itself like a snake, or a radiator. This creates a conductive line that passes back and forth many times along the direction you want to measure strain in.
When the surface that the gauge is attached to flexes, the PCB itself actually stretches and shrinks by a very small amount, on the order of a thousandth of a percent. This causes the long conductive trace to get slightly longer, which measurably increases its resistance.
There are probably some best practices that I'm missing though (diode on the main supply maybe?), so if anyone knowledgeable wants to chime in, I'm all ears! (Or I suppose pull requests are welcome too).