Sie sind auf Seite 1von 4

1.

,Uploading MIGRBL to Arduino


Down load First of all unzip the downloaded file.
Open the Arduino folder>open the folder called libraries and copy MIGRBL file in it.
Open Arduino IDE goto file > Exmples >MIGRBL>grblUpload.ino
double click on grblUpload.ino to open the code just simply compile and upload the code to
Arduino.
Be sure you have selected the correct port and board.
Please delete if you already have any previous GRBL folder in Document>Arduino>library
folder.
Please note that GRBL will only work with arduino uno.
In this way GRBL firmware is successfully uploaded to Arduino, next we will see how to
connect servo motor to GRBL CNC shield.

2. Connecting Servo motor to GRBL CNC shield

Simply connect the 5V & GND wire of servo motor to 5V and GND pin on CNC shield.
PWM signal wire of servo motor need to connect at Z+ pin GRBL CNC shield.
In this way our wiring for GRBL CNC shield & servo motor.
If you notice a problem like Arduino get reset when servo moves so give external 5V DC supply to
servo motor.

1
3. Installing MIGRBL extension in Inkscape software

Download inkscape 0.48.5 version’s ZIP folder ( for 32bit windows OS).and
extract it.

Now download the MIGRBL Inkscape extension unzip the downloaded file
open the MIGRBL Inkscape extension folder copy all the four files.
Now got to C:\Program Files (x86)\Inkscape\share\extensions and paste here all the
four files.
Now open the inkscape software got to extension tab you will see
MI GRBL Z-Axis servo controller this means the extension is installed successfully.

We can also install Inkscape uni-corn master extension to Inkscape extension in order to
generate G-code file.

Down load Inkscape uni-corn master extension zip file and unzip it.

Open the Inkscape uni-corn master, in this folder open src folder, and copy all four files.

Now goto C:\Program Files (x86)\Inkscape\share\extensions and paste here all the four files.

2
4. Drawing image and convert into G code file using Inkscape software

1. Goto Inkscape folder &click on Inkscape icon.


2. Go to the file>Document properties, select default units as mm and Units as mm. Set
width as 85.00mm and Height as 85.00 mm plotting area, set object height and object
width less than plotting area.(Ex: W: 20.00 mm and H:20.00mm).
3. Now draw the design or drag and drop the image of your choice (If you have drawn
something itself in inkscape directly go to step 12).

4. Now select the image and go to the path>trace bitmap

5. Click ok and close the tab

6. Now hold click on the image and drag the mouse

7. A black and white image will separate from the original image

8. Now delete the original image

9. Drag the black and white image in center of the frame

10. Again goto path>object to path

11. Now go to Extensions tab and select MI GRBL Z-Axis servo controller

12. Change the values if needed

13. Click on apply to generate the G-code

14. Default location where you find the generated G code is C:\Users\Public

3
 Servo up: Servo up G-code

 Servo down: Servo down G-code (if servo move in opposite direction swipe the M5 and
M3 )

 X axis speed: speed of X axis

 Y axis speed: speed of Y axis

 Angle for servo: set the value how much you need to up servo in angle 0 to 180

 Delay: Servo up down delay keep it unchanged

 Directory: the location where G-code file generate

 Filename: default file name

 Live preview: check to see live coordinates in inkscape

 Sending G Code to Arduino Using Grbl Controller


1. Download Grblcontroller361 set up software for 64bit OS and install it.
2. Open the Grbl, Select port name(ex: COM38) to which your Arduino board is
connected and set Baud Rate as 115200
3. Click on Choose file and goto the folder where you have saved G-Code file and click
on it(ex: servo. gcode) to select it
4. Clink on open option and click on Begin option(button) to Start transfer of Gcode file
to Arduino

Das könnte Ihnen auch gefallen