How do I use an Arduino with a grblshield for a CNC machine?

I am building a 3 axis cnc machine. I am using Nema 23 motors. I would like to move the machine using ad arduino and the grblshield. I have searched the net and haven't been able to find any tutorials or step by step guides as to how to go about this. I am quite new at using electronics and ardunio and it would be really useful to see images and walk-throughs of how to connect the motors to the grblshield (each nema motor has 8 wires) and then to see some arduino coding that I can use to turn the motors.
I know there are many smart people on this forum whom may have done something like this before and I would appreciate the help.
Thanks.

Have you studied the grblShield wiki?

https://www.synthetos.com/wiki/index.php?title=Projects:grblShield

It looks like grbl takes over the ATmega processor in your Arduino UNO and doesn't use the Arduino bootloader so it can't be uploaded as a sketch. You will need AVR Studio 4 and a ISP programmer to load the grbl .hex file into your ATmega328P.

Thank you for your reply.

So I won't be able to use Arduino 1.0 software to program the motors?

Where can I download AVR Studio 4 and a ISP programmer?

peterrichardjames:
AVR Studio 4

Google

and a ISP programmer?

I don't think they've invented a way to download hardware yet, although the 3-D printers are coming pretty close.

No you can't use the Arduino IDE to program the motors. You put GRBL on the Arduino, then send motor commands from your computer to the Arduino via the USB serial port. GRBL then takes care of turning your commands into stepper motor movements.

You can, however, install GRBL without AVR studio + a programmer. See this:

Good luck!

johnwasser:
Have you studied the grblShield wiki?

Index of /wiki

It looks like grbl takes over the ATmega processor in your Arduino UNO and doesn't use the Arduino bootloader so it can't be uploaded as a sketch. You will need AVR Studio 4 and a ISP programmer to load the grbl .hex file into your ATmega328P.

You won't need AVR Studio as all you already have access to the .HEX file. You will need another ATMega328P chip and to learn how to use the ArduinoISP sketch and program the new chip. You can then plug it into your Arduino Board (provided you have the DIP type Arduino board) and then you can run grbl CNC.

Also how should I wire my nema23 motors into the grbl shield. I'm sure it is not as simple as just connecting them to the shield and slotting the shield onto the arduino. How should I wire up an extra power supply and resistors?

Also how should I wire my nema23 motors into the grbl shield. I'm sure it is not as simple as just connecting them to the shield and slotting the shield onto the arduino. How should I wire up an extra power supply and resistors?

https://www.synthetos.com/wiki/index.php?title=Using_the_grblShield

I know how you feel! I'm in the same position. I have all the parts to make a cnc machine and every time I ask for help all I get is a link to someplace that doesnt help

I need help interfacing my windows XP machine with th grbl shield and an UNOr3 with a grbl Chip. I have all the parts to go but I dont know how to setup my computer. Yes I have read all the grbl and wiki sheets and they dont help.

I would like someone to say "plug this here, type this here, do this and that" so I can get this going.

thanks

KD7BBJ:
I need help interfacing my windows XP machine with th grbl shield and an UNOr3 with a grbl Chip. I have all the parts to go but I dont know how to setup my computer. Yes I have read all the grbl and wiki sheets and they dont help.

I would like someone to say "plug this here, type this here, do this and that" so I can get this going.

thanks

I have a CNC machine. If you're DIYing your own, it's not a simple plug and play. You're in for a world of surprise if you think it's that easy as buying the parts and hooking them up together.

I bought a ready-made CNC with it's own motor controller, hooked up via LPT port to a Windows computer. Then I'm using Mach3 software to control the CNC machine. The Gcode is generated by another software (forgot the name, EasyCAM or something like that), which takes a DXF version 12 file, which is created from/exported via AutoCAD software.

I draw the plans in AutoCAD, export to DXF, import DXF into EasyCam, assign tools, depth, cuts to each path/layer, export Gcode, feed the Gcode into Mach3, click Start and off the CNC machine works.

