17
Manual for Arduino CNC V4 E ngraving M achine Controller Board This controller board includes following parts: 1Arduino Nano controller board ×1 2Keyes_CNC ×1 3A4988 motor driver module×3 4Wiring cap ×10 DiagramWhen you get the product, please plug the wiring caps as diagram below shows

Arduino CNC V4 雕刻机控制板手册 - Welcome to tengine!m5.img.dxcdn.com/CDDriver/xrj/341412_Arduino CNC V4.docx · Web viewurn test program to Nano copy the folder, GRBL_ Arduino_Library_keyes,in

  • Upload
    vankhue

  • View
    214

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Arduino CNC V4 雕刻机控制板手册 - Welcome to tengine!m5.img.dxcdn.com/CDDriver/xrj/341412_Arduino CNC V4.docx · Web viewurn test program to Nano copy the folder, GRBL_ Arduino_Library_keyes,in

Manual for Arduino CNC V4 Engraving Machine Controller Board  This controller board includes following parts:

1、 Arduino Nano controller board ×1 2、 Keyes_CNC ×1 3、 A4988 motor driver module×34、 Wiring cap ×10

Diagram:

When you get the product, please plug the wiring caps as diagram below shows:

Page 2: Arduino CNC V4 雕刻机控制板手册 - Welcome to tengine!m5.img.dxcdn.com/CDDriver/xrj/341412_Arduino CNC V4.docx · Web viewurn test program to Nano copy the folder, GRBL_ Arduino_Library_keyes,in

After finishing plugging the wiring caps, please plug the A4988motor driver module as following diagram shows:

Page 3: Arduino CNC V4 雕刻机控制板手册 - Welcome to tengine!m5.img.dxcdn.com/CDDriver/xrj/341412_Arduino CNC V4.docx · Web viewurn test program to Nano copy the folder, GRBL_ Arduino_Library_keyes,in

Note : A4988module and Nano can’t be plugged in the place of each other, otherwise it will cause damage to the hardware.

Arduino Nano test:

1. Introduction:Arduino Nano is a super small Simple i/o platform based on opening source code. It take a great advantage over previous USB Arduino Diecimilain in the volume. You can use it to develop electronic products which need to move independently and has an interactive effect; You also use it to develop the interactive works linked with the computer with the software like Flash,Processing, Max/Msp, PD, VVVV and so on.

2. Arduino Nano technology parameters: 1. 12 digital input and output ends ( D2~D13). 2. 8 analog input ends (A0~A7) 3. 1pair TTL voltage series receiving-sending end RX/TX 4. 6 PWM ends, D3, D5, D6, D9, D10, D11 5. To use Atmel Atmega328P-AU MCU 6. Support USB downloading and power supplying7. Support external 5V~12V DC power supplying8. Support 9V battery’s supplying9. Support ISP downloading

Page 4: Arduino CNC V4 雕刻机控制板手册 - Welcome to tengine!m5.img.dxcdn.com/CDDriver/xrj/341412_Arduino CNC V4.docx · Web viewurn test program to Nano copy the folder, GRBL_ Arduino_Library_keyes,in

3. Pin Instruction

4. Procedure for Installing Arduino Driver :

Please download the Arduino developing software on the web address: http:/arduino.cc/en/Main/Software. The downloaded file is arduino-1.0.zip, a compressed folder. please decompress it to the hard disk.

When nano Developing Board is connected to the Windows through the USB line, Windows will prompt a new USB device is found, then it will lead us into the "found new hardware wizard" window.

Page 5: Arduino CNC V4 雕刻机控制板手册 - Welcome to tengine!m5.img.dxcdn.com/CDDriver/xrj/341412_Arduino CNC V4.docx · Web viewurn test program to Nano copy the folder, GRBL_ Arduino_Library_keyes,in

The next step is to install nano driver required, selecting the option of "install from a list or specific location (Senior)" and click "next" button:

To put the driver into the driver directory of Arduino 1.0 installation directory, and we need to specify this directory to be the searched directory when installing the driver.

Page 6: Arduino CNC V4 雕刻机控制板手册 - Welcome to tengine!m5.img.dxcdn.com/CDDriver/xrj/341412_Arduino CNC V4.docx · Web viewurn test program to Nano copy the folder, GRBL_ Arduino_Library_keyes,in

Click "next" button, Windows begins to find and install Arduino driving procedure.

If all goes well, we will see the success interface as follows:

After the installation of Arduino driver is successful, we can find the corresponding Arduino serial port in the Windows device manager:

Page 7: Arduino CNC V4 雕刻机控制板手册 - Welcome to tengine!m5.img.dxcdn.com/CDDriver/xrj/341412_Arduino CNC V4.docx · Web viewurn test program to Nano copy the folder, GRBL_ Arduino_Library_keyes,in

Well, the next is to test driver installation.

Testing code:

