How to PROGRAM your pen plotter with 28BYJ-48 steppers + RC servo

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 พ.ค. 2024
  • Check out www.pcbway.com/ for lower prices on multi-layer PCBs and to win a free prototype for a Christmas theme design!
    Because nobody else did it, this video is a full beginner's guide to setting up and programming DIY pen plotters with 28BYJ-48 steppers and a servo for the pen! Whether you just want your plotter working, or full on plan on getting into CNC routing or laser engraving/cutting, in this video I explain in-depth EVERYTHING you need to know about software on the computer, as well as GRBL, the firmware running on Arduino based CNCs!
    If you enjoy my content, from now on you can support this channel on Patreon where you also get the code, engineering drawings and other files to easily replicate my projects!
    www.patreon.com/user?u=81848920
    Chapters:
    0:00 What to expect
    1:30 Step 1: Arduino IDE
    2:02 Step 2: Install Universal Gcode Sender
    3:54 Step 3: Identify software requirements
    7:31 Step 4: Install GRBL Arduino library
    9:44 Step 5: Try it out and FAIL!
    13:39 Step 6: Identify the problems
    21:04 Step 7: Fix the bugs & adapt GRBL to the CNC
    24:24 Step 8: GRBL settings
    32:29 Step 9 Install GcodePlot
    36:29 Step 10: Configure GcodePlot & export G-code
    39:55 Step 11: Adapt the G-code
    41:07 Plot something!
    42:02 Conclusion
    42:50 Additional information
    44:00 Channel updates
    45:13 Outtro
    Here are all the links you need:
    Arduino IDE: www.arduino.cc/en/software
    Universal Gcode Sender: winder.github.io/ugs_website/...
    GRBL 28BYJ-48 + Servo Motor: github.com/ruizivo/GRBL-28byj...
    Inkscape: inkscape.org/
    GcodePlot: github.com/arpruss/gcodeplot/...
    Wiring diagram: rb.gy/hgwynb
    Additional links (not needed to replicate what I did in the video but good to have anyways):
    github.com/robottini/grbl-servo
    github.com/costycnc/costycnc-...
    www.arduino.cc/reference/en/
    diymachining.com/grbl-setting...
    honingmill.fandom.com/wiki/Co...
    www.instructables.com/Use-3D-...
    Affiliate links for parts:
    Stepper motors & drivers:
    ebay.us/b03nZR
    s.click.aliexpress.com/e/_AaVT1D
    RC servo:
    ebay.us/92l3xR
    s.click.aliexpress.com/e/_A8xg8L
    Arduino clone:
    ebay.us/ef71O5
    s.click.aliexpress.com/e/_A9TyaX
    -------------------------------------------------------------------------------------------------------
    Support this channel on Patreon: www.patreon.com/user?u=81848920
    Follow me on Twitter for random updates and personal opinions on different topics: @chronic_atronic
    Join r/chronicmechatronic for occational peeks behind the scenes, or general project discussion!
    Get my best photographic works on Shutterstock:
    www.shutterstock.com/g/Floraf
    Or download free stock photos from my profiles on Unsplash:
    unsplash.com/@floraf
    unsplash.com/@clicabout
    -------------------------------------------------------------------------------------------------------
    Additional sound effects from www.zapsplat.com
    Additional graphics from: www.cleanpng.com/
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 110

  • @curtisoneill9929
    @curtisoneill9929 ปีที่แล้ว +7

    I started a drinking game, every time you said "everything" I took a shot. Needless to say I'm feeling it and I'm only 15 minutes in.

  • @hadiyaebrahim1680
    @hadiyaebrahim1680 ปีที่แล้ว +5

    Thank you so much for this. I would never have figured out that error on the dir_outbits line in a million years. You may have saved my university project. So glad I found this channel. You earned a sub

  • @shariarsakib5347
    @shariarsakib5347 ปีที่แล้ว +3

    I am an mte student from Bangladesh and i like your videos🤗

  • @omsingharjit
    @omsingharjit 4 หลายเดือนก่อน +1

    Wow! Nice vid

  • @ChronicMechatronic
    @ChronicMechatronic  ปีที่แล้ว +4

    This video contains 7231 words for you to enjoy! Especially for those who think I should "talk less, do more" 😁😉

    • @joetkeshub
      @joetkeshub ปีที่แล้ว

      How did you count them? I suppose from automatic transcription...

    • @ChronicMechatronic
      @ChronicMechatronic  ปีที่แล้ว +1

      @@joetkeshub "wordcount" the script in google docs 😅

    • @joetkeshub
      @joetkeshub ปีที่แล้ว

      @@ChronicMechatronic I thought you were kidding... Then I took the transcript of your post, pasted it in a blank google docs, used tools-word count... tada: 7781 words! You know what? I tried to use my favorite text editor kate but it doesn't have that tool... Thank you for the tip Ben!

    • @ChronicMechatronic
      @ChronicMechatronic  ปีที่แล้ว +1

      ​@@joetkeshub How do you extract the script from a video?? Automatic captions?
      Also fun fact, usually I write my video scripts in the notes app and this particular video was the first time I ran into the word limit - twice! It took three seperate notes for the entire script, I think thats more words overall than I managed on the book I tried to write 😂

    • @joetkeshub
      @joetkeshub ปีที่แล้ว

      @@ChronicMechatronic Hi Ben! You simply use youtube "show transcript" (... more) and voilà! But I have no clue how that could be done before uploading your stuff...😢 You likely know that for some dissertation you can be asked to limit the number of words - for timing purpose I suppose - but it's been a while that I had to do it. Amusing last phrase indeed.😆Have a good day Ben

  • @scottbaeder37
    @scottbaeder37 ปีที่แล้ว +2

    I ALWAYS enjoy watching you learn things and make what you make out of really accessible things (like steppers from old CD drives, wood, etc. AMAZING! Keep it up, and if you need some breaks for "sanity", take them!

    • @ChronicMechatronic
      @ChronicMechatronic  ปีที่แล้ว +1

      Thank you :))
      It's easy to get lost in video metrics, but comments like this one remind me that, at least for a small percentage, there is still a deeper purpose and value in what I do

  • @prof.6813
    @prof.6813 ปีที่แล้ว +1

    Great work. That`s so helpful.

  • @ChronicMechatronic
    @ChronicMechatronic  ปีที่แล้ว +3

    By the way you can now support this channel on Patreon if you want to help keep high density educational content like this coming!
    www.patreon.com/user?u=81848920
    Over there you get access to new videos at least 24 hours early, as well as sneak peeks behind the scenes and all the files (CAD, code, gerber, engineering drawings...) of my projects!

  • @trojean.cedric
    @trojean.cedric ปีที่แล้ว

    You are so amazing man. You showed exactly what I was looking for. And I learned more new stuffs thanks to You .

  • @destinobaracoa8363
    @destinobaracoa8363 ปีที่แล้ว

    Feliz 2023

  • @Thrill98
    @Thrill98 9 หลายเดือนก่อน

    thanks for deep explanation, certainly is not boring to watch

  • @Brandon-qp7gq
    @Brandon-qp7gq ปีที่แล้ว +3

    This is an amazing build! Even using just string, wood and small stepper motors as build materials, it produces a high quality drawing. Great stuff. I'm working on a 3d-printer-like device myself, so this material is super helpful. Subscribed.

    • @ChronicMechatronic
      @ChronicMechatronic  ปีที่แล้ว

      Thanks! I'm currently working on a 3D printer using strings instead of timing belts as well!

  • @joetkeshub
    @joetkeshub ปีที่แล้ว +1

    Hi Ben! GREAT JOB! The best video you've had posted. Pretty instructive. Awesomely entertaining. Your natural personality i.e. enthusiasm and self-deprecation makes this post really really interesting. Thank you Ben and Happy new year to you and your beloved. I've been watching this video more than 3 times. You definitely deserve more audience.
    The software hacking part is a must and you did a great job too with a bullet-proof pedagogy.

  • @a.r.7874
    @a.r.7874 ปีที่แล้ว

    Thanks a bunch bro…
    I think its an only video on internet in which every single problem is addressed.
    I got solution for all the problems and flaws which were there in the servo programming and grbl as well.
    Again thanks….
    Being a mechatronics lover i really enjoy watching your videos, keep it up.
    And ya.. a big thumbs up for your perfection👍🏻
    ❤ from INDIA

    • @ChronicMechatronic
      @ChronicMechatronic  ปีที่แล้ว +1

      That was the goal, to address every single problem :) Glad it helped!

  • @sangetube
    @sangetube 11 หลายเดือนก่อน +1

    Thank you for making these videos. So many other tutorials are just lacking depth of explanation.
    I'm planning on making a large plotter to draw a mural on a wall in my garden.

  • @04.ashwanthsvii-e23
    @04.ashwanthsvii-e23 ปีที่แล้ว

    Finally got the video which I was searching for months and thanks a lot Benjamin.. 😊😊

  • @bringbackhealth
    @bringbackhealth ปีที่แล้ว +1

    Man you got all my respect, body and soul. For making this amazing video. I would have committed S while figuring out this ....

  • @nachiketplays4011
    @nachiketplays4011 ปีที่แล้ว +2

    Honestly I absolutely love your style and honesty in these videos. Thank you for all the insight into pen plotters and the roadblocks involved :)

  • @ghfisanotti
    @ghfisanotti ปีที่แล้ว

    Very nice and informational video, thanks!
    I made a project similar to this one a couple of years ago, using these same steppers, but I modified them to be bipolar instead of unipolar, it is quite a simple hack involving cutting a line and desoldering a cable, very easy, there are a few tutorials here in TH-cam showin how to do this. That way you can use a much more standard GRBL (you still need the servo hack, obviously) and can use any regular bipolar stepper driver, like the popular A4988. You learn a lot about CNC with one of this projects, but this steppers have so much backlash that are only usable as a proof-of-concept, it is much more convenient to spend a little money on a couple of NEMA-17 steppers, even the cheapest ones are much better than this 28BYJ.
    Thanks a lot for sharing this with us!

    • @ChronicMechatronic
      @ChronicMechatronic  ปีที่แล้ว +2

      Thanks for commenting!
      Yeah I've seen the unipolar to bipolar hack, that's what inspired my 3D printer... I agree the 28BYJ are junk and the NEMAs are a lot better, but now I set my mind to making NEMA-like precision CNCs using the low-ish step count round unipolar steppers that can be salvaged from old printers and scanners for free 😁
      Likewise those round steppers can be bought for half the price of the NEMAs, so that should make CNC in general a lot more accessible!

  • @noweare1
    @noweare1 2 หลายเดือนก่อน

    I did not know there was a GRBL for those uni-polar motors. I used the same motor but modified them to be bi-polar, but still have to use MIGRBL since the z axis is a servo not a stepper.

  • @destinobaracoa8363
    @destinobaracoa8363 ปีที่แล้ว

    Happy New Year.

  • @ibrahim.1835
    @ibrahim.1835 ปีที่แล้ว

    Brother I'm watching you from Pakistan 👌👍

  • @JulianMakes
    @JulianMakes 11 หลายเดือนก่อน

    Awesome video! Thank you. Also I’ve never heard anyone say ‘plonk’ in the correct manner like you did!

    • @ChronicMechatronic
      @ChronicMechatronic  11 หลายเดือนก่อน

      Thanks!
      I copied the "plonk" from some British guy I use to watch... Why, what would be the wrong way to say it?

  • @joetkeshub
    @joetkeshub ปีที่แล้ว

    (FR) Salut Ben! 46 minutes de vrai bonheur! On y apprend beaucoup; on est accaparés par ta vivacité et ton humour décapant - tu as un talent de comédien qui s'ignore. Une recherche à travers les folders t'aurait vite situé le "bug" de commentaire, à partir du moment où le compilateur a affiché le coupable... C'est un de mes reflexes de développeur... Mais félicitations! Tu as fait un vrai travail de détective et un énorme travail de cohérence pour finalement forcer ce très beau plotter à accoucher de son premier bébé. On imagine facilement tout le travail que ce post a nécessité et on est heureux de ne pas être frustrés par des problèmes que tu n'aurais pas su résoudre. Pour moi, ce post est LE MEILLEUR de ce que tu as mis sur youtube: complet, instructif et aussi long comme un thriller. Bonne année à toi Ben et à tes proches! Tu as placé ta propre barre très haut. Merci beaucoup l'ami.

    • @ChronicMechatronic
      @ChronicMechatronic  ปีที่แล้ว +1

      Salut Philibert! Merci beaucoup :) Merveilleuse année 2023 à toi et ton oncle (et le reste de ta famille)!!
      Oui, il aurait certainement eu des solutions plus simples pour trouver le bug, il y a même un commentaire sur ma toute première vidéo CNC qui mentionne la solution... Tu as raison, surpasser cette video prendra longtemps, surtout parce-que désormais pour quelque temps je vais m'en tenir à des vidéos médiocres et plus courtes comme la majorité sur la platforme :(((
      En revanche ça mène à une plus grande quantité de vidéos :)

    • @joetkeshub
      @joetkeshub ปีที่แล้ว

      @@ChronicMechatronic merci Ben. Ta dernière remarque me fait toujours rigoler: la médiocrité ne demande pas d'efforts, il est vrai.

    • @ChronicMechatronic
      @ChronicMechatronic  ปีที่แล้ว +1

      @@joetkeshub hmm, je sais pas, etant le perfectionniste que je suis je dois également faire des efforts pour réduire les efforts que je mets dans les vidéos 🤔 - même si c'est un différent genre d'efforts...
      De toute façon ma vidéo de janvier est déja finie à moitié 😅

    • @joetkeshub
      @joetkeshub ปีที่แล้ว

      @@ChronicMechatronic des efforts pour réduire les efforts... voilà qui est bien ésotérique😎🧐c'est un peu comme certains pratiquants de yoga qui font crier le mental pour le faire taire... Tout un programme, dirait le célébrissime général de Gaulle. J'aime. Le perfectionnisme est un maître sans concessions, mais vu les résultats, pourquoi ne pas s'y plier surtout si c'est un naturel. Je me demande qui des deux faces de ton projet de plotter, est la plus accomplie et la plus sobre. J'hésite, le plotter est un bijou de manufacture, bien brossé, très Nippon pour le décrire au plus près. Et de l'autre côté, le software hacké est tout autant respectable.
      Bien, en attendant ton prochain post, ménage ton sommeil ;) Je sais par expérience que quand on est sur un projet, ça traverse même les rêves, on y pense en dormant. Salut Ben, bonne première semaine 2023, qu'elle te soit heureuse, mon oncle me charge de te le dire.

  • @DesertVox
    @DesertVox ปีที่แล้ว +2

    Anyone who successfully builds a functional 28BYJ-48-based plotter with servo as the Z-axis should be granted an honorary engineering PhD.

  • @Some2433
    @Some2433 5 หลายเดือนก่อน

    Thank you so much for this video. It has been a great help to me for my school project. Although, I was wondering if limit switches are required. If not, would I just have to adjust other axis settings in grbl for the plotter to know how far it can go? Any advice would be appreciated.

    • @ChronicMechatronic
      @ChronicMechatronic  5 หลายเดือนก่อน +1

      You can totally go without limit switches, as far as I know GRBL simply applies the position it was powered up in as 0,0 and counts from there for the soft limits. If you just want to get it working you can even run it without soft limits altogether as long as you're careful not to send any axis outside its range (which is easier said than done)

  • @kamleshchavan7451
    @kamleshchavan7451 ปีที่แล้ว

    Circuit diagram of this plotter and drawing of all parts of the plotter

  • @timcorbeil5453
    @timcorbeil5453 3 หลายเดือนก่อน

    Hey CM. I followed your instructions to a T. Unfortunately for me, I cannot for the life of me get the servo to move using M03 S40 and /or M05.. In UGS, servo value remains 0 regardless of where the pen should be up or down.. any thoughts?

  • @potatogamingtv1648
    @potatogamingtv1648 ปีที่แล้ว

    sir, I want to use Relay instead of servo motor, I want to know how to control the relay using pin 11, what can I do?, there is internal error on inkscape even reinstalling it, Please Help

  • @DIYNORTHERNER
    @DIYNORTHERNER 8 หลายเดือนก่อน

    how do you adjust endpoints and the direction of the rc servo?

    • @ChronicMechatronic
      @ChronicMechatronic  8 หลายเดือนก่อน +1

      Up and down position are the endpoints, and direction depends on which way round you enter them into the pen up/down fields

    • @DIYNORTHERNER
      @DIYNORTHERNER 8 หลายเดือนก่อน

      @@ChronicMechatronic ahaa many tnx for clearing that up👍😊..

  • @tahirbintariq8934
    @tahirbintariq8934 ปีที่แล้ว

    Broh don't know how to thankyou. i've been working to make my plotter in working condition but sometimes stepper don't work and sometime servo. But remove that two slashes made my plotter work. Although length define by software and printer is not same when it sketches.

    • @ChronicMechatronic
      @ChronicMechatronic  ปีที่แล้ว

      Glad it helped! If it doesn't print the same size as in the software you need to dial in the steps per millimeter setting in GRBL 👌

  • @omsingharjit
    @omsingharjit 4 หลายเดือนก่อน +1

    Does anyone knows.....
    How this transformation of 3-AXIS cnc grbl cnc into 2 axis plus 1 servo axis cnc plotter, are made or works because grbl is made to controll stepper motor of x y and Z axis but in plotter z axises works with servo's up - down decreat moment not with z stepper axis with linear moment and motions in 3d?

    • @ChronicMechatronic
      @ChronicMechatronic  4 หลายเดือนก่อน +1

      It's pretty crude, the real Z-axis simply doesn't get connected and the spindle control pin gets used for the servo because it's PWM capable.

  • @user12sb
    @user12sb ปีที่แล้ว

    Hello, how can I speed up rotation of my stepper motors? Thank you very much. I was trying to make pen plotter for many years and when I watched your series of making one I succed! Problem was in "//", I don't want to say it, they killed me! 😂😁😀

    • @ChronicMechatronic
      @ChronicMechatronic  ปีที่แล้ว

      Yeah those slashes are pretty cruel 😂
      If you're using the 28BYJ-48 steppers, they can only go so fast because of the gearing. On my machine with a 10mm pulley the maximum feed rate is 350mm/min...

    • @user12sb
      @user12sb ปีที่แล้ว +1

      ​@@ChronicMechatronic Thanks, I made CNC shield using uln2003 ICc and I will make video how I made CNC. When I make it I will send it to you so you can see it and give me some tips. I am 14 yrs Old. Thank you for reply!

  • @timmyalmroth
    @timmyalmroth 11 หลายเดือนก่อน

    I too had some struggles with the GRBL firmware. In my case 1.1h. Both 0.9 and 1.1 are basically discontinued as they don't accept pull requests and haven't had any new commits for several years. I moved on to µCNC and I want to recommend testing it. I would love to see an episode featuring it. :)

    • @ChronicMechatronic
      @ChronicMechatronic  11 หลายเดือนก่อน

      Thanks for the suggestion, I'm always glad if people mention alternative firmware solutions cuz I don't know what's out there and search engines only bring up the most popular...
      I still have a few CNC projects coming up that I can try it on, though for the time being I don't plan on making any videos specifically about software - since I don't know what I'm doing software tutorials are a lot harder to make to begin with, plus I get people whining in the comments if it doesn't work for them :')

    • @ChronicMechatronic
      @ChronicMechatronic  11 หลายเดือนก่อน

      Thanks for the suggestion, I'm always glad if people mention alternative firmware solutions cuz I don't know what's out there and search engines only bring up the most popular...
      I still have a few CNC projects coming up that I can try it on, though for the time being I don't plan on making any videos specifically about software - since I don't know what I'm doing software tutorials are a lot harder to make to begin with, plus I get people whining in the comments if it doesn't work for them :')

    • @timmyalmroth
      @timmyalmroth 11 หลายเดือนก่อน

      @@ChronicMechatronic lol, I don't know what I'm doing either. That's why I am doing it. Learning by doing.. I mean wrecking things, is very effective 😄

    • @ChronicMechatronic
      @ChronicMechatronic  11 หลายเดือนก่อน

      Somehow TH-cam labeled your response as "likely spam" 🤷‍♂️...
      Yes, breaking stuff is very educational, the remorse really sticks (at least for me it's the remorse of having broken something I could've otherwise still used 😂
      Though the last time I blew up a component I didn't learn anything, It was an Arduino I plugged 12V into via the barrel jack and the voltage regulator immediately released magic smoke - I'm pretty sure everything was wired correctly and the max input voltage of the AMS1117 is 15V, soooo...

    • @timmyalmroth
      @timmyalmroth 11 หลายเดือนก่อน

      As I had recommended trying µCNC I just wanted to revert and give a heads up it could have some problems. I had three different behaviors with three different gcode senders using the firmware. So I went back to official 1.1h. The guy behind µCNC is doing awesome work trying to answer questions in the forums. But in my case, I just didn't have time adressing the cause of the problem.

  • @XtremeProject1
    @XtremeProject1 ปีที่แล้ว

    Thanks a lot 16hours of Pain endet with you

  • @crispy8329
    @crispy8329 6 หลายเดือนก่อน

    So i used the information you provided in this video, and applied it to my own DIY build, and i have all axis fuctioning, and homing correctly, but i can not, for the life of me get anything to draw. I have a test file, and when i click play, the axis drive themselves further into the the homing corner containing the endstops. I then invert $3, click play, and the x axis doesnt move while the y axis moves until it crashes into the other end of the machine. Also $3 changes my homing direction. Can someone please help???

    • @ChronicMechatronic
      @ChronicMechatronic  6 หลายเดือนก่อน

      Sounds like you got motor directions and homing directions reversed. I don't remember if the stepper direction invert mask on this GRBL ultimately worked or not, but if it doesn't, swap the motor connections around to physically reverse the motors and then invert homing direction.
      The X-axis should move to the right when you press the X+ button and Y should move the pen to the back of the paper (the paper towards you if bedslinger and standing in front of it)
      The placement of the limit switches also matters, GRBL automatically makes the axis positive of the coordinate system face away from the endstops, so ideally the homing corner is the front left corner of the paper. Otherwise the drawing will be inverted like on mine.
      I know, it's hella confusing, a full 3 axis CNC is literally easier to set up than these pen plotters.

  • @isntitawesome2104
    @isntitawesome2104 ปีที่แล้ว

    I think you should make self driving rc car which can detect lane ,traffic light/sign etc.

    • @ChronicMechatronic
      @ChronicMechatronic  ปีที่แล้ว +1

      That would be fun for the mechanical engineering part, but my programming skills are in no state for me to even think about tackling computer vision 😬🤣

    • @isntitawesome2104
      @isntitawesome2104 ปีที่แล้ว

      @@ChronicMechatronic Let's not rule out the possibility hope you would make the project in coming future.

  • @WhiteNoiseDeafWND
    @WhiteNoiseDeafWND 4 หลายเดือนก่อน

    Здравствуйте! Все равно не получиться, почему не хотели загрузить нормальный код в облаке?

  • @noweare1
    @noweare1 2 หลายเดือนก่อน

    I would of thought instead of uploading it would have to be rebuilt since you changed the config.h file.

    • @ChronicMechatronic
      @ChronicMechatronic  2 หลายเดือนก่อน

      AFAIK the code is rebuilt the moment you upload it to the arduino

  • @famous_shorts_official
    @famous_shorts_official 10 หลายเดือนก่อน

    Do you have the corrected code? Please send me it... The code of the github is changed... My cnc isn't working when I uploded that... Please send me your code...

    • @ChronicMechatronic
      @ChronicMechatronic  10 หลายเดือนก่อน

      The video already shows how to deal with the change

  • @newman2022
    @newman2022 6 หลายเดือนก่อน

    Very informative video,however
    You need some tweaks in software to make this process painless 😂😂😂

  • @joetkeshub
    @joetkeshub ปีที่แล้ว

    Tiens au fait, ton post sur les rails linéaires en bois d'il y a presque un an a attiré une honorable audience de 2.2K. On commence à te découvrir...

    • @ChronicMechatronic
      @ChronicMechatronic  ปีที่แล้ว +1

      Oui je sais! La série de plotter est facilement la plus populaire! Dommage qu'on est arrivé a la dernière vidéo plotter... C'est pourquoi mon prochain projet sera une découpeuse laser - très similaire à un plotter et je peux utiliser les mêmes mots clés pour la SEO 🙄🙄 donc plus de vues 😁

    • @joetkeshub
      @joetkeshub ปีที่แล้ว

      @@ChronicMechatronic Can't wait...

  • @newman2022
    @newman2022 5 หลายเดือนก่อน

    Just switch one of motor coils wiring and you don't need any mirroring in your drawing

    • @ChronicMechatronic
      @ChronicMechatronic  5 หลายเดือนก่อน

      I do, because as long the limit switch is on the wrong side GRBL will have the coordinate system inverted. If you then switch motor directions it'll just go the wrong way and crash

    • @newman2022
      @newman2022 5 หลายเดือนก่อน

      @@ChronicMechatronic by the way how you did manage to get opaque drawing because i got only outline?
      What options did you in inkscape you truned on?

    • @ChronicMechatronic
      @ChronicMechatronic  5 หลายเดือนก่อน +1

      @@newman2022 your drawing needs to have "Fill" color turned on, and "Shading threshold" in GcodePlot set to 1.
      I believe you can draw full color graphics in B&W by setting the shading threshold to something low like 0.1 and it'll convert the colors into different shades of hatching based on their lightness. In that case "Lightest shading spacing" and "Darkest shading spacing" will set the boundaries.

    • @newman2022
      @newman2022 5 หลายเดือนก่อน

      @@ChronicMechatronic i will give it a shot
      Thank you for your help

  • @twolaneblacktop5903
    @twolaneblacktop5903 4 หลายเดือนก่อน

    Nice video but wiring diagram is wrong, isn't it? Limit switches should not get Vcc, and the Arduino should

    • @ChronicMechatronic
      @ChronicMechatronic  4 หลายเดือนก่อน

      Why should the limit switches not get Vcc? How else would they send a signal to the Arduino?

    • @twolaneblacktop5903
      @twolaneblacktop5903 4 หลายเดือนก่อน

      @@ChronicMechatronic You either connect limit switches to Vcc and the Arduino pin or you connect them to ground and the Arduino pin (that's the usual config) depending on your SW. Also you'll have to choose between NC or NO depending again on your software. In any case, you'll have to put some volts in that Arduino if you want it alive, so better connect that red wire to Vcc

    • @ChronicMechatronic
      @ChronicMechatronic  4 หลายเดือนก่อน

      @@twolaneblacktop5903 now you legit had me checking the schematic - the Arduino doesn't need to be connected to Vcc, it gets it's power from USB, which is then taken from the 5v pin and applied to the pull-up resistors. The limit switches are connected to ground and the Arduino pin, it's just that the pin gets pulled high so the Arduino can read a signal when they're pressed. I guess I should've specified them as NO switches and used a different shade of red for the Arduino 5V to differentiate it from the external 5V circuit...

    • @twolaneblacktop5903
      @twolaneblacktop5903 4 หลายเดือนก่อน

      @@ChronicMechatronic No USB connected in your diagram. I uploaded the firmware following your instructions (great job BTW) on an Arduino UNO, and PINs 9 and 10 both output 5 V, so limit switches (each with its capacitor 200 nF and its resistor 100 Ohms) have been connected (normally open) to ground and to the arduino PIN. I'm feeding 5V to the Arduino 5V pin through a common rail that also feeds the servo and the steppers. Everything works fine.

  • @WhiteNoiseDeafWND
    @WhiteNoiseDeafWND 4 หลายเดือนก่อน

    Пожалуйста, как решать проблему?
    th-cam.com/video/EWOcajr-OkQ/w-d-xo.html

  • @andrericardobarbozapereira
    @andrericardobarbozapereira ปีที่แล้ว

    Save broder very top of your project and I'm trying to build one with the same engines you used in yours. I'm from Brazil and I'm having trouble activating the z axis, then searching on youtube I found your videos from this link: th-cam.com/video/f6xCfzfiD6Q/w-d-xo.html and I saw that you modified the scket and then I followed your steps to the letter and when I'm going to upload the error, could you send me your modified via mail?

  • @joacimbreiler
    @joacimbreiler ปีที่แล้ว +1

    While I appreciate the video for instructing new people getting in to CNC:s, I don't appreciate your attitude to the work put in to all of the softwares you are using. How much did you pay for them or how did you help the projects in other ways to improve? At least show them some respect...
    The monetary compensation that I have got for the code I have written on UGS could probably be counted as pennies per hour. For instance, on those pennies I rather focus creating functionality that matters than a fancy installation program for UGS - just saying.
    You seem to have the Y-axis inverted, think of it as the movement of the pen. The movement it is making now is the same as moving the paper: th-cam.com/video/f6xCfzfiD6Q/w-d-xo.html

    • @ChronicMechatronic
      @ChronicMechatronic  ปีที่แล้ว +3

      You're absolutely right, I'm sorry.
      I wanted to document from a beginner's perspective how much pain was involved before achieving those satisfying CNC time-lapses we get shown everywhere, and I guess I didn't stop to think about how I was portraying the work of those who made the software.
      Yeah the Y-axis was flipped cause my limit switch was seemingly on the wrong side. Fixed that in the meantime...

    • @isntitawesome2104
      @isntitawesome2104 ปีที่แล้ว

      I have worked in many open source project and i don't aspect anyone to say wow it is awesome if someone tells something is wrong i try to be better at my work and apricate the feed back. I don't think you said anything wrong this simple mistake in code might have frustrated many new people and make them stop their work on there project.

    • @ChronicMechatronic
      @ChronicMechatronic  ปีที่แล้ว

      @@isntitawesome2104 thanks I appreciate that! Though it is a valid point, one shouldn't look a gift horse in the mouth. I personally am perfectly happy with UGS and GRBL once everything works and I got used to it. Which doesn't change anything about the user experience being frustrating for a beginner. Then again, you guys should have heard my yelling and cursing when I first started editing in DaVinci Resolve!!

    • @jeradw7420
      @jeradw7420 ปีที่แล้ว

      CNC milling machines generally work by moving the bed (or paper ). Since gcode was originally developed for that purpose, some of the conventions stick around.

    • @joacimbreiler
      @joacimbreiler ปีที่แล้ว

      @@jeradw7420 the coordinate should be the tool position relative to the material (or machine bed). It doesn't matter how the machine is constructed, moving bed or moving gantry.
      At this moment in the video th-cam.com/video/f6xCfzfiD6Q/w-d-xo.html when he pressed the jog buttons for the Y-axis the relative movement of the tool/pen to the material is inverted. So that is why he needed to mirror the model on the Y-axis to get the correct result.
      Simply invert the direction of the Y-axis and the problem will be solved.

  • @nikolamilenkovic6493
    @nikolamilenkovic6493 ปีที่แล้ว

    hi great vide thank you,
    using inkscape 1.2
    i have a problem on a mac os13 i cant save the gcode file,
    i get the error
    Traceback (most recent call last):
    File "/Applications/Inkscape.app/Contents/Resources/share/inkscape/extensions/gcodeplot.py", line 9, in
    import svgpath.parser as parser
    File "/Applications/Inkscape.app/Contents/Resources/share/inkscape/extensions/svgpath/__init__.py", line 1, in
    from .path import Path, Line, Arc, CubicBezier, QuadraticBezier
    File "/Applications/Inkscape.app/Contents/Resources/share/inkscape/extensions/svgpath/path.py", line 3, in
    from collections import MutableSequence
    ImportError: cannot import name 'MutableSequence' from 'collections' (/Applications/Inkscape.app/Contents/Frameworks/Python.framework/Versions/3.10/lib/python3.10/collections/__init__.py)