3D Printed Linear Servo Actuator with Position Feedback

  Рет қаралды 203,707

How To Mechatronics

6 ай бұрын

Engineers can get Onshape Professional free up to 6 months, non-commercial base Free plan available to all: Onshape.pro/HowtoMechatronics
View and explore the 3D model: bit.ly/linearservoactuator
I ordered the PCB from PCBWay: www.pcbway.com/?from=HowToMechatronics
Check out the Creality Ender-3 V3 SE 3D Printer that I used for making this project:
Creality USA store: shrsl.com/4dt7a ; EU Store: shrsl.com/4dt80
Amazon: amzn.to/423d6B7
STL files, 3D Model STEP file, parts list and more details ► howtomechatronics.com/projects/how-to-make-a-linear-servo-actuator-with-position-feedback/
You can order the PCB from PCBWay project sharing community: www.pcbway.com/project/shareproject/Custom_built_Servo_Motor_1e79c92e.html
Parts list (check website article for full list, affiliate links):
Amazon.com:
DC Motor 12V: amzn.to/3S1ToBh
AS5600 encoder: amzn.to/3HnBYKp
DRV8871 driver: amzn.to/426n3h6
Lead Screw Tr8x8: amzn.to/48YRk3P
AliExpress
DC Motor 12V: alii.pub/6shvt2
AS5600 encoder: alii.pub/6shvsa
DRV8871 driver: alii.pub/6shwgs
Lead Screw Tr8x8: alii.pub/6vfaya
If you enjoy and find the content that I make useful, please consider supporting me on Patreon: www.patreon.com/howtomechatronics
In this video we will learn how to make a linear servo actuator. Unlike regular linear actuators that move in a particular direction when a voltage is applied, this custom-built linear servo actuator provides precise and repeatable movements that can be easily controlled. It's called a servo actuator because it features a feedback loop system through which we can control the actuator output motion accurately.
You can sign up for the Free version of Onshape here: Onshape.pro/HowToMechatronics
View and download the 3D model: bit.ly/customservo
I ordered the PCB from PCBWay: www.pcbway.com/?from=HowToMechatronics
STL files, parts list and more details ► howtomechatronics.com/projects/how-to-turn-any-dc-motor-into-a-servo-motor/
If you enjoy and find the content that I make useful, please consider supporting me on Patreon: www.patreon.com/howtomechatronics
You can order the PCB from PCBWay project sharing community: www.pcbway.com/project/shareproject/Custom_built_Servo_Motor_1e79c92e.html
Parts list (check website article for full list, affiliate links):
Amazon.com:
DC Motor 12V: amzn.to/3g6ax9X
AS5600 encoder: amzn.to/45egj0D
DRV8871 driver: amzn.to/46jxNdG
FLYSKY RC Transmitter: amzn.to/2RibIdZ
AliExpress
DC Motor 12V: alii.pub/6shvt2
AS5600 encoder: alii.pub/6shvsa
DRV8871 driver: alii.pub/6shwgs
FLYSKY RC Transmitter: 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
02:14 How this Linear Actuator Works
03:20 3D Model Design
08:20 3D Printing
09:46 Assembling
17:57 Custom Servo Controller PCB
19:54 Code
22:43 Testing
Visit HowToMechatronics.com for more Tutorials, Tips, Projects and How It Works videos:
► howtomechatronics.com/
Like my page on Facebook:
howtomechatronics

