DIY CNC Electronics Guide

Sdílet
Vložit
  • čas přidán 23. 07. 2024
  • The electronics on a custom CNC build can be rather confusing, especially if it's your first CNC. That's why I try to explain everything you need in this video, so you can get started the right way. The parts I used in this video are an ethernet SmoothStepper, the MB2 breakout board, Lichuan closed loop Nema 34 stepper motor, some 24V inductive NPN sensors, and Mach4.
    Check out PCBWay:
    $0 For New members first order & Free 24H Expedited (5pcs): www.pcbway.com/
    Useful Links:
    CNC Kit including everything you need: goo.gl/NmYs21
    Mach4: www.machsupport.com/software/...
    Linux CNC: linuxcnc.org/
    Universal Gcode Sender: winder.github.io/ugs_website/
    SmoothStepper: warp9td.com/
    Breakout Board: www.cncroom.com/break-out-boa...
    Music by Zweihänder, check it out here: t.co/BpLpIm8lYz
    Support me (for free) while shopping online (affiliate links):
    -----------------------------------------------------------------------------------------------------------------
    Aliexpress: s.click.aliexpress.com/e/b3a0ISl6
    Amazon (US): amzn.to/2pJVveJ
    Amazon (DE): amzn.to/2pK1YFx
    eBay.com: ebay.us/xd6vPa
    eBay.de: ebay.us/AwHtLQ
    -----------------------------------------------------------------------------------------------------------------
    My links:
    -----------------------------------------------------------------------------------------------------------------
    Instagram: / darkartguitars
    Website: www.darkartguitars.com
    Thingiverse: www.thingiverse.com/DatulabTech
    Github: github.com/datulab
    E-Mail: guitar@darkartguitars.com
    -----------------------------------------------------------------------------------------------------------------
  • Věda a technologie