I have no idea how you're going to do all that CNC using an Arduino and some shields only.

Once you have the CNC running, you're still not out of the woods. You'd then have to figure out the proper cutting speeds and depth for each material type you want to mill. Expect to break a lot of router bits (at a cost of $25 to $50 each) as you're experimenting. Then you need a bunch of miscellaneous stuff, fixtures, jigs, etc.

Do you think this is easy?

Yes I have read all the grbl and wiki sheets and they dont help.

Why not what is it that you are not getting? We can't tell this, so ask specifically about just one bit you don't understand, then try and understand it. Then move onto the next bit. Don't try to do it all at once.

KD7BBJ:
I need help interfacing my windows XP machine with th grbl shield and an UNOr3 with a grbl Chip. I have all the parts to go but I dont know how to setup my computer. Yes I have read all the grbl and wiki sheets and they dont help.

I would like someone to say "plug this here, type this here, do this and that" so I can get this going.

thanks

GM and vasquo hit the nail on the head. We can definitely help you out with the pieces but ultimately it's probably going to be more complicated than you'd like or imagine.

GM's advice is very good; divide and conquer. Chop the problem up into smaller and smaller pieces until you can solve the little pieces, then start solving the little pieces, then start assembling them into more complicated tasks.

Vasquo's advice is also very good. I built a CNC machine last year and thought it would take a few weeks; it was more like 6 months before I knew what I was doing, and even now I'm still working on things like backlash and runout.

I'm not trying to discourage you from your project; I think they're incredibly useful machines and now can't imagine not having one, but I do think it's important to realize the road ahead is long. There is a huge difference between knowing how to drive a car and how to rebuild a carburetor; think of it like that.

Having said all that, back to your original issue. What do you need help with right now? Installing the drivers on your computer so it can see the Uno? Communicating with GRBL? Exporting something from CAD into G-Code?

i had my motors stuttering once but i shut my machine down for the night and now its not working. my first issue is that i cant get cool term to communicate with my pc

my first issue is that i cant get cool term to communicate with my pc

Well that is hardly an arduino issue is it?
From what I can gather cool term is a program that runs on the PC not one that communicates with it. Is that right?

Why do you need this, will not the arduino's IDE terminal not work.
So how are you trying to get it to work?
I am assuming you must set it's baud rate to be the same as the arduino is sending, the one defined in the Serial.begin() call.
Are you doing that?
You must also set cool terms data format to 8 data 1 stop no parity.

Links to things would help.

I am interested in GRBL with Arduino and searching related articles in days. I haven't made a CNC machine yet, but I would like to share what I know about making a CNC machine.
First, make sure you have these things as below:

  1. PC
  2. Arduino UNO(As I know, there are still some other versions supported)
  3. Download GRBL file( *.hex)
  4. stepper motors
  5. power driver for stepper motor(this is what GRBL Shield does)
  6. download arduino uploader(or Xloader ...etc)
  7. download gcode sender

Step 1. Connect Arduino to your computer.
Step 2. Open Arduino Uploader, use it to upload GRBL( *.hex) to your Arduino.
Step 3. Normally, a CNC machine will use stepper motors. And you will need some power drivers to drive these stepper motors. Because Arduino has not enough power to drive them. You can search "Easy Driver" in Google.
Step 4. Connect the easy drivers to your Arduino, and then also connect the stepper motors to the easy drivers.
Step 5. CNC machine and 3D printer can only receive G-Code. So you need to convert your 3D model to G-code.
Step 6. Open G-Code sender, use it to send the G-Code to your CNC machine. After you press the "Print" button on G-Code Sender window, these stepper motors will start to work.

I am a new comer for Arduino, if there is anything wrong. Please correct it and advise.
Thank you.

You are resurrecting a dead thread. You should really start a new thread.

You seem to have the principles correct but I can't help feeling the reality will not be quite as smooth as your 7 steps.

There is a lot of useful info on the Reprap forum.

...R