Arduino CNC Shield Tutorial - Control Stepper Motors using CNC Shield V3.0

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

КОМЕНТАРІ • 136

  • @RobotsWithKnivesCartoons
    @RobotsWithKnivesCartoons 2 місяці тому +2

    Thank you for including the Arduino code before the GRBL bit, so many people only talk about GRBL but I just want to build a motion control rig for a camera, not a CNC machine or 3D printer and seems to be what everyone is doing. The code helped me figure out what wasn't working for my project (turns out two of the pins on my UNO died) but now I understand what the shield is doing and can right whatever code I want for my needs.

    • @SuperbTech
      @SuperbTech  2 місяці тому +1

      you're welcome, i happen to be working on a 3 axis camera slider too, stay tuned

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

    Thank You! I'm using this shield for a wire wrapping machine and needed to know how to enable it, you answered my question. The enable pin doesn't have to jumper to ground though, it is also connected to D8 on the Uno, so you can use code to enable/disable the stepper drivers if you want to rather than having them always enabled.
    The first set of drivers I put in had a bad driver and it was enabling the others but the stepper it was driving wouldn't move. When I figured out I had a bad driver, I put what I thought were good drivers in but nothing worked anymore. I think I made the mistake of putting drivers in before I used a multimeter to trace which pin went where and all the driver enable pins showed as being straight to ground pins on the Uno so I figured they must just be always enabled. Yes, I'm stupid but a lot of people just short the enable pins to ground anyway rather than coding the stepper enable pins.

  • @crispy-k
    @crispy-k 2 роки тому +3

    I just got a complete CNC machine that might have a fried board. So i've been thinking about getting to learn to use Arduino.
    Maybe i can replace the "electronics" with an Arduino instead of having to buy new parts for 1000$ :)
    Thanks for the vid, i will look more into this!

  • @maninderjeetbook
    @maninderjeetbook 3 роки тому +4

    Thanks for the grbl-controller, it is saving lot of time in troubleshooting.

  • @shadowsparkstudiosofficial5048
    @shadowsparkstudiosofficial5048 2 роки тому +8

    This was a great video! Easy to follow along to and very simple. I've learned a lot.

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

    Bro you just save my b.tech final year project. Thanks a lot bro.

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

    i learned everything i needed thanks for making such a great and detailed explanation

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

    Thanks a lot! That is a great overview.

  • @jestonidulay1835
    @jestonidulay1835 2 роки тому +4

    great video . i really appreciate it . may i ask about the A driver? it wasnt used in the video. maybe you can instruct me how to use the A driver as a stepper motor controller . and do you know how to make all the stepper motors run together simultaneously? id really be thankful about it

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

      I know this is late but I'm answering in case someone else has the same question. If you're not using it for CNC with GRBL or writing your own code, use D12 for Step and D13 for Dir of A (I may have that backwards but those are the two pins). All the driver enable pins are connected to the same enable pin he showed as needing to be jumped but that enable pin is also connected to D8 so you can use code to enable/disable if you want to instead of using a jumper and having them always enabled. For use with GRBL, use jumpers, the A can be used to clone X, Y or Z, depending on where you put the jumpers for use with GRBL. GRBL can only be used for 3 axis so one has to be a clone for it. You can find more on this online and where to place the jumpers to clone which axis fairly easily.

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

    i want to use 4 nema 17 with these same drivers can you tell me how to calculate total current and voltage and how to choose the correct power supply as required. And also that enabling of enable pin keep the shield and arduino isolated ? could be so helpful !

  • @FARHANKHAN-jl4mh
    @FARHANKHAN-jl4mh 4 роки тому +4

    Bro really got help from this content❤️❤️

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

    Thanks for this great tutorial, i'd like to ask just one question: can i use only two stepper motors?
    Thanks in advance

  • @mr.makavelifashion566
    @mr.makavelifashion566 18 днів тому

    can it be used for the self-balancing robot ? with DC motors and TB6612FNG ?

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

    I have the shield and the Uno, but I don't see any FET transistors on it - so I guess the stepper currents are driven directly from the chips?
    What size of stepper will they drive? NEMA 23?

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

    Thank Youi am converting a Dremel Drill Press to 3 axis CNC Mini Mill. This was a big help.
    Dennis

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

    I don't understand about xyz limit pins. There are xyz + and xyz - and then GND.
    Isn't minus and ground the same? I saw some tutorial where only + pin is connected to limit switch.
    and some tutorial use both + and ground and leave - pin unconnected.
    How to connect them?

  • @FPChris
    @FPChris 2 місяці тому

    What is the smallest power supply option for running 4 motors?

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

    Thanks, this is great with the GRBL Controller. I know GRBL from my Atomstack Laser.

  • @jamesssydney
    @jamesssydney 8 місяців тому

    Great video, can you can multiple cnc shields together to have more steppers? For instance if I wanted to 12 stepper to be controlled individually?

    • @felixavshalom2015
      @felixavshalom2015 8 місяців тому

      content.instructables.com/FBG/AHDV/JE95G332/FBGAHDVJE95G332.jpg
      No need fir CNC shields

    • @jamesssydney
      @jamesssydney 8 місяців тому

      But can these be controlled individually what happens if I want 24 steppers? Will that require two or more Arduino unio?

    • @felixavshalom2015
      @felixavshalom2015 8 місяців тому +1

      @@jamesssydney For 12 bipolar steppers you need 24 available pins as I showed you in wiring diagram. Arduino Mega had 54 digital pins so you can control at least 25 motors.
      In addition you can use analog pins as well as I remember.
      If it is not enough you can add I/O expansion boards to your Arduino and it will give you dozens of additional pins.

    • @jamesssydney
      @jamesssydney 8 місяців тому

      Thanks Felix you’ve been very helpful. I’m currently using 27 steppers on another project which doesn’t use ardunio. It’s driven but some other custom cards but this company is no longer in business. So looking for a plan b

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

    i am using CNC shield since last 3 years and i never connect enable
    & ground to each other and even it works fine. so why I should connect or jump this 2 port?

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

    well this was neat simple compact and exactly what I wanted to know. thanks a lot.

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

    how to start spindle motor in auto mode on off ? and where conection of spindle motor

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

    Thanks for the video. For my motors I had to increase the 500 microsecond delays for the step pulses to 2000 microseconds for one type of motor and to 3500 microseconds for another type.

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

      Can you please tell me how did you change the step pulses?

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

    help me ! i want to contro,l 4 stepper motor in one ardino Which motor controller will be used?

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

    Which software can I use to imprent or engrave a design ??

  • @fatimaalhammadi-c6l
    @fatimaalhammadi-c6l 2 місяці тому

    HI thank you your explanation it is so useful but I am trying to add to the code for axis A but I couldn't get to let the steeper motor work for axis A so can you please help me

    • @SuperbTech
      @SuperbTech  2 місяці тому

      Sure, How can I help you?

    • @fatimaalhammadi-c6l
      @fatimaalhammadi-c6l 2 місяці тому

      @@SuperbTech okay thank you I figured out the problem but now I have another problem so can you please help me? I have a project that I have to connect 5 steeper motors to 2 cnc shields using 1 Arduino board each motor will have different directions and speed so I need to have 1 cnc sheild working as the master and other working as a slave so how can I do that
      i know that i can use the uart method using the tx and rx pins in the cnc shield but i couldnt gifour out how to do that
      so can you please help me

    • @SuperbTech
      @SuperbTech  2 місяці тому

      thats nice, you can email me the details, i'll see if i can find a solution. fnfkhan07@gmail.com

  • @ShivSingh-dm8fq
    @ShivSingh-dm8fq 5 місяців тому

    How many driver required for two stepper motor same board

  • @felixavshalom2015
    @felixavshalom2015 10 місяців тому +1

    Hi
    Can I connect more than 4 motor?
    I need to connect 10 or more, is it possible?

    • @jamesssydney
      @jamesssydney 8 місяців тому

      I'm curious on this also, will it require multiple CNC shields?

    • @felixavshalom2015
      @felixavshalom2015 8 місяців тому

      @@jamesssydney I find how. Use easydriver for controlling 4 wire bipolar stepper motors

    • @jamesssydney
      @jamesssydney 8 місяців тому

      How many step drivers did you end up controlling?

    • @felixavshalom2015
      @felixavshalom2015 8 місяців тому

      @@jamesssydneyUnlimited. It only depends on number of available pins on Arduino board.
      The good news that 4-wire bipolar stepper motor uses only 2 Arduino pins, when it drived by Easydrive board

    • @felixavshalom2015
      @felixavshalom2015 8 місяців тому

      @@jamesssydney Of course you have to check the current of voltage. I think it will be no problem to connect 12 motors using 12V 3A.

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

    bro can you please make a viedo on controling 3 stepper and 1 servo motor manualy

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

    Hello, I'm using your stepper test code, to make an inexpensive toy, since I had bipolar steppers in hand. I was wondering how to control the rotation speed, in the code, using your stepper code test script, and the V3 module. I'm using all 4 outputs, from the V3 module, including the A output.

  • @muhammadtalhaahmedyasmeen9637

    Hi sir, which power supply is that you are using? how much voltage is it

  • @sijodee1
    @sijodee1 3 роки тому +1

    great video.i have built a filament winder and using the same boards as you have here.would it be hard to program them to run a stepper motor at a constant torque and even stop if too much force is applied?.as the winder gets full the rotation speed has to slow down so the motor speed is determined by the force needed to wind the filament.i have seen this on other winders but have no idea how they do it

    • @SuperbTech
      @SuperbTech  3 роки тому

      Thank you. I may be wrong, but i think there is a way to control the tension of the wire. You can measure the current consumption of the stepper motor with an arduino and a current sensor. High current means more torque is exerted on the wire. That way you can calibrate the diameter of the wire.

    • @SuperbTech
      @SuperbTech  3 роки тому

      Commercial filament manufacturers have laser diameter measuring devices, which then create a feedback loop to control the pull tension, to get the desired diamater accurately.

    • @sijodee1
      @sijodee1 3 роки тому

      @@SuperbTech yea, you are right about the current consumption. i got it sorted by using maximum step pulses and minimum current using standard stepper driver and speed controller.it doesn't take a lot of force to slow or even stop the motor from turning which is what i need

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

    Dear can I use 12v 10a power supply

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

      Yes you can. One stepper motor uses about 1.5A current

  • @tanmaypahuja2520
    @tanmaypahuja2520 5 місяців тому

    What id i want to run two motors for x acis

  • @3dprintiraq48
    @3dprintiraq48 3 роки тому +1

    Thanks for the tutorial, could you help me with cnc shield? I need to make 1 stepper moto moves a certain angle in a certain amount of time, for example 1 rotation in 1 hour.. i appraciat your support

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

    Is there a way to drive all motors simultaneously?

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

    You should use PWM not manually pushing bits

  • @naytdgreat
    @naytdgreat 9 місяців тому

    why did you use A4988 drivers instead of drv8825.

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

    bro will the cnc sheild work with uno esp8266(wemos d1) board

  • @FelixSamulevich
    @FelixSamulevich 5 місяців тому

    clear as simple . It can be the best

  • @shivanshchowhan166
    @shivanshchowhan166 8 місяців тому

    How much power supply is needed for the module

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

    Hi
    arduino uno + cnc shield v3 + A4988 motor driver + stepper motor
    itna mene try kar liya he. or success bhi he.
    ab muje isko controller ke sath operat karna he . to kese kar sakte he ?
    kyunki muje 1 mm se 2.5 mtr tak move karna he . or forword reverse ka speed bhi change karna hota he.
    iski agar koi jankari de sakta he dhanyavad.

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

    Thanks Bro For Stepper motor testing CODE.👍🙏

  • @vinodshetty1578
    @vinodshetty1578 3 роки тому

    Great vedio... Can we connect i2c keypad and LCD to CNC shield? Keypad used to input the steps/revolutions to stepper motor.

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

    Dónde compraste tu Arduino?

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

    can I use bigger motors with this?

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

    why does my arduino overheats when i try to do this? I mean it runs for 30 seconds or so, and all of a sudden it just stops and a error line appeared.

  • @michalmalinowski86
    @michalmalinowski86 9 місяців тому

    All of my stepper motors turn only in one direction ... What could go wrong ?

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

    Hi, do i need to power arduino too

  • @Prajwal_24
    @Prajwal_24 10 місяців тому

    Bro i did exactly as u shown in the video but the motors r stucked they r nt moving

  • @eng.abraob.s.nhaca-mocambi1052
    @eng.abraob.s.nhaca-mocambi1052 2 роки тому

    What would happen if I don't connect the enable board??

  • @3DPrintedEngineer
    @3DPrintedEngineer 2 роки тому

    Does the stepper motors make any noise? If so, how much?

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

      Hi
      Stepper Motors make some humming noise only.
      but voice are beeping it means need a power setting.

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

    Is there a way to save a gcode file to the arduino to be able to rerun the same process without a computer being connected?

  • @aromalunni.
    @aromalunni. Рік тому +2

    Z axis not working 😑🥺

  • @ihsankamil2078
    @ihsankamil2078 3 роки тому

    which version of grbl firmware do you use

    • @SuperbTech
      @SuperbTech  3 роки тому

      i have used GRBL V3.6. you can find the link in the description

  • @Cricri_poipoi
    @Cricri_poipoi 3 роки тому +1

    merci pour ton super tuto :)

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

    How much amps is required??? Pls ans

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

      one stepper motor requires about 1.5 Amps

  • @EeetrereeRffe
    @EeetrereeRffe 9 місяців тому

    The stepper motors are not running smoothly

  • @klarkkentgr6111
    @klarkkentgr6111 3 роки тому

    Hi very helpfull video!! i was lost trying to bild my own cnc. Will this work with nema 23 motors also? Thanks a lot!!!

    • @SuperbTech
      @SuperbTech  3 роки тому

      yes the shield will work with NEMA 23 stepper motors. you will have to use bigger drivers though

    • @klarkkentgr6111
      @klarkkentgr6111 3 роки тому

      @@SuperbTech thanks for answering that fast!do you know which ones?

    • @SuperbTech
      @SuperbTech  3 роки тому

      @@klarkkentgr6111 you can use tb6600 driver

    • @klarkkentgr6111
      @klarkkentgr6111 3 роки тому

      @@SuperbTech you are the best! Thanks a lot!!!

  • @ArifFitrianto_edukasi
    @ArifFitrianto_edukasi 10 місяців тому

    Bagaimana cara menambah kecepatan disumbu z

  • @cocreatex1352
    @cocreatex1352 3 роки тому

    Hello, program ran a few times and then quit. Current displayed on power supply went to zero while voltage remains at 12 [V]. Any thoughts regarding why current may have quit and motors are no longer operating? EN/GND jumper still in place... Thanks! Great / helpful video!

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

    Thr is an error compiling "cnc shield demo"

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

    Where is the jumpers?

  • @stefanolombardi7351
    @stefanolombardi7351 3 роки тому +1

    can you help me connect the end stops? Thank you

  • @dhekadaniswara7067
    @dhekadaniswara7067 3 роки тому

    Hello, is there any way to control 4 stepper motor using some kind of switch(rocker or toggle)?

  • @umargul5644
    @umargul5644 3 роки тому +1

    Great job sir thanks

  • @Rhybos
    @Rhybos 3 роки тому +1

    YAY!! THANK YOU!! :D

  • @emirhaziqchannel9990
    @emirhaziqchannel9990 3 роки тому

    Hai, may i ask a question? If i want to use 2 stepper motor in 1 axis, do i need to connect at addtional y axis? (Red color)

    • @SuperbTech
      @SuperbTech  3 роки тому

      yes you can connect additional motor for y axis on the A marked pins

  • @hariharanramamurthy9946
    @hariharanramamurthy9946 3 роки тому +1

    did you adjust vref?

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

      This is important. @SuperbTech, please edit your video to include a step to adjust the current limit (vref) so someone doesn't fry their drivers or their motors.

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

    How much voltage and current is he using from the power supply? I think that's a very important point missing from this tutorial. Otherwise it was very helpful.

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

      voltage is 12V, each motor uses about 1A

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

      @@SuperbTech Thanks for replying. Did you set the current limit on the drivers using the potentiometer?

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

      yes

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

      @@SuperbTech Okay makes sense. I do feel that these details are very important to include in the tutorial. I smoked quite a few drivers because of it! But thanks a lot for the video it helped me get started.

  • @BuvarUszo
    @BuvarUszo 3 роки тому +1

    Does anyone know how to access driver “A” ? It doesn’t seem to be wired to the arduino.

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

    this vdo is great. Thanks.

  • @Nissearne12
    @Nissearne12 3 роки тому +1

    Awesome. 😀

  • @maddiebanwell5206
    @maddiebanwell5206 3 роки тому

    hi do you know of a Grbl Controller that is compatible with Mac and these parts?

  • @deependrakumar2767
    @deependrakumar2767 3 роки тому

    DEEPENDRA KUMAR
    0 seconds ago
    mai 2 motor JK42. and 1 motor JK57. Model ka CNC shield aur DRV 8825 ke dwara chala raha hu to usme poblem ye hai ki JK57 sahi chalta hai but JK42 Sahi nahi chalta our unki DRVbhi jyada heat ho jati hai jabki JK57 KI DRV heat nahi hoti

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

    You are great 👍
    I am from Canada i am making a one project so I need your help so how can I contact you

  • @KTWap
    @KTWap 3 роки тому

    limit the current for stepper motors and use heat sinks for drivers

    • @chezcotton
      @chezcotton 3 роки тому

      why limit the current? is it too much current? I'm a noob btw incase you couldn't tell.

  • @SomnathSinghaRoy-l7r
    @SomnathSinghaRoy-l7r 10 місяців тому

    Sir please give me the code 🙏🙏

  • @roncarroll4531
    @roncarroll4531 3 роки тому

    How can you add variable speed to this to run the motors at different speeds?

    • @senzone1
      @senzone1 3 роки тому

      maybe u have to set an bridge under the drivercard for split the steps

  • @crangerxu6138
    @crangerxu6138 3 роки тому

    hi greate video!but i just want run one stepper so i change the demo code ,unlucky it doesn't work ,the driver is enabled but the stepper has no voice not even run ,so sad,is there some problem~thx alot!

    • @crangerxu6138
      @crangerxu6138 3 роки тому

      probably the driver is damaged? but the voltage is right

  • @abhiramv8843
    @abhiramv8843 3 роки тому +1

    Nice 1 bro

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

    Thanks 👏

  • @Druk226
    @Druk226 9 місяців тому

    Ssory, where
    “Reed me”

  • @LeviDekker-i9v
    @LeviDekker-i9v Рік тому

    Legend

  • @parmarmehul623
    @parmarmehul623 2 місяці тому

    Hi

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

    thanks

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

    controller won't connect to com port

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

    At the risk of sounding like an absolut idiot. It is possible to connect 4 stepper motors right?

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

      yes you can, feel free to ask 😉

  • @lafua._millionaire
    @lafua._millionaire 4 місяці тому

    Jai shree ram 🚩🚩🚩

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

    sagol hacı bir sürü video var ama bir tek senin dediğini yapınca calıstı diğer videolar çöp

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

    Because of the heavy accent it's dificult to understand

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

    H7ju 😅😂

  • @AritraDebnath-ud5yb
    @AritraDebnath-ud5yb 10 місяців тому

    g66d

  • @moinshaikh6684
    @moinshaikh6684 2 місяці тому +1

    Being a two years of experience person, please don't use grbl based control boards, it gets random stop problem which is highly irritating and time wasting problem in grbl based cnc, even after upgrading the stepper driver to bt6600, still problem exist, I've done all the solutiona, but problem persist, which no one discusses on online platforms, it will blow your mind while cutting by stopping randomly on the job!

    • @d.athegreat3947
      @d.athegreat3947 Місяць тому

      I've been experiencing a similar problem, so what do you recommend?.

  • @andyc27
    @andyc27 9 місяців тому

    What is the benefit of using this method instead of using servo motors

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

    Is there a way to drive all motors simultaneously?