Komentáře • 100

  • @nrayanerhg53h
    @nrayanerhg53h Před rokem +6

    You're a great communicator and even though I'm stupid I understand what you say. Thanks for your work!

  • @tgamingmaniaks6050
    @tgamingmaniaks6050 Před 4 lety +3

    Weeks of searching for the right information. This just has it all!! Loved and enjoyed every minute!

  • @imabeapirate
    @imabeapirate Před 5 lety +4

    I use the same MB2 breakout board with my ethernet smoothstepper. Opto-isolated IO, fully driven differential step/direction signal for SIX motors, 24V standard, and super easy setup with the headers. It's a fantastic board!

  • @surginerc
    @surginerc Před 5 lety +10

    Thank you for taking time to layout the interconnection of a smooth stepper to a controller and the stepper drivers. You did a wonderful job

    • @notredox2
      @notredox2 Před 4 lety

      I have spent months studying electronics and discovered a great resource at Gregs Electro Blog (check it out on google)

  • @Curtis_Brusque
    @Curtis_Brusque Před 5 lety +1

    Excellent video! Very thorough and clear explanation of the electronics for a home built CNC. Much appreciated.

  • @jamesmaccubbin7434
    @jamesmaccubbin7434 Před 3 lety +1

    Thanks for the great intro. I've been studying the hardware for a CNC Router, and been putting off studying the software side. You made the introduction very simple. Now to dig in more.

  • @BrettSJ88
    @BrettSJ88 Před 5 lety +1

    Wow! Great video. The 18 minutes I spent watching this video has cleared up uncertainties that I have had for over a week now. Thank you! Looking forward to watching more of your videos.

  • @TheRainHarvester
    @TheRainHarvester Před 5 lety

    Good info. I made my own lm18245 motor control boards. They give high voltage but monitor and limit the current so the motors turn fast!

  • @mountainsprings3303
    @mountainsprings3303 Před 4 lety +3

    You explained everything very well, thanks for the great video

  • @johnhogwood8520
    @johnhogwood8520 Před 4 lety +2

    Great thanks. Simplified some of the questions I needed answers for.

  • @irvinrachell
    @irvinrachell Před 10 měsíci

    Thank you for this information. I’m currently building my own cnc plasma table and this definitely helps

  • @WahidRezgui
    @WahidRezgui Před 5 lety +2

    Your video is simply EXCELLENT !!! Great explanation , thanks you.

  • @777smitty4
    @777smitty4 Před 8 měsíci

    This is the best simple explanation I have see yet thank you
    no bunch of terms new people don’t understand

  • @johnhendy1281
    @johnhendy1281 Před 2 lety +1

    This was so great! I have a shapeoko and have been thinking about upgrading the electronics, but didn't know anything about them. In researching "controllers" I feel like a lot of other sources mix up the terminology... Like you can tell by the price even that some boards are $26 and call themselves CNC controllers, but other packages are $200 or more... But they also call themselves CNC controllers. I suspected that some are bundling in the drivers, but use of what I think is the same terminology for slightly different things made it hard to know. I really appreciate that you split everything out individually so I could get the gist of what all is needed, and that helps sort out what I'm shopping for. Thanks again, that was a really helpful crash course.

    • @mattivirta
      @mattivirta Před 2 lety +1

      normal paraller controller board cost 10-30$ only. buy old xp computer 20-40$ install linuxcnc and use paraller board lot cheapen than this example video has.max 4A motor drivers tb6600 cost about 10$ biggest have expensive, stepper motors cost less than 5Ampere 10-40$ closed loop cost 100x more than normal cheap. nema 23 kit mach3 or linuxcnc cost 3-4 motors,and drivers and powers and breakoutboard kit less than 300$ cheape i has build big aluminium mill cnc 200$ salvage motors used dm554 drivers,10$ breakoutboard,wood frame or diy welding metal tube frame.

  • @Bilgunkhan1
    @Bilgunkhan1 Před 3 lety

    Great video! I think you explained it very well, usb connections can be really tricky that‘s true for sure

  • @pdj26
    @pdj26 Před 5 lety +1

    Very informative video Thank you for Sharing please make more and Please go into more details looking forward to the next video on cnc electronics

  • @skyhawk1256
    @skyhawk1256 Před 5 lety

    Hi David, this was really a hell of a verry interesting tutorial for me, now i finally understand how CNC control happens. I am going to see all of your tutorials,particular on FUSION 360... But i also have a few questions.
    What is your meaning about " Estlecam " instead of Mach 4 ???
    And what is your meaning about centroid Acorn 4 ???

  • @sohan2510
    @sohan2510 Před 5 lety

    Eagerly waiting for next video 😀😀

  • @saintsithx
    @saintsithx Před rokem

    Give this man a beer!! Thank you very much for all the info, greetings from Chile!

  • @edn8539
    @edn8539 Před měsícem

    Great video sir thank you for taking the time to make it

  • @Dev_Everything
    @Dev_Everything Před 4 lety

    16:32 do you have any videos further explaining this? How does linuxcnc work with the electronics you layed out for this video?

  • @tinkmarshino
    @tinkmarshino Před 3 lety

    you probably won't see this but at 70 I am starting to teach myself electronics and I have wanted to build a cnc machine to play with.. I have looked at many video's.. But yours makes it so easy and simple that I am almost positive I can do it now and will be trying in the next week or two.. thanks a million brother.. Well done!

    • @mattivirta
      @mattivirta Před 2 lety

      easy and simple but ower prize lot, only controller board cost more than all my cnc machine ewery parts.

    • @tinkmarshino
      @tinkmarshino Před 2 lety

      @@mattivirta did you make it yourself? Building a control board seems like a lot of fun to do.. I have all the parts to build one here plush all kids of stepper motors and other bit's and pieces.. It is just a matter of "do I really need a cnc machine at my age"..

    • @mattivirta
      @mattivirta Před 2 lety

      @@tinkmarshino first cnc diy beginners best buy only cheap paraller port machine learn lot and buy cheap parts, my first cnc i made has germany cnc controller diy board i make all elektronic soldering diy at home, learn lot and test lot what need do, then understand good what and how cnc,stepper motor,controller working, today have beginner first lot easy build, need arduino, code, and parts, or if not want make elektric board diy can buy ready cheap 10$ breakout board, learn how working and how connect all pins, and important learn G-code lot how write own running code, need understand what many g-code mean, but interesting and funny work.

    • @tinkmarshino
      @tinkmarshino Před 2 lety

      @@mattivirta Matti that does sound like a lot of fun.. I agree with you about getting a cheap one at first to learn on.. that is why I was thinking of making my first one from the parts I have around the shop. I have Arduinos and raspberry pi's, stepper motors and most all of the parts I need to make one.. after 70 years of working and collecting things I think I might not have to buy to many things.. and building one I can also learn how each part functions and when I break it I can fix it. What soft ware do you use for your cnc machine? I have an old cad lite program from back in the day (I was a carpenter most of my life) Do you think that might work? thanks for your input my friend.. enjoy the summer!

    • @mattivirta
      @mattivirta Před 2 lety

      @@tinkmarshino im old men 63 and pension now have lot time again make different cnc and many other hobby project, have time lot now haha, i use cad cam softwares aspire vetric vcarve soft best what i has found some year before, can make wery easy g-code files automatic, because i not understand english well. cnc before uses mach3 but windows pc have big problematic not have real time not good, linuxcnc have million time better and no problems newer, only i not understand hal code how make and linux code anythink. arduino i has use little others easy projects, and linux have cood soft what i has testing bcnc whit protoneer controller board.whit linux and raspberry pi, i interesting raspberry lot i have some raspi card and just orden test and proto board and try understand how make code or cnc.i has young men build many cnc yo little metal shop factory, but now have time lot i start new all and try looking new boards and projects, not money lot pension salary not big but i try orden part when can, about no more than 50-100$/month van use. raspberry pi looking interesting possiple board make many different systems. many say fusio 380 have good make parts g-code but i test and hate this, i has used autocad many year at work but new fusion have big shit this corporation new software old autocad users. i test some month fusion but delete software ,not good, i found torrent aspire vcarve and have lot lot better easy use.and youtube have lot video how learn and make parts. i not have link to software at torrent but have olden version and crack how working fine. my main computer have at thailand my new house and im now in finland no can looking links site. my cnc have 1500x1500x400 size metal tube welding frame and stepper motors have nema 23 but future nema 34, 4,6ampere ebay cost 20$/pcs, drivers dm544 about cost 10-40$PCS, breakoutboard cheap chinese what i has used many cnc before no newer problem and if axis broken cheap change new, 10$ not newer smart use one-to-all board if one axis go broken need buy expensive board all new. old pc cost 20-50$ and install linux debian and linuxcnc software lot better than windows and mach3, mach3 has allttime lot problem not good newer thats why i chage linux not problem many year. windows not have true realtime and lost lot step alltime, linux same hardware not lost newer step.

  • @plongkie224
    @plongkie224 Před 5 lety +1

    Hi Awesome Videos bro!! Im new to ur channel and I was just wondering if u have tutorials specifically with that board and its capacitive sensors connection and how to hook it up to the software.. Awesome man!!

  • @Tronzoid
    @Tronzoid Před rokem

    Awesome video. This is exactly what I needed

  • @cncsandingtools
    @cncsandingtools Před 5 lety

    Nice work well thought out.

  • @christophervargasschebesta3752

    You explain very clear!! I understand your english very well

  • @mpkleinbreteler
    @mpkleinbreteler Před 5 lety +2

    Really helpful, thank you :)

  • @fastmurx
    @fastmurx Před 4 lety

    Brilliant explanation. Chapeau.

  • @jameselliott1487
    @jameselliott1487 Před 4 lety +2

    Hey,
    Lobe your videos. I've learned a lot. Please keep it up

  • @Dukeofboots
    @Dukeofboots Před 5 lety

    Brilliant video thanks man

  • @johnborton4522
    @johnborton4522 Před 3 lety

    Such a great tutorial. Thanks

  • @selimguclu625
    @selimguclu625 Před rokem

    Yo mate, could you do an uptade to this Topic please? Your very good in explaining & teaching. I want to know how PlanetCNC controller works and what i need to do, to make it work. It seems i need 4 stepper motor drivers, rasperry pi, and Optocouplers. But i dont know how that wiring should look like.

  • @Iamtherodlight1453.
    @Iamtherodlight1453. Před 15 dny

    Thank you Bud.. Awesome video.

  • @mertcapkin7263
    @mertcapkin7263 Před 5 lety +1

    Where did you buy the stepper driver + motor?

  • @azenkwed
    @azenkwed Před 5 lety

    You've got yourself a new subscriber.

  • @safaralp
    @safaralp Před 3 lety

    No other words- "you are awesome"👍👌👌👌

  • @sunshine5349
    @sunshine5349 Před 4 lety +1

    THANK YOU! GREAT VIDEO!

  • @rusticagenerica
    @rusticagenerica Před 11 měsíci

    How would UGSender decide of the printing speed?

  • @i.bcraftsman5977
    @i.bcraftsman5977 Před 4 lety

    I know u r trying ur best cuz I can see it is a very good video

  • @danielricaud3783
    @danielricaud3783 Před 3 lety

    Hello Good job . I would also like to use mach4. Can you send me the Complete electric shema? Thank you

  • @mokhammad4159
    @mokhammad4159 Před 3 lety

    Can i use stepper or servo motor by this cotroller

  • @androidstudiosolutions9649

    Excellent video! can you please tell us the total price of these components. Thank you

  • @praveensharma4106
    @praveensharma4106 Před 3 lety

    Very well explained

  • @CNCPRINTBLOGSPOT
    @CNCPRINTBLOGSPOT Před 5 lety +2

    Good Guide for starters ;-)

  • @rusticagenerica
    @rusticagenerica Před 11 měsíci

    Very well made video !!!!! God bless you

  • @matthewward5892
    @matthewward5892 Před 3 lety

    Great video. Thankyou

  • @marcosotero6180
    @marcosotero6180 Před 2 lety

    I have the FTB2 which is a copy of the MB3 designed exclusively by cncroom for cncmodulkit, and the manual is that of the MB3, but there is no information on how to connect an Auto tool Z, the probe z, maybe It is simple and too obvious but there is no info, if someone can help me please.

    • @DarkArtGuitars
      @DarkArtGuitars  Před 2 lety

      I believe you can just hook it up to any input and then assign it in Mach4

  • @terencedeans5311
    @terencedeans5311 Před 5 lety

    Very helpful video

  • @para2konrad
    @para2konrad Před 4 lety

    Liked your video a lot :)

  • @user-yx3my1tr5o
    @user-yx3my1tr5o Před 5 lety

    my best solition is kflop, is true closed-loop controller, fast and stable!

  • @alexon2010
    @alexon2010 Před 10 měsíci

    Hello, in this video you are using a controller card that uses a Network card. What board is this where can you buy it, I intend to use it with Linux CNC

    • @DarkArtGuitars
      @DarkArtGuitars  Před 10 měsíci

      It is the Ethernet Smoothstepper board, but I believe it only works with Mach4. For Linux CNC the Mesa boards are your best bet.

  • @timholstpetersen79
    @timholstpetersen79 Před rokem

    Hi, and greetings from Denmark 🙂
    I'm building my own home shop CNC router and have some questions, since it is really a jungle to figure out what I need ;-)
    Is it really necessary to use closed loop stepper motors, or can you just use somewhat "oversized" open loop motors?
    IF !! you go for closed loop motors, is it still possible to get a real closed loop system, using e.g. cheap controllers, like the Arduino Uno or similar?

    • @DarkArtGuitars
      @DarkArtGuitars  Před rokem

      The closed loop motors come with dedicated drivers that do all the magic. The controller is then connected just like any other stepper driver. Unless you specifically wire up some error signals, the controller has no idea that closed loop steppers are used. That is unless you go to the high end where everything talks to eachother, but then you wouldn't be using an arduino anyhow.

    • @timholstpetersen79
      @timholstpetersen79 Před rokem

      @@DarkArtGuitars
      So if I buy closed loop stepper motors and drivers, I will have a closed loop system, that will prevent the steppers from missing steps, and I can use basically any controller like e.g. an Arduino Uno?
      Just to be clear 🙂

  • @steveeparsonsjr7929
    @steveeparsonsjr7929 Před 4 lety

    Can this run servos

  • @juborajhossain8125
    @juborajhossain8125 Před 2 lety

    Can anyone buy for me the whole set up for 5 axis with micro stepper by using there experience.

  • @iheart3dprinting951
    @iheart3dprinting951 Před 5 lety

    I really like watching your videos and how you explain things. Is there any way you can prioritize videos regarding this topic over the usual 3d Printing videos. Not criticizing, I am just eager to create my own CNC mill from scratch. I see your mill in the background looks very cool!

    • @DarkArtGuitars
      @DarkArtGuitars  Před 5 lety

      It's not that I prioritize one over the other, it's just that a big cnc project like this takes time. It is not something where I can give an update on every week, that would lead to some really boring videos.

  • @Patriotdesigns
    @Patriotdesigns Před 3 lety

    Can you use micro sd

  • @valtherkjaer7129
    @valtherkjaer7129 Před 3 lety

    Hi Datulab
    Thanks a lot for your explanitions. very usefull- but no it's a while since you made that video , so maybe you got some new stuff comming up - what im looking for it's a control board there is controled via ehternet or, usb - (same as the board in the video above)- but what i'm looking for 6 axis out put - for stepmotors(same as the video above), but same tine for servomotors with eg, encoder feedback. - without should use a mesa card eg. 7I76c - as it is quit pricy - thanks in advance - onse more thanks for your efford.

    • @DarkArtGuitars
      @DarkArtGuitars  Před 3 lety

      The smooth stepper with MB2 breakout board will do up to 6 axis. You can use both steppers and servo motors, as the encoder feedback of a servo motor goes to it's driver and not the CNC controller directly. You can then connect the driver to an input pin of the CNC controller to know when there is an alarm or some other issue.
      If you are looking for a slightly cheaper option, I will have a CNC project coming up where I use Mach 3 with a bit of a cheaper CNC controller, but that'll be a month at least until it's ready.

    • @valtherkjaer7129
      @valtherkjaer7129 Před 3 lety

      Hello again Tabulab
      Thanks for your prompt answer, in general I’m a newbee in the cnc world
      Is there any possibilities that you will do a video, using linuxcnc, as far as I know is the one the controls most axis, I do not know mach4
      Br

  • @ubairrashid4748
    @ubairrashid4748 Před 5 lety

    Brother please tell me how i make my cnc wood lathe machine and what material i need

  • @tanvirmahmud1048
    @tanvirmahmud1048 Před 3 lety

    Hay can U tell me which control board compatible with linux cnc

    • @DarkArtGuitars
      @DarkArtGuitars  Před 3 lety

      Have a look at the stuff from Mesa. I don't use LinuxCNC myself, but I've heard good things about them.

    • @mattivirta
      @mattivirta Před 2 lety

      usb board, arduino, mesa boards,

  • @portblock
    @portblock Před 6 měsíci

    Ive played with all of these, and since I cam from CNC shops using real machines with Fanuc controllers, I tend to hate PC based solutions... They are good for learning, but sometimes just easier to pick up a dedicated standalone CNC controller even a small one from amazon is better than hodge podging a controller to a g-code sender

    • @DarkArtGuitars
      @DarkArtGuitars  Před 6 měsíci +1

      Totally agree, that's why I ended up switching to the Masso G3 on my main machine.

  • @erikcramer
    @erikcramer Před 4 lety

    I noticed you said you don't want internet and CNC traffic over utp, but that's all seperated by your tcp up stack so should bnot be a issue, and the pnp/npn inductive sensors can also have 2 cables, other that that real informative video, but some more detail about the schematic would have been nice.

  • @kojomensah7474
    @kojomensah7474 Před 3 lety

    If you want to build a cnc what is the least nema motor you would buy ??

    • @DarkArtGuitars
      @DarkArtGuitars  Před 3 lety

      Depends on the size and construction of your CNC. For most diy router style machines some Nema 23 variant will do, but you'll have to do more research on what exact power matches your requirements.

    • @kojomensah7474
      @kojomensah7474 Před 3 lety

      @@DarkArtGuitars greetings I am looking at because it is not a router that it needs a lot of torque u really should not need a very strong stepper motor to move all the axes what is yr opinion pls

    • @mattivirta
      @mattivirta Před 2 lety

      minimum stepper motors if want cut wood and aluminium have nema 23 but better buy biggest nema 34 size motors important have torgue and amperes 4-12Ampere motors. and this amperes drivers. nema 17 can use only 3D printers and laser engraves no need lot torgues.

  • @giovi727
    @giovi727 Před 3 lety

    Thank You!

  • @MuttakiNL
    @MuttakiNL Před 3 lety

    thank you.

  • @paulwyleciol3459
    @paulwyleciol3459 Před 5 lety +1

    strange, why I have to think about "Harold and Maude" right form the beginning ...
    (watch?v=6ooboieA_eE)

  • @fehmiatas
    @fehmiatas Před 2 lety

  • @1pcfred
    @1pcfred Před 5 lety +1

    liez! heh. But seriously LinuxCNC does not require any internal hardware. Though you can use it if you want to. PCW's Mesa boards are really nice. I use a homemade buffered parallel breakout board myself. I get a good rate software stepping with it too. My machine will go 200 inches per minute in 8th step mode using 10 TPI leads. Which is something like a 16 KHz pulse stream? I'm not going to calculate it right now. It's pretty impressive. Let's just leave it at that. All while never updating WIndows. I can stream video while my CNC machine is running if I want to. I mean it's not POS Windows. I wouldn't let Windows run a coffee pot let alone my CNC machine.

  • @Robert-zx2df
    @Robert-zx2df Před 3 lety

    Why can't you use mach4 on arduino

    • @mattivirta
      @mattivirta Před 2 lety

      only bcnc and GRBL has make code arduino can understand pc and send step, dir to drivers.

  • @hectorae86
    @hectorae86 Před 4 lety

    Female to male or male to female transgender?

  • @baburaopukale6601
    @baburaopukale6601 Před 2 lety

    Good want conntact

  • @mattivirta
    @mattivirta Před 2 lety

    good nice video, next you need make video linuxcnc and usb/ethernet breakoutboard,lot cheapen than this owerprize mb3 has. i has used mach3 windows base pc lot and alltime has lot problems, windows not have stabile and good drive any motors, interrups have windows big problem and not have REALTIME newer and lost lot step alltime. linux have true realtime and not lost step anythink, if win pc have problem alltime about 100 time/week linuxcnc not have newer last 5 year has problem. this is why many not use windows base cnc and factory not newer used windows base machines. ESS/M3 has super expensive board no hobby users board newer, mesa card have half cheapen and not have hobby budget can use. normal paraller port or usb port breakoutboards cost maximum about 10-40$ lot better hobby users, arduino and small drivers can use only laser or 3D printers, but can connect external big drivers step,dir pin. raspberry pi not have many board yet, only small arduino board similar.best compination is linuxcnc cheap ethernet or usb board and big external motor drivers about dm855 etc, because if need mill metal need big stepper motors about 4-8Amp 60-90 volt. closed loop motors and drivers not have realistic hobby diy user 100x expensive than normal open motors. hobby user not normal have closed loop servo motor and driver budget, and this link controller board too ower prize lot and super expensive. better looking lot other boards. mesa have one but expensive too ower 100$ board not hobby users use.

  • @LearnerBoy
    @LearnerBoy Před 5 lety

    Your little hair was more attractive !!

  • @jamesbarratt593
    @jamesbarratt593 Před 4 lety

    Not even your first language

    • @MF175mp
      @MF175mp Před 4 lety

      Practice makes perfect, how many can you speak?

  • @guypatts494
    @guypatts494 Před rokem

    I have a 2100b cnc plasma controller not using torch height control u familiar with this plasma controller