Ks0096 keyestudio CNC Kit / CNC Shield V4.0 + Nano 3.0+3pcs a4988 Driver / GRBL Compatible: Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
==Arduino CNC kit / CNC Shield V4.0 + nano 3.0+3pcs a4988 driver / GRBL compatible==
==Arduino CNC kit / CNC Shield V4.0 + nano 3.0+3pcs a4988 driver / GRBL compatible==


<br>[[File:961.png|500px|frameless|thumb]]<br>
<br>[[File:96-1.png|500px|frameless|thumb]]<br>


==CNC Shield V4.0 features:==
==Introduction==
'''keyestudio CNC Shield V4'''
Keyestudio CNC shield v4.0 needs to work with Keyestudio nano ch340 . It can be used as driver expansion board for engraving machines. It has in total 3 channel slots for A4988 stepper motor driver modules (not included) for driving 3 channel of stepper motors. Each channel of stepper motor only needs 2 IO ports, which means 6 IO ports is sufficient to manage 3 stepper motors. This shield can make quick work for managing stepper motors in your project.<br>
 
'''keyestudio nano ch340 '''
keyestudio nano ch340 controller is a small, complete board based on the ATmega328. It’s a open source Simple I/O platform with 12 Digital I/O Pins (of which 6 provide PWM output), 8 Analog Input Pins, pin 0 (RX) and 1 (TX) used to receive (RX) and transmit (TX) TTL serial data, a Mini-B USB connection, an ICSP header and a reset button.<br>
 
==Specification==
   
   
1. 3 axis stepper motor driver <br>
1. 3 axis stepper motor driver <br>
Line 23: Line 30:
==Connection Diagram==
==Connection Diagram==


<br>[[File:962.png|500px|frameless|thumb]]<br>
<br>[[File:96-2.png|500px|frameless|thumb]]<br>
 
<br>[[File:963.png|500px|frameless|thumb]]<br>
 
==Load test G code to test the board set==


'''1. Burn test program to Nano'''
==5. Install Driver Software and Development Environment Software IDE==
'''Install Diver Software'''
A. Connect the main board with computer, and then right click “Computer” to enter “Device Manage”.
<br>[[File:ks0089 5-1.png|500px|frameless|thumb]]<br>
B. Double click “Other devices”, appearing “USB Serial Port”.
<br>[[File:ks0089 5-2.png|500px|frameless|thumb]]<br>
Then, right click “USB Serial Port”  and select “Update Driver Software” to install driver software.
<br>[[File:ks0089 5-3.png|500px|frameless|thumb]]<br>
After that, select “Browse my computer for driver software” to find the file.
<br>[[File:ks0089 5-4.png|500px|frameless|thumb]]<br>
Browse to search for driver software.
<br>[[File:ks0089 5-5.png|500px|frameless|thumb]]<br>
After your driver software updated, click “Close” to finish.
<br>[[File:ks0089 5-6.png|500px|frameless|thumb]]<br>


'''Code:'''
C. Finally, installation is done, and double click “Ports”in “Device Manager”, you can see “USB Serial Port”.
<br>[[File:ks0089 5-7.png|500px|frameless|thumb]]<br>


<pre>  
===Install development environment software IDE===
#include <grblmain.h>
Double click arduino-1.5.6-r2-windows to start.
void setup(){
Select “I Agree”to accept license agreement.
startGrbl();
<br>[[File:ks0089 5-8.png|500px|frameless|thumb]]<br>
}
Select components to install and click “Next”.
void loop(){}
<br>[[File:ks0089 5-9.png|500px|frameless|thumb]]<br>
</pre>
Click “Browse” and select another folder. Click “Install” to start the installation.
Burn the code above to Nano
<br>[[File:ks0089 5-10.png|500px|frameless|thumb]]<br>
Finally, wait for a few minutes to finish.
<br>[[File:ks0089 5-11.png|500px|frameless|thumb]]<br>


'''2.GrblController361software, G-code and library download:'''
===Install Firmware for Main Board===
A. You must close Arduino IDE firstly, and then place three libraries LiquidCrystal, SPI and U8glib from Marlin_Marlin_v1→ArduinoAddons→Arduino_1.x.x→libraries into Arduino/libraries.
<br>[[File:ks0089 5-12.png|500px|frameless|thumb]]<br>
B. Enter Marlin_Marlin_RAMPS_2004_Ver1 this folder, double click Marlin_Marlin_RAMPS_2004_Ver1.ino this file, finally click “Tools” to set “Board”and “Port”.
<br>[[File:ks0089 5-13.png|500px|frameless|thumb]]<br>
<br>[[File:ks0089 5-14.png|500px|frameless|thumb]]<br>
After verifying, write code.
<br>[[File:ks0089 5-15.png|500px|frameless|thumb]]<br>
Done uploading.
<br>[[File:ks0089 5-16.png|500px|frameless|thumb]]<br>


<br>[[File:964.png|500px|frameless|thumb]]<br>
C. After upload the firmware the LCD will display some parameter as shown below:
<br>[[File:ks0089 5-17.png|500px|frameless|thumb]]<br>


<br>[[File:965.png|500px|frameless|thumb]]<br>
===Install Slicer Software Repetier-Host===
First, run this application <br>[[File:ks0089 5-18.png|500px|frameless|thumb]]<br>
<br>[[File:ks0089 5-19.png|500px|frameless|thumb]]<br>