Пікірлер: 90
@HowToMechatronics
@HowToMechatronics 6 ай бұрын
Check out the Creality Ender-3 V3 SE 3D Printer that I used for making this project: Creality USA store: shrsl.com/4dt7a ; EU Store: shrsl.com/4dt80 ; Amazon: amzn.to/423d6B7 You can order the PCB from PCBWay project sharing community: www.pcbway.com/project/shareproject/Custom_built_Servo_Motor_1e79c92e.html I hope you enjoyed this video and learned something new! Please consider supporting me on Patreon: www.patreon.com/howtomechatronics
@jesusChrist34596
@jesusChrist34596 3 ай бұрын
How can i contact you for enquiry.
@ziad_jkhan
@ziad_jkhan 6 ай бұрын
The best video I've ever come across on DIY linear actuators in every sense. Keep up the good work!!!
@HowToMechatronics
@HowToMechatronics 6 ай бұрын
Thank you!
@vavash1
@vavash1 2 ай бұрын
This is the best DIY video I've ever come across. I was thinking about buying one, now I'm building one. Awesome free designs, simply explained math and design. Keep at it 👍
@Marbslab
@Marbslab 6 ай бұрын
Always a joy to watch your very clean work.
@HowToMechatronics
@HowToMechatronics 6 ай бұрын
Glad to hear that!
@jon_raymond
@jon_raymond 6 ай бұрын
Great to see a new project from you!
@HowToMechatronics
@HowToMechatronics 6 ай бұрын
Thank you!
@PhG1961
@PhG1961 6 ай бұрын
Impressive build! Great video!!
@HowToMechatronics
@HowToMechatronics 6 ай бұрын
Thanks!
@andrewphillips8198
@andrewphillips8198 6 ай бұрын
Fantastic!!! Huge money saver!!
@bibekbarman4139
@bibekbarman4139 6 ай бұрын
Great project ❤
@TheRealStructurer
@TheRealStructurer 6 ай бұрын
Very nice! Thanks for sharing 👍🏼
@MrHeHim
@MrHeHim 6 ай бұрын
First, awesome video and thanks. About dimensional accuracy with 3D printing. I have an old i3 Duplicator that was giving me dimensional issues many years ago, i knew it wasn't plastic extrusion rate or shrinkage because on my (very) old Replicator the parts where coming out "perfect", no matter the orientation. The prints where coming out warped (shrunk in the Y axis near the back of the build plate). This is when i found the belts weren't lined up to the pully, which causes a issues with travel (a2+b2=c2). So i designed a new bracket to hold the stepper motor to be perfectly aliened with the belt and bed belt mount to be perfectly parallel. With that said, i took a close look at the printer you have at a local Micro Center and found the belts and pulleys to be off by about 2-3mm. That's significant, and I'm certain that's the issue you have with your prints. 3D printing ironically helps counter plastic shrinkage compared to molding. This is practically why they then to have internal stresses and generally are stiffer than there molded counterpart, i.e. why annealing 3D printed parts is a thing. And for functional parts i use as little part cooling as i can, both for better layer adhesion and reduce internal stresses for parts i need to have a little flex. On the printer you have the tool head belt mounts are about 2-3mm off line and the bed is about 1-2mm off. The prints will warp near either end of the X-axis and the front of the bed as the stepper motor is at the back. The KE is even worse on the bed belt I currently have a very modified Sermoon D1, with ~0.015-0.03 dimensional variance. I also squared the frame and trammed the bed to the tool head axis, then to finish it all i put 7lbs (14lbs pull force on the motor, as the belt wraps around the pully halfing the tension per side). Used a scale for luggage to pull on the motor
@shingabiss
@shingabiss 6 ай бұрын
Excellent work! I use the heat set inserts as well, very strong and reliable connection with the correct infill percentage.
@HowToMechatronics
@HowToMechatronics 6 ай бұрын
Thanks!
@mrsimonebucher
@mrsimonebucher 6 ай бұрын
What infill percentage would you use? Is 25% enough for PLA? Or would it be better to add more outer layers?
@kyberbob525
@kyberbob525 6 ай бұрын
VERY nice project! 👍👍👍👍
@TrueSkullLeader
@TrueSkullLeader 6 ай бұрын
Thank you for the video and for sharing your knowledge. 😄
@HowToMechatronics
@HowToMechatronics 6 ай бұрын
My pleasure!
@HeadNSV
@HeadNSV 6 ай бұрын
I'm very impressed. Very good work
@HowToMechatronics
@HowToMechatronics 6 ай бұрын
Thank you! Cheers!
@gadgetdeez7069
@gadgetdeez7069 6 ай бұрын
The only changes i would recommend would be the bearings in the base. Rather than stacking them and using a retaining plate, model the separator plate in the base. Install one bearing on the lead screw side, and the other on the gear side. The gear and the collar will work together to clamp the bearings in the housing against the bearing seperator, so no need for a retaining plate. Mechanically, this looks amazing! Good work! Electronically, theres another improvement. On the uC, start your sketch by checking to see if theres a 40-200hz signal. If so, proceed to rc control. If not, proceed with analog control. If you periodically check the inputs (once a second?) Then you should be able to swap inputs on the fly and no need for a toggle. The impact on loop times should be negligable if executed correctly and you can run the rest of your code along side it, assuming the input hasn'r changed until it knows for a fact during its test that it did change inputs. It's a pretty simple mod to detect signal type because they are sooooooo Different. Hell, you could even use an interrupt to. Monitor the input. If the interrupt counts up within a second, the acceptable frequency, then you switch to rc control. You can run interrupts while analog sampling. And yes, i know interrupts are digital pins. However 328 has 2 comparitor pins A0 and A1 that can be assigned as an interrupt. Keep in mind, this is just one way to handle this issue. You could also tie either D2 or D3 to the analog pin you decide to use and just flip flop between code segments as necessary as well. There are a ton of ways to automate that in code so you dont have to use mechanical switches which would make your board even smaller!
@brunocadilak26
@brunocadilak26 6 ай бұрын
muito bom saber que da pra usar outros motores com a placa
@jamesattardmcast
@jamesattardmcast 6 ай бұрын
Great explanation
@HowToMechatronics
@HowToMechatronics 6 ай бұрын
Glad it was helpful!
@girrrrrrr2
@girrrrrrr2 6 ай бұрын
I am going to make this. Thank you!
@HowToMechatronics
@HowToMechatronics 6 ай бұрын
Have fun!
@haenselundgretel654
@haenselundgretel654 6 ай бұрын
THIS is exactly what I was waiting for for years to come!!! Wow! I have to thank you soooo much! How can I get the PCB plans to order it from PCBway? And how can I pay you for that?!
@HowToMechatronics
@HowToMechatronics 6 ай бұрын
Glad to hear you found it useful! Yep, you can order the PCB directly from the PCBWay project sharing community, there is a link in the description.
@hanyolo105
@hanyolo105 6 ай бұрын
to get rid of most of the backlash you could try to use two nuts to clamp the threads of the rod tightly to the threads of the nut. Put two nuts directly together and force a thin spacer between them to push them outwards. Then fix the position somehow.
@Drxxx
@Drxxx 6 ай бұрын
Great video❤
@HowToMechatronics
@HowToMechatronics 6 ай бұрын
Thanks!
@nabilkarame6999
@nabilkarame6999 6 ай бұрын
Good job
@HowToMechatronics
@HowToMechatronics 6 ай бұрын
Thanks!
@luisrey8986
@luisrey8986 6 ай бұрын
Excelente! 👍🏻
@HowToMechatronics
@HowToMechatronics 6 ай бұрын
Thanks!
@greg4367
@greg4367 6 ай бұрын
Brilliant
@HowToMechatronics
@HowToMechatronics 6 ай бұрын
Thanks!
@dickon_br
@dickon_br 5 ай бұрын
its really great !! I wanted to find this controller board ready-made, instead of having to build the PCB and solder the components... can you tell me if I can find a ready-made board that does the same, on aliexpress?
@alializadeh8195
@alializadeh8195 5 ай бұрын
مرسی
@flipping1n0s
@flipping1n0s 6 ай бұрын
Good video 😊
@HowToMechatronics
@HowToMechatronics 6 ай бұрын
Thank you!
@phakalanep7241
@phakalanep7241 6 ай бұрын
I have noticed you don't answer any of the questions supporter post????
@MrAlex3461
@MrAlex3461 6 ай бұрын
e. eee. ee. eeeee. ee.
@whackowafer4765
@whackowafer4765 5 ай бұрын
​@@MrAlex3461ee. eeee?
@Zhak7
@Zhak7 2 ай бұрын
​@@whackowafer4765eee e eeee... Eee ee eeeeee?
@prashantraikar7813
@prashantraikar7813 4 ай бұрын
This is what i required, but bit smaller version
@user-bh7pm6fh2v
@user-bh7pm6fh2v 6 ай бұрын
very good video. But I am curious, what is the benefit of using the servo as opposed to a stepper motor? You will not have the slight adjustment at the end after feedback.
@HowToMechatronics
@HowToMechatronics 6 ай бұрын
Well it's possible to make this control system with feedback sensor using stepper motor as well. I should first try it out and then tell you the difference. :)
@justOVERCH
@justOVERCH 5 ай бұрын
Why piston not squate profile?
@peterhobbs438
@peterhobbs438 6 ай бұрын
Nice work. Have you tested the thrust this can produce?
@HowToMechatronics
@HowToMechatronics 6 ай бұрын
Thanks! Nope, I didn't do force tests.
@Skanda_36B9ED
@Skanda_36B9ED 5 ай бұрын
Sir please make a Hall effect joystick.
@user-fp2dw3ss2b
@user-fp2dw3ss2b 6 ай бұрын
Чуть уши не лопнули...
@antoniocf3987
@antoniocf3987 6 ай бұрын
Very good job! But I don't know how the bearing on the top of the rod works . I think it can't rotate when actuator is going forward or backward...
@antoniocf3987
@antoniocf3987 6 ай бұрын
I mean, you don't need 1 bearing, you need 2 bearings slightly smaller than the width of the guide slot (and each of them rests on a single face of the slot) if you want them to rotate when the actuator moves.
@HowToMechatronics
@HowToMechatronics 6 ай бұрын
Yeah, your contemplating is correct, the bearing couldn't rotate if it touches the two guide rails. However, there gap is just slightly larger than the bearing, so the bearing touches only one side at a time. Because of that, of course, the rod rotates just a little bit.
@stayfarawy2611
@stayfarawy2611 6 ай бұрын
How can I control servo by text in serial monitor for example Isend in serial monitor "play" when I send it Iwant rotating the servo 90° how can I do it I try it by number done but by text not how can you help me please.
@HowToMechatronics
@HowToMechatronics 6 ай бұрын
Well take a look at the Arduino code, it explains how I did that for this project.
@stayfarawy2611
@stayfarawy2611 6 ай бұрын
@@HowToMechatronics Sir , what's code I look for it ?
@2150dalek
@2150dalek 6 ай бұрын
You have the coolest gadgets...I'd like to see a stepper motor adapter PCB.
@HowToMechatronics
@HowToMechatronics 6 ай бұрын
Thank you!
@geek4001
@geek4001 6 ай бұрын
How many KGS can it lift?
@abdelhadikhichane3661
@abdelhadikhichane3661 6 ай бұрын
❤❤
@bibekbarman4139
@bibekbarman4139 6 ай бұрын
Please create a arduino drone flight controller with all features 🙏
@alvarobyrne
@alvarobyrne 6 ай бұрын
please tell me/us: what is the name of the tool used for inserting the "female screws" or inserts (is that their name, is that how you call them?), the hot one, is it just a soldering iron? Ah! yes: I saw your blog post: the threaded inserts, how do you insert them? using a soldering iron?
@HowToMechatronics
@HowToMechatronics 6 ай бұрын
Yep, it's a soldering iron. 😀
@alvarobyrne
@alvarobyrne 6 ай бұрын
@@HowToMechatronics Kewl
@ZENOX_BGMI
@ZENOX_BGMI 2 ай бұрын
Bro i want help to program arduino i am confused plz respond
@muscle__rr
@muscle__rr 6 ай бұрын
DIY sim racing motion rig when ? 😀
@HowToMechatronics
@HowToMechatronics 6 ай бұрын
hehe one day :)
@nuk3man
@nuk3man 3 ай бұрын
Brat, od Makedonija si?
@paulsantony5261
@paulsantony5261 5 ай бұрын
Can i use stepper motor
@gjmf2011
@gjmf2011 5 ай бұрын
Yes, but DC motors are a lot cheaper.
@ARaut2137
@ARaut2137 5 ай бұрын
Yes sir, muze bhi sir 4.5 Ipa ka pakage mila hai at maruti Suzuki gudgoan dilhi plant as a junior engineer trainee and my college name is indo German tool room Aurangabad Maharashtra to me kya karu sir mere Ghar Wale bol rahe hai btech kr tu to me kya karu sir and muze quality or production any of one department me Dene vale hai to me kya karu sir and maine diploma in Mechatronics Kiya hai sir Please sir give me of your mentor please sir..
@aspirin4709
@aspirin4709 6 ай бұрын
I'll make one for my wife❤
@michaelthompson8251
@michaelthompson8251 6 ай бұрын
cool. what would it look like using a raspberry pi
@HowToMechatronics
@HowToMechatronics 6 ай бұрын
Well the mechanical part is all the same of course. Like mentioned in the video, instead of the custom controller PCB you use the AS5600 on a breakout board, and use the raspberry pi to make the program.
@aaryankumartiwari7376
@aaryankumartiwari7376 5 ай бұрын
💀
@naimalsadik5303
@naimalsadik5303 6 ай бұрын
1st view
@MrShaneSunshine
@MrShaneSunshine Ай бұрын
Onshape is not my friend! Will stick with modern SW! Cool project though! 👍
@bobyca2003
@bobyca2003 6 ай бұрын
is your voice?
@jum.5622
@jum.5622 6 ай бұрын
Yes his voice is
@HowToMechatronics
@HowToMechatronics 6 ай бұрын
hehe yeah, but I got a cold 😀
@jeremygalloway1348
@jeremygalloway1348 6 ай бұрын
​@@jum.5622thank you lol...I REALLY needed this comment. Yes Cuban B!!!
@jum.5622
@jum.5622 6 ай бұрын
@@jeremygalloway1348 X)
@bobyca2003
@bobyca2003 6 ай бұрын
@@HowToMechatronics you have a attractive intonation ... i not speak good and i thinked that you used an artificial voice and was interested! good luck!
Best Toilet Gadgets and #Hacks you must try!!💩💩
00:49
Poly Holy Yow
Рет қаралды 20 МЛН
БИМ БАМ БУМ💥
00:14
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 2,4 МЛН
Викторина от МАМЫ 🆘 | WICSUR #shorts
00:58
Бискас
Рет қаралды 2,7 МЛН
Inside Out Babies (Inside Out Animation)
00:21
FASH
Рет қаралды 16 МЛН
iPhone socket cleaning #Fixit
0:30
Tamar DB (mt)
Рет қаралды 17 МЛН
Как удвоить напряжение? #электроника #умножитель
1:00
Hi Dev! – Электроника
Рет қаралды 1,1 МЛН
S24 Ultra and IPhone 14 Pro Max telephoto shooting comparison #shorts
0:15
Photographer Army
Рет қаралды 10 МЛН
Tag him😳💕 #miniphone #iphone #samsung #smartphone #fy
0:11
Pockify™
Рет қаралды 2 МЛН
ОБСЛУЖИЛИ САМЫЙ ГРЯЗНЫЙ ПК
1:00
VA-PC
Рет қаралды 2,5 МЛН
АЙФОН 20 С ФУНКЦИЕЙ ВИДЕНИЯ ОГНЯ
0:59
КиноХост
Рет қаралды 1,2 МЛН