interfacing gcode and arduino

I am trying to build a laser engraver that operates on gcode . I am using gcode to move the two cd rom stepper motor. I have assembled the driver circuits . I have created gcode through software named Inkscape . Also i have imported grbl in arduino library too. I have used grbl controller to transfer the .nc (gcode) file to arduino. I think i'm missing some part in arduino . As i'm new to gcode in arduino . so please help me to figure out my mistake.

I think i'm missing some part in arduino

What part do you think you are missing?

I have used grbl controller to transfer the .nc (gcode) file to arduino.

What sketch is running on the Arduino when you do this? What does that code actually do? What do you expect it to do?

"Help, my project does not work" is next to useless without details.

actually i am using the gcode to run the one stepper motor in x direction and one stepper motor in y direction+ controlling the on off process of laser diode. Can i do it with gcode .? i am newbie at this :frowning:

Can i do it with gcode .?

gcode is a collection of M(achine control) and G(o) codes. Sending "G01 1.4 2.7" (a G code) to the Arduino may, or may not, make it do anything.

What sketch is running on the Arduino?

I want to send Gcode of Alphabets and any sketches or art drawn in inkscape. Also i have studied about Gcode but not able to work properly with my two bipolar cd rom stepper motor

You also seem to be incapable of showing the code on the Arduino, so I'm forced to give up.

If you have GRBL installed on your Arduino my understanding is that it is designed to read GCode - perhaps from your PC or from an SD Card.

GRBL is a very complex program and you need to get advice from the GRBL people or from some of the CNC Forums.

PaulS:
You also seem to be incapable of showing the code on the Arduino, so I'm forced to give up.

Paul, I suspect we are all better off not seeing the GRBL code - unless you have several hours to spare.

...R

Paul, I suspect we are all better off not seeing the GRBL code - unless you have several hours to spare.

I just want to make sure that OP is not running blink with delay and expecting something magic to happen anyway.

Remember that not only do you need the Gcode file, you need something on the PC that sends the Gcode file to the Arduino. What are you using for that?