• Document: keyestudio keyestudio CNC Shield v4.0 3-axis Stepper Motor Driver Board GRBL Compatible 1. Introduction
  • Size: 1.57 MB
  • Uploaded: 2019-01-12 14:04:04
  • Status: Successfully converted


Some snippets from your converted document:

keyestudio keyestudio CNC Shield v4.0 3-axis Stepper Motor Driver Board GRBL Compatible 1. 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. www.keyestudio.com 1 keyestudio 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. 2. 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. Working with arduino nano. 3. Kit List 1x keyestudio CNC Shield v4.0 1x keyestudio nano ch340 3x A4988 Driver 1x USB Cable 4. Connection Diagram www.keyestudio.com 2 keyestudio 5. Install Driver Software and Development Environment Software IDE (1)Install Diver Software A. Connect the main board with computer, and then right click “Computer” to enter “Device Manage”. B. Double click “Other devices”, appearing “USB2.0-Serial”. www.keyestudio.com 3 keyestudio Then, right click “USB2.0-Serial” and select “Update Driver Software” to install driver software. www.keyestudio.com 4 keyestudio After that, select “Browse my computer for driver software” to find the file. Browse to search for driver software. After your driver software updated, click “Close” to finish. www.keyestudio.com 5 keyestudio C. Finally, installation is done, and double click “Ports”in “Device Manager”, you can see “USB Serial Port(COM3)”. (2) Install development environment software IDE Double click arduino-1.5.6-r2-windows to start. Select “I Agree”to accept license agreement. www.keyestudio.com 6 keyestudio Select components to install and click “Next”. Click “Browse” and select another folder. Click “Install” to start the installation. www.keyestudio.com 7 keyestudio Finally, wait for a few minutes to finish. 6. Using Method (1)Test Main Board First, write below code in IDE to test whether main board, shield and three motors work normally. Explanation 1. If you properly reduce the value 800 in delayMicroseconds(800) to increase the frequency of input PWM signal, you can increase the rotation speed of stepper motor. The change of value cannot be too much or the motor will stop moving. www.keyestudio.com 8 keyestudio 2. Rotate the knob on A4988, you can adjust the output current of the motors to change the torque. Code: #define EN 8 // stepper motor enable, low level effective #define X_DIR 5 //X axis, stepper motor direction control #define Y_DIR 6 //y axis, stepper motor direction control #define Z_DIR 7 //zaxis, stepper motor direction control #define X_STP 2 //x axis, stepper motor control #define Y_STP 3 //y axis, stepper motor control #define Z_STP

Recently converted files (publicly available):