'''Note'''
Click “Next” to continue.
<br>[[File:ks0089 5-20.png|500px|frameless|thumb]]<br>


After opening the series port, the “Open” button change into “Close/Reset” and get red! 
Check “I accept the agreement”, and click “Next” to continue.
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:  
<br>[[File:ks0089 5-21.png|500px|frameless|thumb]]<br>
Select destination location, and click “Next” to continue.
<br>[[File:ks0089 5-22.png|500px|frameless|thumb]]<br>
Check components that should be installed, and click “Next” to continue.
<br>[[File:ks0089 5-23.png|500px|frameless|thumb]]<br>


<br>[[File:966.png|500px|frameless|thumb]]<br>
Select star menu folder, and click “Next” to continue.
<br>[[File:ks0089 5-24.png|500px|frameless|thumb]]<br>
Click “Next” to continue.
<br>[[File:ks0089 5-25.png|500px|frameless|thumb]]<br>
Click “Install” to install.
<br>[[File:ks0089 5-26.png|500px|frameless|thumb]]<br>
<br>[[File:ks0089 5-27.png|500px|frameless|thumb]]<br>
Click “Finish” to exit Setup.
<br>[[File:ks0089 5-28.png|500px|frameless|thumb]]<br>


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


==Resources ==
==Resources ==

Revision as of 16:39, 27 May 2017

Arduino CNC kit / CNC Shield V4.0 + nano 3.0+3pcs a4988 driver / GRBL compatible


thumb

Introduction

keyestudio CNC Shield V4 Keyestudio CNC shield v4.0 needs to work with Keyestudio nano ch340 . It can be used as driver expansion board for engraving machines. It has in total 3 channel slots for A4988 stepper motor driver modules (not included) for driving 3 channel of stepper motors. Each channel of stepper motor only needs 2 IO ports, which means 6 IO ports is sufficient to manage 3 stepper motors. This shield can make quick work for managing stepper motors in your project.

keyestudio nano ch340 keyestudio nano ch340 controller is a small, complete board based on the ATmega328. It’s a open source Simple I/O platform with 12 Digital I/O Pins (of which 6 provide PWM output), 8 Analog Input Pins, pin 0 (RX) and 1 (TX) used to receive (RX) and transmit (TX) TTL serial data, a Mini-B USB connection, an ICSP header and a reset button.

Specification

1. 3 axis stepper motor driver
2. Compatible with micro-drive laser engraving machine, three-axis CNC engraving machine.
3.2A can be controlled within the two-phase four-wire stepper motor.
4.Released the digital IO interface, easy to connect to other modules, such as ENDSTOP.
5.Released the I2C interface, you can connect to the LCD I2C or other I2C module.
6.power DC5v interface, 7.5-12V voltage input.
7.GRBL compatible
8.worked with arduino nano.

Kit list:

1x CNC Shield V4.0
1x nano board
3x A4988 driver
1x USB cable

Connection Diagram


thumb

5. Install Driver Software and Development Environment Software IDE

Install Diver Software A. Connect the main board with computer, and then right click “Computer” to enter “Device Manage”.
thumb
B. Double click “Other devices”, appearing “USB Serial Port”.
thumb
Then, right click “USB Serial Port” and select “Update Driver Software” to install driver software.
thumb
After that, select “Browse my computer for driver software” to find the file.
thumb
Browse to search for driver software.
thumb
After your driver software updated, click “Close” to finish.
thumb

C. Finally, installation is done, and double click “Ports”in “Device Manager”, you can see “USB Serial Port”.
thumb

Install development environment software IDE

Double click arduino-1.5.6-r2-windows to start. Select “I Agree”to accept license agreement.
thumb
Select components to install and click “Next”.
thumb
Click “Browse” and select another folder. Click “Install” to start the installation.
thumb
Finally, wait for a few minutes to finish.
thumb

Install Firmware for Main Board

A. You must close Arduino IDE firstly, and then place three libraries LiquidCrystal, SPI and U8glib from Marlin_Marlin_v1→ArduinoAddons→Arduino_1.x.x→libraries into Arduino/libraries.
thumb
B. Enter Marlin_Marlin_RAMPS_2004_Ver1 this folder, double click Marlin_Marlin_RAMPS_2004_Ver1.ino this file, finally click “Tools” to set “Board”and “Port”.
thumb

thumb
After verifying, write code.
thumb
Done uploading.
thumb

C. After upload the firmware the LCD will display some parameter as shown below:
thumb

Install Slicer Software Repetier-Host

First, run this application
thumb

thumb

Click “Next” to continue.
thumb

Check “I accept the agreement”, and click “Next” to continue.
thumb
Select destination location, and click “Next” to continue.
thumb
Check components that should be installed, and click “Next” to continue.
thumb

Select star menu folder, and click “Next” to continue.
thumb
Click “Next” to continue.
thumb
Click “Install” to install.
thumb

thumb
Click “Finish” to exit Setup.
thumb


Resources

Datasheet

http://www.keyestudio.com/files/index/download/id/1479276550/

Buy from

http://www.keyestudio.com/arduino-cnc-shield-v4-0-3-axis-stepper-motor-driver-board-grbl-compatible.html