This Component solves "All" Motor Problems?! (Motor Encoder) EB#58

496,044
0
Published 2024-02-11
Check out SOLO Motor Controllers here: www.solomotorcontrollers.com/?ref=4 (affiliate link)
youtube.com/@SOLOMotorControllers

Try the world's most trusted PCB design software, Altium Designer with
365, for free and 25% off your purchase:
www.altium.com/yt/greatscott!
Check out Altium 365: www.altium.com/altium-365
Check out OctoPart: octopart.com/

You can get the shown components here: (affiliate links)
Magnetic Encoder: s.click.aliexpress.com/e/_DcQBHPX
AMT102 Encoder: s.click.aliexpress.com/e/_DlhgyBj
Round LCD: s.click.aliexpress.com/e/_DCvJOnj
Gimbal Motor: s.click.aliexpress.com/e/_DkLV6uV

Previous video:    • How TINY Can I go? The BEST Power Boa...  
Stepper Motor video:    • Electronic Basics #24: Stepper Motors...  

Facebook: www.facebook.com/greatscottlab
Twitter: twitter.com/GreatScottLab
Instagram: www.instagram.com/great.scott.lab/
TikTok: www.tiktok.com/@greatscottlab
Discord: discord.gg/zuAvkAuhsY
Support me for more videos: www.patreon.com/GreatScott?ty=h

In this electronics basics episode we will have a closer look at motor encoders. Those can not only turn any motor into an awesome and satisfying input device for your projects; but can also turn any kind of motor into a kind of stepper motor. There are many different types of such encoders. So let me show you how they work, what they do and how you can use them. Let's get started ;-)

Websites that were shown during the video:
github.com/scottbez1/smartknob
thesolaruniverse.wordpress.com/2023/09/01/meters-g…
www.mouser.com/datasheet/2/670/amt10_v-1775837.pdf
ams.com/documents/20143/36005/AS5200L_DS000585_1-0…

Thanks to Solo Motor Controller for sponsoring this video
www.solomotorcontrollers.com/

0:00 Motor Encoders?
1:23 Intro
2:16 Rotary Encoder Basics
4:40 Disadvantages of Rotary Encoder
5:38 Using a Magnetic Encoder
7:32 Why Precise Positioning of Motors?
8:45 Turning BLDC Motor into Stepper Motor
10:59 Verdict

All Comments (21)
  • @ZipZash
    I've always wanted to make that SmartKno, and now you go making a video about it and go into more details. Love it!!
  • @Orionrobots
    Encoders on motors have been a key part of my robotics builds, being one of the ways to estimate how far a robot has moved, or try to keep multiple motors going at the same speed. Paired with PID loops they are a key component.
  • @mathieusan
    one more advantage is there is no mechanical mating between the motor shaft and encoder, so there is no wear or strain induced by the assembly due to possible slight misalignment. This is a huge advantage for durability. Once the magnet is secured and positioned in the center, and the sensor board is secured in an assembly, only initial calibration is needed. This means, it should be stable under vibration, bumps, etc.
  • @runger1
    Hey Scott, thanks for your great and always so informative videos. I just wanted to add a small correction, namely that the CUI encoder has a PPR of 2048 - but that is pulses, on each A and B outputs. Because these outputs are in "quadrature", they form a 2-bit Gray code, and the actual resolution is 4x higher than the number of pulses, because you count both the up and down transitions on both signal lines. So the CUI encoder has a PPR (pulses per revolution) of 2048, but a CPR (counts per revolution == resolution) of 8192, which works out to an amazing 0.044° resolution, twice that of the AS5600...
  • @randyscorner9434
    When working on a ventilator system over covid shutdown we got exposed to encoders on motor shafts and I've never looked back. Great way to control all aspects of the motor and now being used on my CNC machine to avoid any skips. Worked extremely well in the ventilator also.
  • @MotoMattMania
    I Ordered this to test for a project at work. Thanks Scott! This should work perfectly!
  • @Eewokney
    ahh i loved the original video and i checked 3 weeks ago if there where any updates on the project. i hope with this attention somebody will pick it up.
  • @kektikektus
    I was reading up the project few hours ago! Thanks for uploading this
  • @Jose-tw9bl
    I love this topic! I am trying to learn more about encoders. I'd love to see you going a bit "low level" and read an encoder position using a dedicated peripheral of a microcontroller. Showing how to configure the peripheral and all
  • @zachwilliams639
    With all love I appreciate the statement of any kind saying can fix all problems. That’s the a right attitude for someone who is into something. Know the humor of a statement so bold it’s worth giving it a look. One who stands behind an all.
  • @sneakythumbs9900
    This is a game changer for building rotary actuators with feedback. I also have plans to build a homespun weather station and the wind direction sensor is always hard to make accurate with mechanical encoding
  • @nerdaxic
    Best explanation of rotary encoders I've seen up to date. Thank you! ^^
  • @SRG-Learn
    Fuck yeah! I revisited the video to see any updates but not luck... and suddenly one of my favorite youtubers revive the project!!
  • @ytrew9717
    Very well (simply) explained, thanks!
  • @sokrates297
    Perfect timing, I just rewatched that video, and was curious about the motor used.
  • @live2serv
    Scott, You have the finest drawing hand/skills of any youtuber..
  • @ultravioletdream
    I have to get one of those Motor controllers, thankyou for showing how awesome they are :-)