Information
Item weight
Barcode
Created time
Last updated on
Item description

ตัวอย่างการทดลองสั่งงาน stepping motor 4 ตัว 




ตัวอย่าง Stepping motor ที่ใช้งานได้

สเต็ปปิ้งมอเตอร์ Stepping Motor แรงบิด 0.28 N.m - 0.84A (42HB34F08AB)
 
 


รายละเอียดเพิ่มเติมการติดตั้ง ลงโปรแกรม และอุปกรณ์ที่ใช้
https://howtomechatronics.com/tutorials/how-to-setup-grbl-control-cnc-machine-with-arduino/






ตัวอย่าง Code สำหรับใช้งาน CNC Shield V3 สำหรับ Arduino UNO เบื้องต้น

// The following is a simple stepper motor control program,

#define EN 8 // Stepper motor enable terminal, active low

#define X_DIR 5 // X axis stepper motor direction control

#define Y_DIR 6 // y axis stepper motor direction control

#define Z_DIR 7 // z axis stepper motor direction control

#define X_STP 2 // x axis step control

#define Y_STP 3 // y-axis step control

#define Z_STP 4 // z axis step control

/ *

// Function: step function: control the direction and step number of stepper motor.

// Parameters: dir direction control, dirPin corresponds to the DIR pin of the stepper motor, stepperPin corresponds to the step pin of the stepper motor, steps

// No return value

* /

void step (boolean dir, byte dirPin, byte stepperPin, int steps)

{

 digitalWrite (dirPin, dir);

 delay (50);

 for (int i = 0; i < steps; i ++) {

   digitalWrite (stepperPin, HIGH);

   delayMicroseconds (800);

   digitalWrite (stepperPin, LOW);

   delayMicroseconds (800);

 }

}

void setup () {// Set the IO pins used by the stepper motor as output

 pinMode (X_DIR, OUTPUT); pinMode (X_STP, OUTPUT);

 pinMode (Y_DIR, OUTPUT); pinMode (Y_STP, OUTPUT);

 pinMode (Z_DIR, OUTPUT); pinMode (Z_STP, OUTPUT);

 pinMode (EN, OUTPUT);

 digitalWrite (EN, LOW);

}

void loop () {

 step (false, X_DIR, X_STP, 200); // X axis motor reverses 1 turn, 200 steps is one turn

 step (false, Y_DIR, Y_STP, 200); // The y-axis motor reverses 1 turn, 200 steps is one turn

 step (false, Z_DIR, Z_STP, 200); // Z axis motor reverses 1 turn, 200 steps is one turn

 delay (1000);

 step (true, X_DIR, X_STP, 200); // X-axis motor rotates forward one turn, 200 steps is one turn

 step (true, Y_DIR, Y_STP, 200); // y-axis motor rotates forward one revolution, 200 steps is one revolution

 step (true, Z_DIR, Z_STP, 200); // The z-axis motor rotates forward one revolution, 200 steps is one revolution

 delay (1000);

}





CNC Shield V3 for Arduino Uno
 
The Arduino CNC Shield makes it easy to get your CNC projects up and running in a few hours. It uses opensource firmware on Arduino to control 4 stepper motors using 4 A4988 Stepper drivers , with this shield and the Arduino you can build all kinds of robotics or CNC projects including CNC routers,laser cutters and even pick&place machines.
 
Features
GRBL 0.8c compatible. (Open source firmware that runs on an Arduino UNO that turns G-code commands into stepper signalshttps://github.com/grbl/grbl)
4-Axis support (X, Y, Z , A-Can duplicate X,Y,Z or do a full 4th axis with custom firmware using pins D12 and D13)
2 x End stops for each axis (6 in total)
Spindle enable and direction
Coolant enable
Uses removable Pololu A4988 compatible stepper drivers. (A4988, DRV8825 and others)
Jumpers to set the Micro-Stepping for the stepper drivers. (Some drivers like the DRV8825 can do up to 1/32 micro-stepping )
Compact design.
Stepper Motors can be connected with 4 pin molex connectors.
Conditions
Tags

Exchange or return policy



Every item comes with a 30-day warranty. However, there are certain conditions that apply:

  1. The customer should not be responsible for any self-inflicted damage, such as incorrect power connections (for example, supplying 5V instead of the required 3.3V for a sensor).

  2. The product must be in perfect condition, without any breakage or damage caused by electricity (e.g., short circuits leading to electrical fires).

  3. The store does not accept product exchanges due to customer misunderstandings, such as purchasing the wrong size for their project or buying something without eventually using it. Customers can inquire about the product details and ensure compatibility before making a purchase by contacting us through our Line account @modulemore during business hours. Please note that there may be delays in response between 12:00 PM and 2:00 PM.

Return Policy: To initiate a product return, customers must provide the original receipt or a copy for quick verification. Returns can be sent to our store address by following these guidelines:

  1. Provide a detailed description of the damaged item(s).
  2. Mention any tests or experiments conducted by the customer.

Please note that the store reserves the right to make the final decision regarding product replacement or refund.

English

Categories

TRACK & TRACE

*Enter your order ID or email used in placing an order

OVERVIEW

Pageviews2,072,402 view(s)
Visitors1,333,128 time(s)
Last updatedSep 6, 2025

JOIN US

ร้านModuleMore
ร้านModuleMore
/www.modulemore.com/en
Join as a Member
600
Become a member of this store to receive special offers and promotions
Choose your language
Language
Currency
Change
Modify language
My orders
This seller's information
ร้านModuleMore
ModuleMore
Arduino compatible board, Iot, ESP32, ESP8266, Nodemcu, Raspberry pi, micro:bit and etc.
Mobile number : 0831710868
E-mail : paheyisoicus@gmail.com
Send message to seller
About this seller
Recently viewed items
Favourite this seller
Join as a Member
Share this page
Share this page

TOP Back to top
Contact me