GRBL with Arduino with steppers ?

Hi Can I use any stepper and any driver with GRBL + Arduino uno ? Can I use a 5 wired step motor with easy driver (ignoring the common wire and just using the 4 wires ?)with GRBL ? Can I use a 5 wired step motor with ULN2003 with GRBL ? Thanks !

Can I use any stepper and any driver with GRBL + Arduino uno ? I believe you must use Step and Direction drivers with GRBL. The Arduino UNO doesn't have enough pins to dedicate more than two pins per stepper.

Can I use a 5 wired step motor with easy driver (ignoring the common wire and just using the 4 wires ?)with GRBL ? The five wires are in the star pattern of a unipolar stepper and can't be used as a bipolar stepper. You need a unipolar driver to drive it. If you can find a unipolar driver with Step and Direction inputs you should be able to use those drivers with GRBL.

Can I use a 5 wired step motor with ULN2003 with GRBL ? No. The ULN2003 uses one pin per winding and does not have Step and Direction inputs.

So , can I use EasyDrivers (https://www.sparkfun.com/products/10267) or Dual H-bridges with a 6 wire stepper (ignoring 2 commons) with GRBL ?

Yes, you can use the EasyDriver with GRBL to control a 4, 6, or 8-wire stepper.

No, you can't use a Dual H-Bridge with GRBL because it dos not have Step and Direction inputs.

How would GRBL connect with my computer and receive the files ? And If I'd get EasyDrivers / GRBL Alongside arduino , Do I still have to program anything ? Like program the arduino ? Or does the grbl do that for me ? And thanks for helping a newbie (me)

How would GRBL connect with my computer and receive the files ?

Either find a program for our OS designed to stream G-Code to Grbl or write your own program based on the Grbl Wiki: https://github.com/grbl/grbl/wiki/Interfacing-with-Grbl#streaming-a-g-code-program-to-grbl

And If I'd get EasyDrivers / GRBL Alongside arduino , Do I still have to program anything ? Like program the arduino ? Or does the grbl do that for me ?

Once you have flashed Grbl to the Arduino hardware (See: https://github.com/grbl/grbl/wiki/Flashing-Grbl-to-an-Arduino) you only need to send it G-Code. You may need to generate G-Code from design files.

You should really read the Grbl Wiki which covers many of these questions. Grbl is shipped as a .hex binary file and is not really an Arduino sketch. You can't use the Arduino IDE to compile and install it. You have to bypass the IDE and run some of the underlying programs directly.

Here is a source for drivers that will work with 5 wire unipolar drives: http://techref.massmind.org/techref/io/steppers.htm. The Linistepper and SLAm7062 are for unipolar drives. Another source of information for these drivers and other CNC topics is http://pminmo.com/.

Go to the Compiling Grbl wiki page for instructions on how compile and upload Grbl onto your Arduino simply through the Arduino IDE interface. No fuss! It just requires users to download the source code and add Grbl as a library to the IDE.

They say this . I suppose G-code can be done with some apps , inkscape / CAMBAM / etc . ? Thanks ! I'm glad to hear my work can be done without programming .

hello friends :) please can you help me please !?

I have 3 drivers uln2003 with arduino uno and I want to use that step-motors 5wires for CNC machine ,its possible to find GRBL for that ?

  • please any solution I need it .... thanks lot of .

Cherif_001: I have 3 drivers uln2003 with arduino uno and I want to use that step-motors 5wires for CNC machine ,its possible to find GRBL for that ?

I believe that is not possible. You would probably get a more definitive answer on some of the CNC Forums.

There is nothing to prevent you writing your own program to control your motors.

...R

I have 3 drivers uln2003 with arduino uno and I want to use that step-motors 5wires for CNC machine ,its possible to find GRBL for that ?

NO, not directly - GRBL sends STEP/DIR pulses to the motor drivers.

There is this thread, where one has apparently written a sketch which can produce STEP/DIR to unipolar motors. But - I have not yet thought it through thoroughfully enough - you would need a second arduino for your project (maybe 3 extra - so 4 in total to drive 3 axis).

Why?

The first Arduino with GRBL loaded firmware will take G-Code and transform that information into step/dir, the second Arduino transforms the pulses to drive the ULN2003.

Although I have only limited experience with GRBL, I cannot recommend this method as I bet it will be not very easy to set it up. If I were you I would take three drv8825 (if they can deliver enough current for your motors, if not, go with a bigger, more expensive TB6xyz driver) and connect them with a GRBL shield to your Arduino.

That said, you need bipolar steppers. Maybe you can find a way to modify the wiring for your unipolar steppers to act as bipolar motors; if not, you have either to get unipolar drivers or bipolar steppers.