DIY haptic input knob: BLDC motor + round LCD
Vložit
- čas přidán 9. 03. 2022
- Introducing the SmartKnob View: an open-source input device with software-configurable endstops, virtual detents, haptic touch feedback, and a round LCD.
Since you can't feel the detents through the video, make sure to turn up the volume so you can at least hear them, particularly the fine-grained detents toward the end of the video.
A brushless gimbal motor is paired with a magnetic encoder to provide closed-loop torque feedback control, enabling virtual endstops and detents. Internally, everything is powered by an ESP32, with a TMC6300 BLDC motor driver, HX711 strain gauge ADC, VEML7700 ambient light sensor, and more!
I'll have a lot more to share about this project in the future, like a design and assembly overview, so make sure you're subscribed if you want to see more!
And follow me on Twitter (@scottbez1) for mini-updates, like this demo of the PCB-mounted strain gauges: / 1499510448864915465 or a sneak-peak of the internals: / 1502335685918814212
Open source project: github.com/scottbez1/smartknob
🛒 Related hobby electronics items (affiliate links help support the channel, at no cost to you):
Round 240x240 LCD module (GC9A01): amzn.to/3xDpafs (This is a breadboard-friendly module using the same circular LCD panel used in the SmartKnob - useful for prototyping. If you want just the raw LCD panel, see the BOM in the project GitHub for more info)
Highly recommended soldering iron - TS100: amzn.to/3Olswd0 (I use the Ralim/IronOS firmware, and built a barrel jack extension cable with flexible silicone-insulated dual-core wire for better maneuverability)
Load cell amplifier - HX711: amzn.to/3uS0b66 (This is a breadboard-friendly module for using the same HX711 load cell amplifier used in the SmartKnob for detecting force applied downward on the knob, along with the strain gauges below)
Strain gauges BF350-3AA: amzn.to/3uQLSij (Strain gauges like these are used to measure the PCB flex to detect presses on the knob)
If you liked this video/project and would like to support other cool projects, I'd love to have your sponsorship support on GitHub: github.com/sponsors/scottbez1/
This project was greatly inspired by @JesseSchoch 's video "Haptic textures and virtual detents" so definitely check that out too: • haptic textures and vi... - Auta a dopravní prostředky
Good news! The motor used in this design had been elusive, but the community was able to identify the motor manufacturer and SparkFun had a bunch of these motors manufactured - the motors can now be purchased from SparkFun if you'd like to build your own! www.sparkfun.com/products/20441
SparkFun is an awesome company to support - they've been pushing the hobbyist and open-source electronics space forward for years! This isn't sponsored and I don't make any money from sales or anything like that; I just love what they're doing as a company. I've used a ton of their electronics boards in the past and I actually learned how to reflow solder at home by following Nate's old blog posts: www.sparkfun.com/tutorials/58 and www.sparkfun.com/tutorials/59 Very excited that they were willing to help make these motors more broadly available!
came here after seeing Sparkfun posted the part. I'm very excited to try my hand at one of these really cool knobs. Thanks for providing this.
Those seems like a 3-pin version of old HDD motors. Currently thinking and looking into how this would be possible with an HDD drive motor and those ar also brushless motor's. Unfortunatly those are commonly in 3 phases.
Thanks for posting that video. Today been pondering how to do that without a slip ring, so thus glad to find that video and project!
Ooooohhhh, a special type of motor where the shaft is around a stationary center. Thus it doesn’t need a slip ring
surely there is way less costly possibility to get haptic feedback, by using some more generic and lower tech brushless motor.
why are open source designs always far superior to anything commercially manufactured. This is so impressive.
Because they are innovative and are not controlled by “industrial design” bosses
Because an open source design is designed with the goal of developing a good product rather than how much money can we squeeze out of the consumer
also patents
When you're taking a product to market it is going to be stripped down for low-cost parts and manufacturing processes. While this knob is relatively low-cost, there are certainly drawbacks to making it the way this video shows you on a large scale.
Because these people didn't have to be paid to do the thing. They just loved it so much they did it for free!😊
This is absolutely brilliant. Thank you for open sourcing it! I would love to see a build video.
Me too!
Yes, a build video would be cool. Get them extra view stats up!
Me 3
Yes please build video
Oh please, do please upload a build video. I would love to make this knob for myself, too. 😁
Bro really dropped the coolest knob I’ve ever seen in a less than 3 min video, and open-sourced it. This is awesome.
This technology suits many markets but as soon as I saw it I couldn't help but imagine it in a car especially with the new minimalistic approach many manufacturers are taking. This really can be a game changer and an incredible solution for the fine balance between reducing cost and maintaining customer experience. Incredible work!
Exactly. Touchscreens are reliable and cheap but the lack of tactility is dangerous in some ways, if not extremely unsatisfying and soulless. A contactless system with simulated tactility is the way for the future.
Vw Phaeton had this feature decades ago 😉
@@TheBurnout96 bmw idrive in pre 2010 cars had this
imagine it on an Fueltech
For a car input I would loose the LCD. It would be hard to place the knob in the field of vision of the driver and the traffic. Instead I would include something like a vibration motor and maybe a few haptic fixed buttons. like home, select, quick menu (navi, radio,...)).
UI tip: pick a font that has “lining numbers” in the OpenType feature set. All the numbers will have the same bounding box width, so they won’t jump around when you go from skinny numbers to fat numbers, like 11 to 12.
monospace fonts
@@RuslanKoptiev lining numbers is different than monospace. Monospace gives every character the same width, lining numbers only applies to digits but leaves alphanumeric characters as-is.
@@areox27 that’s cool! thanks for the info
yeah any monotype will do the trick
@@nebsu_ every monotype is number lining, but not every nunberlining is monotype
I can cross a similar project off my todo list. this has everything I wanted! Well done!
So you were the reason it got recommend to me
fancy spotting you here Bitluni
lol
everything a knob can be, awesome project !!
Maybe you can add software futures and help with his RAM problem
Same, very well done!
You gave us an insanely cool project and then abandoned us.
Please, come back!
I second this. Something like this has so many use cases in productivity and needs to be on the market!
I watched this 2 years ago and even 2 years later i find this really freaking cool
This seems like the sort of thing I could imagine Elgato selling
Elgato ForceKnob
Are you slow? You could say that about any company. I can tell that you don't know anything outside of games if elgato comes to your mind after watching this video. Grow up
Hi chippy
chippy chippy chappa chappa
I don't have a project for this yet but need one in my life! VERY cool! 👍
I need lik 500
this could be useful to control lights and other smart home devices
@@Shadow__X could combine this with a raspberry pi and homeassist to make an awesome control panel
o kinda wish to use only as a fidget toy, Imagine you can configure lots of modes just to spin the knob around with different feedbacks.
@@sparkie5571 basically my plan, I have home assistant set up on an always on PC. Planning on installing this in my light switch socket and using the mains for power with a phone charger, probably convection cooled for safety
We definitely NEED this in synthesizers
Scott, you need to bring this to market or find a partner that can. I saw your videos on this years ago, and there still hasn't been something like it available.
It has so many use cases and I can imagine it being used a ton by creatives, WFH, smart home enthusiasts, music fans, and movie/tv lovers just to name a few. The possibilities would be endless if it had integrations like the Elgato Stream Deck products.
I know that you open sourced this (huge props), but a ton of people like myself don't have enough time / aren't smart enough to make anything of it and would be willing to pay top dollar for it prebuilt. Cheers!
I love the relative simplicity, yet deep complexity of this device!
Absolutely a masterpiece of ingenuity.
Simple products, require deep complexity. My manager still not understands that.
I realllly hope that this will be implemented to Home assistant. This is a killer device for smart home! Glad I opened my recommendations today.
YES
How much does it cost? I can for sure get one integrated, at least the biggest features. With endless possibilities also comes endless integration.. possibilities!
exactly what i was thinking
Thermostats, smart control, remote control fan, etc. There's so many stuff to use it for too
yes. this I dont know how I'm going to use this. but i want to build it. i wish we had a collection of theses physical UIs for home assistant
Didn't realize how much I wanted to do a haptic feedback project! This is pretty exactly up my alley. So many possibilities!!
I want this so much. I have no immediate use for it but I want it. There is something absolutely satisfying the way you show it and when you understand what goes into making it, the obsession is even more. Like others have said, this would be a perfect fit for home assistant.
This is super cool! I built one similar to this about 24 years ago using a DC motor and an optical rotary encoder. It did not have an LCD display nor button. Watching your demo brought back memories and now I want to build one like yours!
the nutton seem cheap to add but the screen is like 80$ and take bunch of space inside
@@omnianti0 Well, A pocophone f1 screen is 20$ (1080p ips with touch digitizer) So I bet this little screen is less.
This looks like a smartwatch screen which are now mass manufactured.
@@omnianti0 Just checked a circular OLED is ~25$
You can get by using a rectangular one if you don't fill it with color.
@@omnianti0 LOL, so wrong.
@@HAWXLEADER you meam the screen without controller what is of few use here
This is one of those awesome ideas that make you wonder why nobody had them earlier.
Totally blown away, I will definitely use this some day for one of my projects! =)
BMW's first IDRIVE System in the E60/E65 from around 2002 worked exactly like this. As the menu changed, the turning of the knob changed on the fly. Really cool
The idea isn't new. This is an extremely good implementation of an old idea I would say.
Having a physical knob as additional input device for a computer has been there at least 10-15 years ago. The problem back then was that they just didn't find good use cases. I remember that it was marketed as tool for designers who work often with photoshop. The knob could be used to determine brush sizes and in general everything where you have a scrollbar. It sounds cool and I bet it is cool when using, but to be honest, there is no real benefit from it as using a mouse wheel also works pretty good already.
Designer: "We should put this really awesome knob customers will love it!"
Engineer: "Ok how much does it cost?"
Designer: "I don't know like $5"
Engineer: "We're gonna go with the $0.20 knobs we've been using."
Designer: "But...this will add value"
Engineer: "You know what you're right, $0.25 knobs it is!"
Sony rds tuner had that 30 years ago, albeit in hardware.
Dude! I would love to see a "how to build" video or written series, this seems like such a fun project to learn and build something that is sooo tactile and useful in my real world. Appreciate your work Scott!
I never knew that I absolutely can't live without such a knob. Well after this video I know my life is incomplete without this glorious device ❤
This is neat, what really amazes me is how intuitive the configurations are and how you smoothly fuses everything together in a clean design.
This is incredible!!! I would love to use something like this as some sort of universal control knob for different software. Imagine this being the volume knob for the PC by default but as you open up a particular software you can switch and control certain software features with it. Maybe with an added grid of simple buttons next to it to switch between different things you want to control. I know there are control decks out there for music making, lightroom etc but a knob with tactile feedback of this degree is simply something else. I have pretty much zero experience in electronics or programming/coding but I would definitely put money down on some sort of easy to built kit or pre-assembled product! As long as there are ways to configure it on an app by app basis.
You could also use it to control playback of videos and music. Have it motorized to turn at a steady pace, then the video speeds up / slows down or goes back wards if you adjust the speed or direction, like a DJ controlling a turntable.
@@superfluidity Wow! EXACTLY! What an awesome idea.
Not exactly the same, but Microsoft has the "Surface Dial" which is basically a software defined knob. It changes uses based on the context of the app that it's in. I don't have any hands on experience with it, but from what I've seen, it's pretty neat. So the precedent for its sort of device is there.
As cool as this is I’d love to see an attempt at inertia! Give the wheel a flick and depending on detents and friction the wheel could spin a few revs before slowing to a stop. Video editors have mechanical shuttle jog wheels like this. It’s a gas watching a skilled operator flick them around with high speed and precision.
I was absolutely thinking about the applicability of this for video editing. I guess it can't be both jog and shuttle simultaneously, but it can switch back and forth easily enough, and that's pretty cool all on its own. And hey, if a 2-layer version could be made, then you'd have the full package -- PLUS the ability to make it do various other things, too. Very cool project!
yes indeed and imagine if it had 4 way push so you can spin to a point, pull down to drop cut video to line, push up to delete etc
inertia without mass! great idea!
the mx master mouse 3 has this
The wheel will need to be heavier to effect inertia, but that smooth tactical feedback😭😭🥹🤲🏽❤️❤️
If I would say "that's brilliant" it would be terribly inaccurate. This is straight up perfect and I'm also glad you open sourced it!
Wow, great job, looks super clean! Can see a ton of potential uses for this!
it's like the flic twist but better
Oh hi Lewis, how are you doing
This has got to be one of the coolest projects I’ve ever seen
The scripting, narration, and demo was even better than the device itself. Thank you and kudos!
5 seconds in and I absolutely LOVE THIS! I have worked on a diy project with cheap rotary encoders and the result was garbage. this looks so unbelievably amazing! great job! I would also happily buy one if you decide to sell them!
I'm actually amazed by the number of modes possible. Perfect OS Nest base. Great job!
Wow. I had been thinking of building a knob-with-screen device with a rotary encoder but your design has so much more. Thanks for sharing this.
You show here the solution to what the car manufacturers got wrong with their touchscreen only concept. Amazing, I can't wait to see this in action.
my tesla is awesome and i never need to use the screen while driving anyway, it is so smart, depending on who enters, everything adapts.
@@JohnSmith-pn2vlnobody asked about your tesla
@@JohnSmith-pn2vl press agree to send elon musk your soul
This is legit one of the coolest yet functional things I've ever seen. Incredible job my man!
Buddy, you are generous for releasing this as an open source project. You are awesome.
It's great to finally see an open source implementation of this. This is something that I always wanted to do (ever since I saw BMW'S iDrive knob).
honestly i have watched this atleast 10 times and i love it so freaking much. i wish every rotary input device would be this.
I never thought I would be so enthralled and impressed about a video literally about a knob
This is so well implemented and built. Amazing stuff. This is definitely going to become a norm for new knobs in general.
The functionality and flexibility you’ve managed to get out of a DC motor to drive an interface device is actually amazing. This could honestly revolutionize the approach to building any kind of rotary input system since the BOM for the rotation elements is so low.
I’d suggest also considering a knob+surrounding LEDs build if you’re looking to do further experiments with even smaller form factors. LED light intensity/color could be a feedback mechanism as well.
Scott I'm literally losing my mind that I hadn't seen much of your work before now. This is amazing and the fact that you are making it an OS project screams! I don't know where you are located but if you ever want to lean on our workshop for collaborating on something we would be game! I immediately have so many ideas for your rotary knobs and can't wait to make some.
Holy cow this is amazing. Not often do I get legitimately excited on youtube but today I am EXCITED. Can't wait to dig into this. Thank you for sharing.
Love the FOSS implementation! You should look up the NODO Inertia Wheels. They're for the film industry and mega expensive, but they have a few extra features that could be fun to implement.
You can adjust the "mass" and the "drag" of each wheel to change it's pretend moment of inertia. I think it's commutating the motor so that it slows down the deceleration.
you could see a demo of what I'm talking about at video _fZKYHZE4mg timestamp 1:40
This is wonderful! I hope that some day these become available to purchase. While I do tinker a bit with electronics, I don't think my skills are good enough to do the soldering required for this project.
I cannot stand how much I genuinely need this kind of thing on my desk. The detail is so wonderful 🤤
maaaaaaan this is EXACTLY what I was looking for like 2 years ago!! Thanks for this! cant wait to start playing around with it!
I liked the video before it had even started, but now I wish I could like it twice. I was expecting this to be something mildly interesting, but this was incredibly interesting. It's so cool that the haptics and end-stops are all managed by software, and that snapping of the dial is really neat too. I can imagine so many great uses of this system in modern and sleek designs. Great job!
You can like it twice but that would negate it you should like it three times
Use your backup/throwaway Gmail account to view this video ;)
Holy smokes man! This is incredible stuff! I would definitely would love to see an overview of putting together this project. Keep up the great work!!!
I've been searching for something like this for months now for a project I wanted to start working on. This is awesome! I'll definitely be attempting to implement this into my project. Thanks!
id love if we started seeing these actually used like everywhere because this is the perfect line between digital and mechanical which giving the best of both worlds and making everyone happy no matter what you prefer
This knob has been in Mercedes cars since like 2015, same functionality too. It's quite amazing that the code for that is opensource, lots of different ideas/products can be made with this thingy alone.
Man, you ought to be selling this to a company because this is absolutely astounding.
Volkswagen had this in their Phaeton decades ago 😉
This is actually so cool! I can see this as a great project when integrated with home-assistant devices.
This is amazing! You've done such a wonderful job. Thanks for open sourcing this on top of it all!
Very cool! Love the different interaction possibilities!
This is fantastic, super impressive. Well done, and thanks for open sourcing it!
Crazy nice.
The fact that this is open source is amazing
Man this thing is just incredible to me. For checking various HMI evaluations for the setting being adjusted. It could simplify the sourcing of rotary knobs for a large project.
This is really great!! Thanks for making it open source, I will definitely try to build it!
that's so cool! I'd love to see more inside on how it works
Not sure why I got this on my recommendations but I sure am glad I did. This is some interesting stuff and I can already A LOT of cool ways to use something like this. Love it.
Only recently discovered your projects and the way you do things has been very inspirational so far. Great work! I aspire to be able to contribute in the future.
One way or another I'm getting these in every room. This is the best implementation of a thermostat/light/scene/volume/fan/everything controller that I've ever seen. I was eying the sonof ns panel with the home assistant custom component. But I'm really tempted to wait for/help with the mentioned revisions and start ordering parts for this.
Same I really want to add this to home assistant and make it like a dashboard
And it can be controlled by 1 knob. A press for mode change
"Controls multiple spaces with one haptic knob" would be cool to see one in action
I love haptics, they're sooooo cool! And this project is also awesome!
this is amazing and the idea that is open source is just pure goodness
I have ZERO use for this personally, but this is one of the coolest things I've ever seen. Best Knob Ever!
Wow this is insane. Thanks for sharing this. I would like to see a build video too!! 🔥🔥
This is super cool! I'd love to see an integrated modular product.
This is super cool. And it being open source makes it really attractive for a bunch of different projects
Love the samsung watch wheel treatment of the knob. The interface is really good-looking with a lot of functionality
Incredible, please make a video on the internals and how it comes together!
All that work just so you could say knob. I admire your persistence. Seriously thought very very cool, thank you!
This is the single most awesome thing I absolutely don't need but MUST have! I'm obsessed with it now I need to play with it :D
I've always wanted to do something like this, but it seemed too far out of reach. You've made this look amazing!
*With tears in my eyes*
This is the future I was looking forward to.
this is pure genius using a motor to emulate feedback and springs
I'm blown away, this is such a good idea.
It would be dope if this could be added as a matter device and be used and customized for actions in smartthings. Like managing light brightness or volume on something
I'm thinking this could work well with Home Assistant, or as a fancy jog wheel for video editing. Maybe mute and volume control for Zoom calls? What else would be cool?
This would be a next level spacemouse for 3D CAD designing 😱
Or possibilities for an opensourced smart watch with tactile feedback.
Just posted this to the Home Assistant subreddit before seeing this comment. Yes, so much yes! I can envision so many possible uses for this. What an utterly fantastic project. Well done!
Open source Nest-style thermostat perhaps?
Also see my other longer comment, but these would be great for a MIDI controller for audio work!
This project will make a lot of people happy. I subscribed immediately.
First thought - This would improve the Nest thermostats UI significantly.
Awesome project - thanks for open-sourcing it. Subscribed.
Wow! I could see this making a HUGE impact on Amateur Radio imagine being able to setup the main rotary encoder (VFO knob) to your exact requirements of feedback on CW/SSB but also then it automatically select itself to Detent mode for FM/AM use! Then if you had a radio with a Menu system of settings it would be useful for that too. How long before someone uses one in a uBITX HF kit ? 😁#KD8CEC #uBITX
You can be the one!
Wow, that's a really nice idea!
or even using several of these encoders on an advanced rig not just for the vfo but also for clarifier, af&rf gain, if shift/width, DSP control and then dynamically change them to rf power/drive, mic gain/compression/eq, CW keyer speed when going tx or adapt knob usage depending on the selected mode. That would cut down fiddling with the menu during the QSO and get rigs closer to a full hardware control like with dials and knobs on classic analog rigs. Modern rigs, albeit with better performance, became a bit cumbersome to operate compared to the old ft-902dm or ts-830s
Very inspiring! I've been working on a musical instrument controller based off a Teensy and a AS5601, along with some haptic feedback. Really love the addition of the motor and display here. Curious how "smooth" the motor feels when just spinning/rotating it. Ordered a few off Aliexpress to have a play with.
This motor is basically completely smooth when unpowered, which is relatively rare - I've ordered and tried a LOT of different motors from AliExpress and most have noticeable cogging.
@@scottbez1 Fantastic! For my controller I put a fair amount of time into getting really smooth skate bearings, and some offset weights (ala fidget spinner) so it tends to skate along quite smoothly on its own. I look forward to it arriving and playing with it. I've not dug that deep in Teensy-land (motor drivers), but the interface options are pretty staggering.
I keep coming back to this video, it's such a wonderful device!
I have no idea why this was in my recommended, but this is pretty neat. Open source projects are awesome.
Love this project! Immediately I want to take a bunch of these in a grid and make a software configurable MIDI controller!
Is the size arbitrary or does it need to be that big due to all the parts? For a MIDI controller, half or quarter size would probably be perfect assuming screens are available, but even a grid of full size knobs would be cool.
I could also see a use case in controlling custom stage lighting effects and other music-tangential use cases!
I was just looking up micro brushless motors for a midi controller like this when I came across this video haha. I think the key to making it small enough would be a different screen layout (or getting rid of it entirely). I was thinking maybe one screen with a bunch of knobs and each knob just has an led ring to indicate position and notches, then the screen could show actual values.
I second this. Being able to configure if a thing is a knob or endless encoder depending on context is probably next generation of midi-controller hardware.
It looks like majority of the hardware he's got physically inside the knob, but it doesn't have to be that way. If the depth of the device isn't as important, there's no reason you couldn't pack all the hardware further back into the enclosure and just have the knob extending out into the front. Getting the screen functional with that setup would be the only challenge.
I absolutely need to make this because this is not only a functional knob that could be put to good use but it would also be an amazing fidget toy
I have seen a similar knob today on a trade fair, but the list price was 800 euro upwards. So glad, that you're version is so much cheaper.
Can't describe how cool this is. Absolutely brilliant.
this is something that's so specific but really cool for no reason
That is so awesome, this is a project with so much potential, this is one in a lifetime idea, with SO many applications!
Very, very cool and innovative. Excellent work! I love the spring loaded knob feature.
I have no idea what I would use it for, but I absolutely love the idea and the implementation. One possible solution... an all in one controller for home automation. Changing temperature, lighting, etc... with the knob.
Very cool project. This would make a killer Home Assistant control panel!
Thanks for open sourcing your work!
This is brilliant! I've been wetting the bed in my dreams waiting for something like this... Ahem - I was too excited there and jumped the gun with that comment. Though, in all seriousness, this is an amazing project. Already have tons of ideas where I can implement it, and look forward to experimenting. Thank you for open sourcing this project!
this is THE coolest thing I've seen in a while
i don't think people realize that this is truly amazing
This is truly a thing of beauty. Brilliant work.
You basically took stepper motor tech, and put it thru a star trek makover. Very nice work. Thanks for showing us and teaching a bit.
This is the coolest and most creative DIY project I have seen in ages!
I'm so excited to hear this is open source! So cool, thank you