Turn any DC Motor into a Servo Motor
How To Mechatronics How To Mechatronics
670K subscribers
267,339 views
0

 Published On Oct 2, 2023

You can sign up for the Free version of Onshape here: https://Onshape.pro/HowToMechatronics
View and download the 3D model: https://bit.ly/customservo
I ordered the PCB from PCBWay: https://www.pcbway.com/?from=HowToMec...
STL files, parts list and more details ► https://howtomechatronics.com/project...

If you enjoy and find the content that I make useful, please consider supporting me on Patreon:   / howtomechatronics  

You can order the PCB from PCBWay project sharing community: https://www.pcbway.com/project/sharep...

Parts list (check website article for full list, affiliate links):
Amazon.com:
DC Motor 12V: https://amzn.to/3g6ax9X
AS5600 encoder: https://amzn.to/45egj0D
DRV8871 driver: https://amzn.to/46jxNdG
FLYSKY RC Transmitter: https://amzn.to/2RibIdZ

AliExpress
DC Motor 12V: https://alii.pub/6shvt2
AS5600 encoder: https://alii.pub/6shvsa
DRV8871 driver: https://alii.pub/6shwgs
FLYSKY RC Transmitter: https://alii.pub/5tc9ft

In this video we will learn how to turn any DC motor into a stand-alone servo motor with a lot of features. Unlike regular servos that have limited motion of 180 or 270 degrees, this one has unlimited range of 360 degrees and in addition to that we have the ability to adjust the range of the rotation to whatever value we need. We can also set a custom center point, we can adjust the responsiveness, it has continuous rotation mode and it can be controlled through an analog input, digital input from a RC receiver and using the serial monitor from our PC.

00:00 Overview
04:18 How a Servo Motor Works
05:08 Closed-loop System
06:50 AS5600 Encoder
08:33 Circuit Diagram
10:59 PCB Design
13:09 3D Design - Gearbox
14:45 Assembling the Servo
17:36 Bootloader and Programming the Servo
19:28 Test
22:18 Code
24:37 Outro

Visit HowToMechatronics.com for more Tutorials, Tips, Projects and How It Works videos:
► http://howtomechatronics.com/

Like my page on Facebook:
►   / howtomechatronics  

show more

Share/Embed