How to WIRE UP your Arduino CNC plotter using 28BYJ-48 steppers and RC servo

Поділитися
Вставка
  • Опубліковано 12 січ 2025

КОМЕНТАРІ • 66

  • @ChronicMechatronic
    @ChronicMechatronic  2 роки тому +7

    This is officially the new longest video on my channel! Also a little late cause it ended up twice the anticipated amount of work 😬🥵
    By the way I recently created a twitter! Follow me over there for random updates and personal opinions on various topics: @cronic_atronic

    • @lunarz7117
      @lunarz7117 2 роки тому

      Can't find your Twitter account...

    • @ChronicMechatronic
      @ChronicMechatronic  2 роки тому

      @@lunarz7117 Aah, wasn't aware Twitter might be doing the same hiding new accounts in the search results as YT...
      twitter.com/chronic_atronic

  • @isabellatavela1560
    @isabellatavela1560 2 роки тому +1

    Your enthusiasm is a great driver. No one would have used wood - entirely as much as possible - to build up a device of that type. The challenge you overcame neatly. Someone here underscored that you're a kind of Japanese regarding your obsession of details. He's right. Thank you for spending a huge amount of time and brain and sharing it. As instructive as entertaining. Glad to have found your channel. A lot of posts to watch, a pleasure. Thanks Benjamin!

    • @ChronicMechatronic
      @ChronicMechatronic  2 роки тому

      Thank you! Also for taking the time to comment, I always appreciate intelligent replies! Glad to have you aboard :)

  • @diego.almeida
    @diego.almeida Рік тому

    That technique to remove multi pin components is awesome. Never thought of that, I had a really hard time to salvage components from old electronic devices. Thanks a lot.

  • @joetkeshub
    @joetkeshub 2 роки тому +3

    This post is really great Ben. Thank you. I was awfully disappointed when you connected your board to arduino IDE for the first time. I said to myself, it's going to be quite hard to fix it. But you debunked the culprit! as a good Sherlock Holmes ;). It's a bit amusing when you realized that KiCAD was the culprit. You have some natural talent in drama, really. That makes your posts so natural and spontaneous.
    Your workshop is neat and awesome. A genuine jeweler workshop. I try to make my own one as ergonomic and pleasant as possible. I spend many hours in it. It's almost mandatory. I love your new smartphone holder. Are its details somewhere on your blog?
    You're a kind of genius. I had never designed a prototype with the idea - excellent idea and logically the cheapest one as you stated it - of populating it with elements "borrowed" from another mass-produced item... Not that bad! But it's a terrific challenge. Your diy tiny tools did their job very well. This post is a great one indeed. I do believe that it has demanded a huge amount of work. Thank you for sharing it Ben.

    • @ChronicMechatronic
      @ChronicMechatronic  2 роки тому +1

      Thanks Philibert! I know, I was really disappointed as well, especially as the footprint of chip was literally the one thing I didn't check before submitting the gerber files. Thought I could trust the software to do its job, but apparently, no. Even weirder, the footprint for the USB serial chip was perfectly good! Don't know what went wrong with the Atmega one.
      My mom said I almost overdid the drama in the one clip 😂 but I love what things like making the screen go totally black and the right music can express!
      Yeah, setting up a workshop requires a lot of time, I poured the soul of about half my life into mine at this point.
      The new smartphone holder lamp was just a quick in-between project because my old bench light died, so I only did a reddit post about it. But it's basically just this U channel made from thin MDF and painted white, then lined with neutral white LED tape. The smartphone holder is just another one of the simple wooden ones I did a video about ages ago glued on top :)
      But yeah, even though I'm usually not proud of things, I kinda am of this video, it must the best one I ever did. Glad you appreciate it 🙏 :)

  • @scottbaeder37
    @scottbaeder37 2 роки тому +1

    I totally LOVE the "rat's nest". You have a small channel - BUT I do love to watch your enthusiasm and ultimate joy! and the work to actually make your own board, etc. Keep plugging and learning and "engineering"!!!!👍 And the fact that you are "salvaging" so much, it is awesome!

    • @ChronicMechatronic
      @ChronicMechatronic  2 роки тому +1

      Glad you like it! Small channel only means the algorithm doesn't approve of what I do, lol! But I always used trash to build things, over time it sort of became second nature and now I prefer building stuff out of trash whenever possible 😅

    • @joetkeshub
      @joetkeshub 2 роки тому

      @@ChronicMechatronic next project: a quantum computer ;)

    • @ChronicMechatronic
      @ChronicMechatronic  2 роки тому

      @@joetkeshub yeah, it truly looks quite similar 😂

  • @Darknynja2
    @Darknynja2 2 роки тому +1

    I envy your knowledge and I’m impressed by your recycling and up cycling of old parts. I’m glad I stumbled upon your channel. I’ll be watching all you past videos. Also your hilarious. Keep up the great work.

  • @timmyalmroth
    @timmyalmroth Рік тому +1

    In case you didn't know. 28BYJ-48 can be converted to bipolar motors with a 2 min manipulation. That way they might roll with the original GRBL firmware and regular stepper drivers? Hope that didn't spoil the fun 😄 I enjoy following your fun printer project.

    • @ChronicMechatronic
      @ChronicMechatronic  Рік тому

      I know, I know, finding out I could convert unipolar to bipolar was actually what inspired my 3D printer series to begin with :)

  • @rizalardiansyah4486
    @rizalardiansyah4486 2 роки тому +2

    That desoldering actually looks satisfying! But it does seems that my next purchase would be a heat gun...

    • @ChronicMechatronic
      @ChronicMechatronic  2 роки тому +1

      I have a heat gun! But I couldn't use it on the small components because I had to do those one by one in order to avoid getting them mixed up

  • @ChronicMechatronic
    @ChronicMechatronic  2 роки тому +2

    Little quiz for y'all: How many single clips would you guess this video consists of, and how much storage do you think this footage takes up on the drive?

    • @scottbaeder37
      @scottbaeder37 2 роки тому +1

      200?

    • @joetkeshub
      @joetkeshub 2 роки тому +1

      about 20 clips and 10 gigs on drive. 1080p60 format requires a lot of space especially when you edit with Da Vinci Resolve

    • @ChronicMechatronic
      @ChronicMechatronic  2 роки тому +2

      @@scottbaeder37 not including all the picture cutouts for the animations it's approximately 350! But when counting the undissected clips of raw footage it's _only_ 136 so you're pretty close!

    • @ChronicMechatronic
      @ChronicMechatronic  2 роки тому +2

      @@joetkeshub whaaat, only 20?! I wish it was!! 😂😂 More like 20 times 20, and 46 gigs on drive!!! Five audio tracks, eight video tracks - I actually shoot in 1080p30 and only edit in 60fps for the higher timeline resolution. Image stabilisation for the handheld shots doesn't work well at 60fps...

  • @jamesbrady9105
    @jamesbrady9105 4 місяці тому +1

    wow, thats good work but to tedious for me. i would order the border pre=built.

  • @joetkeshub
    @joetkeshub 2 роки тому +1

    (FR) Salut Ben! Un des meilleurs posts IMHO. Il y a quelque chose de très beau et net (presque Zen) dans ce design avec la carte contrôleur très discrète. Félicitations! Finalement le projet est abouti! Merci pour le partage Ben!

    • @ChronicMechatronic
      @ChronicMechatronic  2 роки тому

      Salut Philibert! Merci, et merci beaucoup pour la mention sur Twitter!

    • @joetkeshub
      @joetkeshub 2 роки тому

      @@ChronicMechatronic De rien Ben! Tu auras remarqué que je n'ai pas assez de followers. Mais les tweets ont été quand même lus par 240 grâce aux algorithmes de twitter ;)

    • @ChronicMechatronic
      @ChronicMechatronic  2 роки тому +1

      @@joetkeshub pas de soucis Philibert, je me souviens que ton compte a été supprimé et je peux bien imaginer la difficulté de recommencer à zéro... et je n'ai surtout pas l'intention de m'appuyer sur tes followers - je n'ai même pas des grandes ambitions sur Twitter :)

    • @joetkeshub
      @joetkeshub 2 роки тому +1

      @@ChronicMechatronic twitter est imprévisible. Ses algorithmes peuvent rapidement te mettre en valeur ou t'oublier. Et les mêmes algorithmes peuvent prendre des décisions idiotes de censure juste parce qu'ils sont incapables de comprendre la sémantique. Mais on peut avoir aussi des bonnes surprises. J'ai eu aujourd'hui 2 tweets qui ont reçu ensemble +5000 "impressions"... Allez! J'attends impatiemment le prochain post sur ton sobre, inédit et unique plotter. Je ne crois pas être le seul.
      Beaucoup d'Indiens sur yt postent des plotters fabriqués à partir de moteurs de dvd etc... Le tien est très différent déjà par le soin "japonais" que tu portes à chaque détail, par exemple cet élément en bois qui finit la fixation de la carte-contrôleur, on dirait un bijour peaufiné. C'est un peu la différence entre un Vuitton et une copie élaborée en 6 minutes. Bon, Bonne semaine et trouve le temps de te reposer ;)

    • @joetkeshub
      @joetkeshub 2 роки тому

      @@ChronicMechatronic En fait, il faut que tes visiteurs sachent que "récupérer des éléments pour leur donner une autre vie" ne signifie en rien "bacler ce qu'on construit". Derrière le mot "récupération" les français mettent une image négative, un peu méprisante. Ta chaîne en démontre le contraire

  • @MegaTechno
    @MegaTechno Місяць тому +1

    Hi, can we make the frame out of plastic sheets(layered) to avoid problems with wood expansion? And is using lead screws better than timing belts? What about using nema 17 stepper motors? Thanks

    • @ChronicMechatronic
      @ChronicMechatronic  Місяць тому

      Yeah, you can do that if you want to do yourself a favor - some NEMA 14 or pancake NEMA 17 steppers with GT2 timing belt seem like the best option. Then you can also use a normal GRBL shield with A4988 drivers which will make the wiring and software a lot easier. Lead screws are good for something like a CNC router but not a pen plotter, as it'll be very slow and take ages to draw a single picture. Generally you get bored of these plotters pretty quickly.
      I don't think making the frame out of plastic would be really beneficial here if your design is going to be anything like mine in the video, I've never had any problems with hygro-expansion of the wood - the spring loaded rollers took care of it quite nicely it seems. I'd rather go for better linear rails, a few V-groove POM wheels on (anodized) aluminum square tubing from the hardware store should do a nice job. Hope that helps :)

    • @MegaTechno
      @MegaTechno Місяць тому

      @ChronicMechatronic Thanks for the reply, I am planning to use linear rails with sliding linear bearings. Is there a reason to use pancake nema 17 motors?

    • @ChronicMechatronic
      @ChronicMechatronic  Місяць тому

      @MegaTechno no real reason other than full-size NEMA 17 being slightly overkill. But if you have some of them kicking around already, or can get them for cheaper, they'll do the job just fine of course :)

    • @MegaTechno
      @MegaTechno Місяць тому +1

      @ChronicMechatronic Thanks for the quick reply, Yes full size ones are cheaper. And is a core XY system faster, or should I stick to this design. And why are most of your builds made from wood?

    • @ChronicMechatronic
      @ChronicMechatronic  Місяць тому

      @MegaTechno corexy is certainly faster and probably has more "cool factor".
      I make stuff from wood mostly because I've been into woodworking for like forever, and wood is a fairly cheap, abundant commodity (albeit not quite the right material for CNCs =)

  • @04.ashwanthsvii-e23
    @04.ashwanthsvii-e23 2 роки тому

    You are the one who shows how hard is to make these stuffs and i have really working hard for programming my cnc and you just motivating a lot as making us simple by giving the scheme and code ...
    Could you just help me on that if possible???

    • @ChronicMechatronic
      @ChronicMechatronic  2 роки тому +1

      Next episode will be a full tutorial on programming these plotters - it'll be all the help I can possibly give in a single video :)

    • @04.ashwanthsvii-e23
      @04.ashwanthsvii-e23 2 роки тому

      Ok

  • @Cybertruck1000
    @Cybertruck1000 2 роки тому

    Fantastic energy and knowledge in this video. Well done. I've built a plotter using an arduino shield. It runs Nema 17s on the X and Y. I'm currently using a 5v stepper (same as you use) to lift/drop the pen. Using the pen motor is not ideal as it over heats. The arduino shield will not operate a servo as well as two Nema 17s and....a servo. Ideally I'd like to use a sevo on the Z axis. Anyone have any ideas?

    • @ChronicMechatronic
      @ChronicMechatronic  2 роки тому

      Thanks! I'm glad you liked it, as I try to make videos as educational AND entertaining as possible :)
      Do you use the 28BYJ-48 connected to an A4988 motor driver? If so, you could try turning the current pot all the way down, I think the regulation goes down to about 50 mA or so. Although I've personally never had issues with the motors on 5V as long as no more than two coils are active in idle. As for the servo, it should be relatively easy to add even with a shield - it seems the Z-axis limit pin on the shield is connected to digital pin 11, so just connect the servo yellow wire to that and the other ones to a separate 5V PSU (connecting both grounds required).
      Then for the Software just use Robottini's GRBL fork - I'm covering everything extensively in the new part I'm currently working on (should be out around Christmas:) - the servo adaptation is actually a big pain in the ass in terms of G-code you need...

    • @Cybertruck1000
      @Cybertruck1000 2 роки тому

      @@ChronicMechatronic Hi.. Thanks for reply. I'm not that techy. Although have managed to design and 3d print the plotter. I used grooved bearings running on din rails. I'm getting great results at the moment in terms of accuracy and speed is ok. I've never had any luck with hobby servo but will have another try with the info you gave. I think servo will speed things up quite a bit. Yes I'm using a grbl shield V3. Two nema 17s and 28BYJ 5v motor for the pen. X1. Drivers A4988 and x2 DRV8825 for the axis. Will put a video of my set up and will comment again with link in case you want to have a look....cheers

    • @ChronicMechatronic
      @ChronicMechatronic  2 роки тому

      @@Cybertruck1000 well, I just now spent several hours struggling with my plotter to make it work for the video - which is already 36 minutes long at this point and I haven't even covered HALF of the problems I ran into. Honestly, if you're not very into computers and programming I do NOT recommend plotters with a servo. These are not a beginner project - it's an absolute nightmare software wise, because everything is botched together by different people with different intents and purposes so nothing fits together...
      I think your easiest "fast" solution would be to use one of those DVD drive stepper motors with the little inbuilt lead screw for the Z-axis instead. Those are bipolar so you can just hook them up to the stepper motor driver and they should be reasonably fast... But this servo stuff is a pain - like, I have four coordinate systems that all have Y+ and Y- going in different directions, and to get something on the paper I have to mirror the image before exporting the G-code... 🤦🤦

  • @ericthecyclist
    @ericthecyclist Рік тому

    My experience with those cheap geared steppers is that they have a lot of backlash (slop between the gears) which is fine if you only go one direction, but if you, for example, go 200 steps in one direction to reach point A, and then another 200 steps in the same direction, and then 200 steps in the opposite direction, not only do you not end up not exactly at point A, but it is difficult to characterize the slop in such a way that you can compensate for it in software. What has your experience been?

    • @ChronicMechatronic
      @ChronicMechatronic  Рік тому

      I haven't tried compensating for the backlash in software yet, but I generally found it to have less of an impact on the result (for a pen plotter anyway) the easier the gantry is to move. Of course the looser the gantry the less precise it generally is, so yeah, the best solution is not to use those steppers in the first place IMO. I think the best alternative to the expensive NEMA type stepper motors is to use the unipolar ones commonly found in old scanners, printers, photocopiers etc. Those may have a low step/revolution, but that can easily be made up for with a low pitch lead screw like threaded rod. Plus, depending on where you get the e-waste from, those motors are totally free!

  • @zpfedor
    @zpfedor 2 роки тому

    You are good! Thank you for video. I wish you more subscribers!

  • @allASudden
    @allASudden 2 роки тому

    Hi Ben! Great channel indeed! Don't you fear you infringed some Arduino's copyright by picking their design (and components as well 😉)? Pretty inspirational. Thank you!

    • @ChronicMechatronic
      @ChronicMechatronic  2 роки тому

      Thanks! I don't think copyright will be an issue, after all I just copied a cheap Chinese clone and who would the manufacturer of a clone be to complain about others stealing from them what they stole from yet another one? 😂 Besides, for the most part what I copied is the default schematic for the Atmega 328p, which can readily be found online - that's what the clone is based on as well 🤷 Even the component values of the clone are just the generic values proposed in these schematics. And when it comes to visual design, my board looks nothing like any arduino trademark that I could infringe upon, so yeah I have no worries :)
      But thanks for looking out!

  • @ProyectosOlaf
    @ProyectosOlaf 2 роки тому

    Hellow your atmega seems a martian machine. Nice work congratulation

  • @memeflight
    @memeflight 11 місяців тому

    Can i use arduino nano ?

    • @ChronicMechatronic
      @ChronicMechatronic  11 місяців тому +1

      Any 328p based 5v board with USB connector should work

  • @juansebastianreynaibarra7713

    The library of the servo not work

  • @joetkeshub
    @joetkeshub 2 роки тому +1

    How dare you "kill" that Barbie radio player?

  • @iqdevelopmet7809
    @iqdevelopmet7809 2 роки тому

    keep up the good work u awesome

  • @armantape
    @armantape 2 роки тому +1

    Amazing

  • @anhnhat3928
    @anhnhat3928 Рік тому

    ❤😂❤

  • @collinsukaegbu3209
    @collinsukaegbu3209 3 місяці тому

    You are making things difficult