This Gearbox Knows Its Position At ALL Times

Ever wanted a 3D printed servo motor? Here is a design that is based on a compound planetary gearbox and a brushed DC motor. By using an encoder and a limit switch the position of the output hub can be determined at all times even right after the system is powered on. Links to all the CAD files, code, and parts are listed below. Thanks for watching!
3D Printed Gearbox Video: • 3D Printed Planetary G...
Free CAD and Code: drive.google.com/drive/folder...
Thingiverse: www.thingiverse.com/thing:523...
Hardware List (Affiliate Links):
100rpm Geared DC Motor: amzn.to/3HrJoL9
IBT-2 Motor Driver: amzn.to/3J4O2is
30x42x7 Bearing: amzn.to/3felPsR
3x7x3 Bearing: amzn.to/3zROAoq
1/4x1/2x3/16 Bearing: amzn.to/3gm4n5Z
M3x10 Cap Screws: amzn.to/3zPQYwa
M3x14 Cap Screws: amzn.to/3GmKSWD
M3 Hex Nut: amzn.to/3rfN3Vm
Limit Switch: amzn.to/34arcHG
AS5600 Encoder: amzn.to/35QMXN1

Пікірлер: 180

  • @sparrowthenerd
    @sparrowthenerd2 жыл бұрын

    The servo knows where it is at all times. It knows this because it knows where it isn't. By subtracting where it isn't from where it is, or where it is from where it isn't, whichever is greater, it obtains a difference or deviation. The guidance computer uses deviation to generate corrective commands to drive the servo from a position where it is to a position where it isn't, and arriving at a position where it wasn't it now is.

  • @drumbum7999

    @drumbum7999

    2 жыл бұрын

    makes perfect sense

  • @guillermogil3391

    @guillermogil3391

    2 жыл бұрын

    UNDERAPPRECIATED COMMENT RIGHT HERE

  • @NdumN

    @NdumN

    2 жыл бұрын

    Beutiful

  • @ryanclarke2161

    @ryanclarke2161

    Жыл бұрын

    Bahh I wanted to make this comment haha

  • @callumwilkinson9966

    @callumwilkinson9966

    Жыл бұрын

    War thunder meme right here

  • @Geolaminar
    @Geolaminar2 жыл бұрын

    THE SERVO KNOWS WHERE IT IS. IT KNOWS THIS BECAUSE IT KNOWS WHERE IT ISN'T

  • @steveman1982

    @steveman1982

    2 жыл бұрын

    This has quite some implications... It knows that it isn't in locations it doesn't know about... And therefore knows about the existence of those unknown locations?

  • @FilouZ_9000

    @FilouZ_9000

    2 жыл бұрын

    @@steveman1982 By subtracting where it is from where it isn't, or where it isn't from where it is (whichever is greater), it obtains a difference, or deviation. The guidance subsystem uses deviations to generate corrective commands to drive the servo from a position where it is to a position where it isn't, and arriving at a position where it wasn't, it now is.

  • @dymitrnawrocki9926

    @dymitrnawrocki9926

    2 жыл бұрын

    @@steveman1982 That's a meme reference don't think too much about it, if you want actual reason servo knows where it is then the answer is encoder tells it it's position.

  • @bzqp2
    @bzqp22 жыл бұрын

    I like the idea of mechanically adding one bit of precision by implementing a binary swich on the rotor. Pretty cool. The same switch can also be used for self-calibration since it defines the semicircle.

  • @kacperzurawski5699

    @kacperzurawski5699

    2 жыл бұрын

    It won't be 13 bit instead of 12 because of : innacurate magnet placement output noise gear backlash

  • @bzqp2

    @bzqp2

    2 жыл бұрын

    @@kacperzurawski5699 well, you would have these noise sources there on 12bit anyway. With 13bit you can measure them more precisely. xd I don't say you gain anything by this one extra bit here, but as a concept it's a pretty cool idea that could be implemented somewhere where having one extra bit would really mean something.

  • @ConstantijnC
    @ConstantijnC2 жыл бұрын

    Awesome man! Great design. I'm glad to have found your channel

  • @m.on.a.b.
    @m.on.a.b.2 жыл бұрын

    Awesome work and fantastic video! It was a pleasure to watch.

  • @AtomsLab
    @AtomsLab2 жыл бұрын

    Awesome video, no idea why I am just finding this now. Great stuff!

  • @guillermogil3391
    @guillermogil33912 жыл бұрын

    Impressive mate. Amazing project!

  • @greendsnow
    @greendsnow Жыл бұрын

    this is the 5th time I'm watching this video, and I'm learning new things every time I rewatch it. [note: I'm trying to build my own servo and I knew nothing about motors. I watch other videos to understand the concepts and come back here]

  • @alfredoj1349
    @alfredoj13492 жыл бұрын

    Amazing video with outstanding results. You gained a new subscriber here

  • @JoMoJack
    @JoMoJack2 жыл бұрын

    Looks like an equatorial mount or a tracker of some sort you're working on. In any case, that gearbox has huge application potential.

  • @dawoodtendulkar1704
    @dawoodtendulkar1704 Жыл бұрын

    This is so smart and so so neat!

  • @nigelhungerford-symes5059
    @nigelhungerford-symes5059 Жыл бұрын

    Very clever. I like the choice of music too.

  • @D3M0320
    @D3M0320 Жыл бұрын

    Your calibrations on your printer must be hella on point

  • @manuel56354
    @manuel56354 Жыл бұрын

    Beautiful project.

  • @petermines3575
    @petermines35752 жыл бұрын

    Cool. Nice set-up.

  • @Gremlin87
    @Gremlin872 жыл бұрын

    This is really cool! One thing that that wasn't very clear and I'll be a bit pedantic about though is open vs closed loop. A stepper motor can do the same thing with regard to copying the angle of a potentiometer. A better demo would have been to stall your gearbox and show that even though it was interrupted it was still possible to know its position and continue to the target location. I am 100% sure you know this but for some viewers it may not be obvious.

  • @dthe3

    @dthe3

    2 жыл бұрын

    Then I'll up your pedantism. A stepper motor may skip steps, and you will have no way to correct it, hence it's an open-loop system.

  • @DemsW

    @DemsW

    2 жыл бұрын

    @@dthe3 Isn't that what the comment said ? or do I not understand pedantism

  • @Phazaar

    @Phazaar

    2 жыл бұрын

    @@DemsW Pedantry ;)

  • @enque01

    @enque01

    2 жыл бұрын

    It is a word that means you have a fetisch for feet.

  • @SirRebrl

    @SirRebrl

    Жыл бұрын

    @@DemsW Gremlin technically left that point _implied,_ and "for some viewers it may not be obvious"

  • @w4bbitseezin
    @w4bbitseezin Жыл бұрын

    your channel is dope. i work with ABB robotics so this is right up my alley

  • @velaspis5012
    @velaspis5012 Жыл бұрын

    its super impressive how his basically stock ender 3 prints such good prints respect

  • @R.S.N.A
    @R.S.N.A7 ай бұрын

    Pretty good job mate

  • @crzprgrmmr
    @crzprgrmmr2 жыл бұрын

    Awesome project! Thanks to yt algorithm for recommending your channel

  • @DIYwithBatteries
    @DIYwithBatteries2 жыл бұрын

    That was pretty awesome bro 👍 & I don't like the torque test because you heard that sound from the gears inside xD You got a new sub bro ;)

  • @austinwessels
    @austinwessels2 жыл бұрын

    Cool projects! keep it up!

  • @pierke110
    @pierke1102 жыл бұрын

    Nice project !

  • @SirTodd.
    @SirTodd.2 жыл бұрын

    Very cool!

  • @OmeedNOuhadi
    @OmeedNOuhadi Жыл бұрын

    Congratulations!

  • @evren.builds
    @evren.builds2 жыл бұрын

    This is avesome educational and entertaining content ^^ Gives me motivation go design my own :) Thanks a ton

  • @Bianchi77
    @Bianchi77 Жыл бұрын

    Creative video, thanks :)

  • @EndreTomos
    @EndreTomos2 жыл бұрын

    Nice mötör! Great work!

  • @hypercube33
    @hypercube332 жыл бұрын

    This is awesome. The only criticism I have is that you need to recalibrate your bed as its too close to the print head and is 'plowing' the first layer. Keep the awesome designs and content coming!

  • @sato4kaiba
    @sato4kaiba2 жыл бұрын

    Nice work. 👍👍👍👍👍

  • @michaelfang9984
    @michaelfang99842 жыл бұрын

    great quality video

  • @nonsquid
    @nonsquid2 жыл бұрын

    I am very impressed by your servo and stepper gear box. Do you have a link for the bracket or arms used for holding or using the gear boxes?

  • @PhG1961
    @PhG19612 жыл бұрын

    Awesome !

  • @NicholasRehm
    @NicholasRehm2 жыл бұрын

    Who’s channel do I have to subscribe to around here to get a linear servo design? Awesome project

  • @simonslocombe5942
    @simonslocombe59422 жыл бұрын

    Excellent video... planetary gears... compound gears would give more procission higher monitoring accuracy using agc... automatic gain control... and a digital comparator with positive or negative feedback... would loose the need for a limit switch... I can't believe the number of 3d printer materials being released every week... a very exciting time for 3d printing... Thank You my friend...

  • @TheLordbruh
    @TheLordbruh2 жыл бұрын

    hey michael, congratulations! are you planning to make any video evaluating if apply any load on it? like if it's easy to break

  • @mikelCold
    @mikelCold2 жыл бұрын

    Cool but you should look up how ball mice work. They have 2 lights sensors and the encoders have slots offset from each other. So it's able to tell exact position and direction of the spin.

  • @SEGnosis

    @SEGnosis

    Жыл бұрын

    Cheap optical encoders do not have absolute positioning. Only relative using deltas. The magnetic encoder he used in the video uses grey code which allows you to know the absolute angle (within 0.1 degrees) even between power cycles. Optical and rotary encoders need to be homed every single time you power cycle since they do not guarantee that the axis was not rotated while powered off.

  • @EricFergusonCinema
    @EricFergusonCinema2 жыл бұрын

    Very nice! I think there would be interest from people building flight simulators in using this process to create instrument gauges: if you look at some of the 3d printed servo gauge builds, they are considerably less elegant than this. And although steppers do work, they have their own clunky problems.

  • @crestfallensunbro6001
    @crestfallensunbro60012 жыл бұрын

    The gear box knows where it is, I knows this because it knows where it isn't

  • @fivalt126
    @fivalt1262 жыл бұрын

    Amazing

  • @twisted_seraph
    @twisted_seraph2 жыл бұрын

    Great video and design, wonder if drone motors would work this way too?

  • @dr.grimm.
    @dr.grimm.2 жыл бұрын

    nice work! subscribed...

  • @hrtbrk1
    @hrtbrk12 жыл бұрын

    The gearbox knows where it is, because it knows where its not.

  • @PyjamasBeforeChrist
    @PyjamasBeforeChrist2 жыл бұрын

    Very nice - I was working on similar last year and hopefully will pick it back up soon. How are you finding the AS5600 reliability?

  • @rouuuk
    @rouuuk2 жыл бұрын

    1:35 that song is fire, i checked DivKid's channel and oh boy! He's a madman

  • @KD_Puvvadi
    @KD_Puvvadi Жыл бұрын

    for high resolution of feedback(encoder position) single magnet on end shaft isn't enough. use disk with rectangular flat magnets vertically. commercial servos use glass disk either slots with tiny magnets or with optical sensors with slits on glass disk. to store the accurate location even with power losses, supercapacitor with flash memory or always on lipo battery.

  • @dhruvbose8294
    @dhruvbose82942 жыл бұрын

    Nice servo! Would really like to know your print parameters too cuz those prints look awesome!

  • @kristian4559
    @kristian4559 Жыл бұрын

    "3 axis turd" i was confused for a while

  • @kevinhutchinson8129
    @kevinhutchinson81292 жыл бұрын

    I like it! Telescope base in the future?

  • @makerbeelab5546
    @makerbeelab55462 жыл бұрын

    Very well done, can't you use, say, an outer race of a suitable bearing to strengthen the outer gear? It would obviously move the encoder gear, but those bearings are quite cheap, easy to open and have excellent strength. The other place you can find those compound gearboxes is in the winches, even the cheap car winches have metal gears in them and often pull 600kgs on 60mm pulley (making it about 180NM if you every would need to build something particularly powerful).

  • @kallewirsch2263
    @kallewirsch22632 жыл бұрын

    Not questioning your choice of a hall sensor to figure out your position, I just wanted to let you know that you could also have used a trim potentiometer (german "Spindel Poti"). Those Potis need eg. around 10 turns to change their resistance from 1 extreme to the other. They are used eg. in sailing winches used in model sailboats to move the sailes. The drum which operates the sailes usully needs to make 3 or 4 turnes to move the sailes from the "innermost" position to the "outermost" and needs to be able to hit the same positions extremely accurate. No homing sensor needed, since the Poti does the job without any needed additional help.

  • @SEGnosis

    @SEGnosis

    Жыл бұрын

    Rheostats and potentiometers use brushes which limit their life cycles significantly when compared to this magnet based encoder. They can be used, but its not recommended.

  • @kallewirsch2263

    @kallewirsch2263

    Жыл бұрын

    @@SEGnosis My winches operate my sailboat (actually racing in regattas) since more then 5 years without problems. Do the brushes create problems eventually? Sure, they will. It all comes down to how long you need them to operate. As said: mine work since more then 5 years without a problem. If they do create a problem, then they get replaced and all is well again. Homeing with and end switch however would create a problem, since I simply cannot allow the winch to turn until it reached its end position. You see the motor has plenty of power. If it turns the spindle to its maximum position it would crush the whole mechanism due to excessive force. This is so, because the innermost sail position does not correspond with an end point.

  • @SEGnosis

    @SEGnosis

    Жыл бұрын

    @@kallewirsch2263 Sounds like you're using a big pot with big brushes. In the case of this makeshift servo motor. You shouldn't use a pot bigger than the motor. Even if you could.

  • @omega_one1318

    @omega_one1318

    Жыл бұрын

    I feel like this is a sidegrade, not an upgrade, and is only recommended depending on the application of your servo. For a servo that only needs a limited range, sure. But he stated in the beginning of the video that one of the disadvantages of typical RC servos is their limited range. With a hall sensor, you have continuous rotation, which might be a constraint of certain usecases.

  • @reinhardtonk1510
    @reinhardtonk15102 жыл бұрын

    wow! congreatulations...good job..... question: ¿which program for make robot parts use?

  • @chatter2765
    @chatter2765 Жыл бұрын

    "The gearbox knows its position at all times. It knows this because it knows where it isn't."

  • @lawrencerasmus
    @lawrencerasmus Жыл бұрын

    It counts 👌all industrial machines have DC servo

  • @OMNI_INFINITY
    @OMNI_INFINITY Жыл бұрын

    Thanks! Also possible to record and playback.

  • @element4studios
    @element4studios Жыл бұрын

    How small do you think you could get one of these? They'd be incredible for tiny animations for model railroads or christmas village projects! :) Thanks!

  • @stir99
    @stir992 жыл бұрын

    can you make servo using off the shelf gearbox and make attachment for encoder? that will be awsome

  • @helo1345
    @helo1345 Жыл бұрын

    Hey how do you get such clean gear prints? I printed with some PLA for a mechanical Jellyfish and while it technically turns and I'm proud of that the gears came out a bit choppy. Thanks!

  • @JaydLawrence
    @JaydLawrence2 жыл бұрын

    Those FDM prints look very precise. are you using an unusually small nozzle and layer height?

  • @nigelhungerford-symes5059

    @nigelhungerford-symes5059

    Жыл бұрын

    I achieve a high quality FDM print on these parts with a .6 nozzle and .30 layer heights using a Prusa MK3S

  • @Scott170c
    @Scott170c Жыл бұрын

    can you make a video on modifying one of the cheap ones into being able to do this?

  • @petrselic3235
    @petrselic32352 жыл бұрын

    Cool🔥

  • @danielm.3383
    @danielm.33832 жыл бұрын

    Cool thing! Where can I find the correct library for the AS5600 in this Arduino sketch? greetings from Switzerland

  • @jaxperez7860
    @jaxperez78602 жыл бұрын

    I know this is really late , but what size nozzle are you printing with ? Is it a .4 mm or smaller to get the tooth detail for the gears

  • @HumamZaki
    @HumamZaki2 жыл бұрын

    hi you video is amazing can you make a video about the basics about gerbox and thanke fore this informations i hope you can complete

  • @pabloelectron6128
    @pabloelectron61282 жыл бұрын

    Genial!!

  • @jabolko1k
    @jabolko1k2 жыл бұрын

    very nice. im interested in speed... how fast can it be?

  • @benjaminschmidt4352
    @benjaminschmidt43522 жыл бұрын

    How did you design the gears? Which software did you use?

  • @jeffcarter4500
    @jeffcarter45002 жыл бұрын

    Awesome. What's the approximate cost per unit, before labor?

  • @MultiRoberth123
    @MultiRoberth1232 жыл бұрын

    could u share which slicer and settings you use?

  • @robertrose7645
    @robertrose7645 Жыл бұрын

    Do you have a wiring diagram or know of any info videos on it? I bought it based on this video and am struggling with it.

  • @mikerunsipsc
    @mikerunsipsc Жыл бұрын

    What kind of spray do you use for your 3d printer ???

  • @crckdns
    @crckdns2 жыл бұрын

    Cool idea of making an own servo :D would a planetary gearbox with a BLDC motor fit for driving a platform on tracks instead of wheels? I mean..due to torque? Would be PETG better for a gearbox, when working with a way faster BLDC motor?

  • @akkudakkupl

    @akkudakkupl

    2 жыл бұрын

    The moment you have an encoder the BLDC can have maximum torque from 0 RPM - you can use the FOC algorithm. And this thing gives you an encoder.

  • @joejane9977
    @joejane99772 жыл бұрын

    the mechanical switch is viable but a optical method would be far more reliable or even a reed switch or hall sensor with magnet in your large gear set

  • @davidcolson1900
    @davidcolson19002 жыл бұрын

    This is an awesome video. It unfortunately justifies me in buying more components though....

  • @3D_Kam
    @3D_Kam2 жыл бұрын

    Вот подобные видео я люблю.

  • @Favmir
    @Favmir2 жыл бұрын

    Damn this gearbox is also a position

  • @benke2904
    @benke29042 жыл бұрын

    Maybe you can resin-cast the 3D-printed gears to make them more durable? I do not have the money right now to buy expensive resin and silicone but it could be a fun project in the future.

  • @hollt693

    @hollt693

    2 жыл бұрын

    I don't know how much more durable resin would be. Where the 3D printed gearbox can flex a bit when it skips, I'd think with resin the gear teeth would just shear off and jam up the mechanism. That said, you don't have to give Smooth-On your firstborn child to get started with mould making and casting. Everything you need can be found at your average hardware store for pretty cheap: silicone caulk, plaster, epoxy (J.B. Weld might be interesting to cast with). I'm sure there are plenty of KZread videos that can explain the "how-to" of it better than I can.

  • @gus452000
    @gus452000 Жыл бұрын

    Is there any chance of a wiring diagram please?

  • @NightForRunners
    @NightForRunners2 жыл бұрын

    Do the two outer Rings have different number of teeth? I'm a little confused how the transmission is achieved because they seem to be the same size and and the caseing und output shaft therefore shouldnt move indipendently (or maybe i'm just missing something obvious ^^).

  • @CornishCarper
    @CornishCarper2 жыл бұрын

    What Brim do you use? It's massive but I like it lol 🤣

  • @cdrbvgewvplxsghjuytunurqwfgxvc
    @cdrbvgewvplxsghjuytunurqwfgxvc10 ай бұрын

    For a little more money you could instead have a FOC actuator using a pancake brushless motor. Probably a superior choice. But nice video!

  • @PatrickOMara
    @PatrickOMara Жыл бұрын

    A gearbox is never there, Frodo Baggins. Nor is it here. It arrives precisely where it means to.

  • @ranulfo102
    @ranulfo1022 жыл бұрын

    AMIGO O BRIGADO POR DISPONIBILIZAR ESSE LINDO E MARAVILHOSO PROJETO. ONDE CONSIGO O DIAGRAMA ELETRÔNICO DESSE PROJETO ? NO DOWNLOAD NÃO TEM O DIAGRAMA ELETRÔNICO DESSE CIRCUITO QUE ACIONA O MOTOR. FRIEND THANKS FOR MAKING THIS BEAUTIFUL AND WONDERFUL PROJECT AVAILABLE. WHERE CAN I GET THE ELECTRONIC DIAGRAM OF THIS PROJECT? THE DOWNLOAD DOES NOT HAVE THE ELECTRONIC DIAGRAM OF THIS CIRCUIT THAT DRIVES THE MOTOR.

  • @botak333
    @botak333 Жыл бұрын

    Hi that also servo from stepper motor.?

  • @scrapmechanicgamer3155
    @scrapmechanicgamer31552 жыл бұрын

    Great videos for only having 6.99k subs (sorry for bad English)

  • @unknownblueblue
    @unknownblueblue2 жыл бұрын

    why the magnet for the encoder it's like slided and not the poles facing the encoder?

  • @youssefbentahra
    @youssefbentahra2 жыл бұрын

    Hi! Do you have the code but using a stepper motor with the AS5600? Thank you.

  • @edman2740
    @edman27402 жыл бұрын

    Is there a tutorial for this any time soon?

  • @rudyh7380
    @rudyh73802 жыл бұрын

    What size magnet did you use?

  • @CyberdriveAutomotive
    @CyberdriveAutomotive2 жыл бұрын

    Watching you hit your bed with Aquanet was painful to see, reminds me of my days of chasing down failed prints. Get a flexsteel bed with a PEI sheet, I haven't had a print come lose ever since, I never prep the surface either

  • @tseawell90

    @tseawell90

    Жыл бұрын

    Even with nylon?

  • @qdelta
    @qdelta2 жыл бұрын

    Salut! Do you always use rafts for your 3D prints or is a gears only setting?

  • @michaelrechtin

    @michaelrechtin

    2 жыл бұрын

    Mostly just for gears or parts where I don’t want any “elephants foot”

  • @fightgamevideos2256
    @fightgamevideos2256 Жыл бұрын

    the picture at 3:00 is wrong. u compare the input with the output. (input minus output). the difference is fed into the controller.

  • @hankb7725
    @hankb7725Ай бұрын

    how does a servo do it without homing?

  • @teenflon
    @teenflon2 жыл бұрын

    I'm doing a project similar to this at the moment, but to clarify my understanding, is the AS5600 encoder an absoloute encoder giving a bit code for the exact angle of the shaft, or is it an incremental encoder telling only the direction and amount of movement? I am building a robot arm and want the arm to know the current angle of the joint when powered on without having to home, will the AS5600 provide this in the form of the bit code?

  • @EdFrench_uk

    @EdFrench_uk

    2 жыл бұрын

    Absolute iirc

  • @robotdelta276

    @robotdelta276

    2 жыл бұрын

    Yes i use it on my own robot arm but the as5600 has only one, I2C address so you will need to use an i2c multiplexer

  • @johannesmajamaki2626
    @johannesmajamaki26262 жыл бұрын

    It knows this, because it knows where it isn't.

  • @michaelrechtin

    @michaelrechtin

    2 жыл бұрын

    By subtracting where it is from where it isn’t or where it isn’t from where it is

  • @ChristophLehner
    @ChristophLehner2 жыл бұрын

    Are you building a camera platform?

  • @Tsnafu

    @Tsnafu

    2 жыл бұрын

    I was thinking antenna tracker

  • @matthiasmartin1975
    @matthiasmartin19752 жыл бұрын

    It took me a few moments to realize that you didn't actually mean to say "three-axis-turd", but still that's what I heard.

  • @bnzzy_3104
    @bnzzy_31042 жыл бұрын

    What printer do you use?

  • @weirdtechresearch
    @weirdtechresearch2 жыл бұрын

    Can you make a super small servo motor?

  • @technophant
    @technophant2 жыл бұрын

    The large bearing looks expensive but isn’t really in bulk and 7N/m is 5.2 lbs/ft