/* Blink Turns on an LED on for one second, then off for one second, repeatedly. This example code is in the public domain. */ // Pin 13 has an LED connected on most Arduino boards. // give it a name: int led = 13; // the setup routine runs once when you press reset:

void setup() { // initialize the digital pin as an output. pinMode(led, OUTPUT); } // the loop routine runs over and over again forever: void loop() { digitalWrite(led, HIGH); // turn the LED on (HIGH is the voltage level) delay(1000); // wait for a second digitalWrite(led, LOW); // turn the LED off by making the voltage LOW delay(1000); // wait for a second }

 Copy the code above to Arduino status , select the model uno and port, and then click the icon. To wait a moment and the results came out, then you will see the LED flashing at D13 of your nano board and the time interval is 1s, and then we know that is ok.

Page 8: Arduino CNC V4 雕刻机控制板手册 - Welcome to tengine!m5.img.dxcdn.com/CDDriver/xrj/341412_Arduino CNC V4.docx · Web viewurn test program to Nano copy the folder, GRBL_ Arduino_Library_keyes,in

Load test G code to test the board set.1. Burn test program to Nano

copy the folder,GRBL_ Arduino_Library_keyes,in the data packet  and paste it into to the folder , libraries, in your Arduino software installation content.

Code: #include <grblmain.h>void setup(){startGrbl();}void loop(){}Burn the code above to Nano2. Install GrblController361softwareOperate GrblController361 software installation packet, the interface below will come out:

Click “Next”,the interface below will come out:

Page 9: Arduino CNC V4 雕刻机控制板手册 - Welcome to tengine!m5.img.dxcdn.com/CDDriver/xrj/341412_Arduino CNC V4.docx · Web viewurn test program to Nano copy the folder, GRBL_ Arduino_Library_keyes,in

Choose “I accept the agreement” and clock”Next”, the picture below will come out:

Page 10: Arduino CNC V4 雕刻机控制板手册 - Welcome to tengine!m5.img.dxcdn.com/CDDriver/xrj/341412_Arduino CNC V4.docx · Web viewurn test program to Nano copy the folder, GRBL_ Arduino_Library_keyes,in

And then click “Next”, the picture below will come out:

After clicking”Next”,

Page 11: Arduino CNC V4 雕刻机控制板手册 - Welcome to tengine!m5.img.dxcdn.com/CDDriver/xrj/341412_Arduino CNC V4.docx · Web viewurn test program to Nano copy the folder, GRBL_ Arduino_Library_keyes,in

After clicking”Next”,

Page 12: Arduino CNC V4 雕刻机控制板手册 - Welcome to tengine!m5.img.dxcdn.com/CDDriver/xrj/341412_Arduino CNC V4.docx · Web viewurn test program to Nano copy the folder, GRBL_ Arduino_Library_keyes,in

After clicking”Next”,

After clicking”Next”,

Page 13: Arduino CNC V4 雕刻机控制板手册 - Welcome to tengine!m5.img.dxcdn.com/CDDriver/xrj/341412_Arduino CNC V4.docx · Web viewurn test program to Nano copy the folder, GRBL_ Arduino_Library_keyes,in

After clicking”Install”,

After clicking”Next”,

At last, click ”Finish” to finish the installation

Page 14: Arduino CNC V4 雕刻机控制板手册 - Welcome to tengine!m5.img.dxcdn.com/CDDriver/xrj/341412_Arduino CNC V4.docx · Web viewurn test program to Nano copy the folder, GRBL_ Arduino_Library_keyes,in
Page 15: Arduino CNC V4 雕刻机控制板手册 - Welcome to tengine!m5.img.dxcdn.com/CDDriver/xrj/341412_Arduino CNC V4.docx · Web viewurn test program to Nano copy the folder, GRBL_ Arduino_Library_keyes,in

3. Test code testing:Connect the motor, external power supply and US and open the GrblController361 software.

Choose the end(port name)and click “Open” to open the series port

Page 16: Arduino CNC V4 雕刻机控制板手册 - Welcome to tengine!m5.img.dxcdn.com/CDDriver/xrj/341412_Arduino CNC V4.docx · Web viewurn test program to Nano copy the folder, GRBL_ Arduino_Library_keyes,in

Note:After opening the series port, the “Open” button change into “Close/Reset” and get red! At this time you can click the x axis、Y axis、z axis as the diagram below showed to have a look for step motor’s acting or not. Of course, you can also click ”Choose file” to choose any folder under the test track G code folder in the data packet for a beginner, and the interface will come out:

Click “Begin” to have a look for step motor if it is acting or not!

Page 17: Arduino CNC V4 雕刻机控制板手册 - Welcome to tengine!m5.img.dxcdn.com/CDDriver/xrj/341412_Arduino CNC V4.docx · Web viewurn test program to Nano copy the folder, GRBL_ Arduino_Library_keyes,in