ข้อมูล
น้ำหนัก
บาร์โค้ด
ลงสินค้า
อัพเดทล่าสุด
รายละเอียดสินค้า

ตัวอย่างการทดลองสั่งงาน 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.
เงื่อนไขอื่นๆ
Tags

นโยบายการเปลี่ยนหรือคืนสินค้า


สินค้าทุกชิ้นมีการรับประกัน 30 วันครับ

โดยมีเงื่อนไขต่างๆดังนี้

1. ลูกค้าไม่ได้เป็นผู้ทำเสียหายเอง อาธิเช่น การต่อไฟเลี้ยงไม่ถูกต้อง (เซนเซอร์รับ 3.3v เราใส่ 5v อันนี้ไม่ได้เนอะ)
2. สินค้าต้องอยู่ในสภาพสมบูรณ์ ไม่แตกหักหรือเสียหายจากไฟ (เช่นไฟฟ้าลัดวงจรจนไฟไหม้)
3. ทางร้านไม่รับเปลี่ยนสินค้าจากความเข้าใจผิดของลูกค้าเอง เช่น ขนาดไม่ตรงกับงานที่ใช้, หรือซื้อไว้แต่ไม่ได้ใช้งาน เป็นต้น ลูกค้าสามารถสอบถามข้อมูลสินค้าหากมีความคลุมเครือก่อนสั่งซื้อได้ในไลน์ร้าน @modulemore ตลอดวันทำการ ยกเว้นเวลา 12.00-14.00 ที่อาจมีการตอบช้าในช่วงนี้ 

การส่งคืนสินค้า
การส่งคืนสินค้าจำเป็น ต้องมีใบเสร็จหรือสำเนา เพื่อความรวดเร็วในการตรวจสอบครับ
สามารถส่งคืนได้ผ่านที่อยู่ของร้าน คลิ๊ก โดยเขียนเป็นลายลักษณ์อักษรกำกับดังนี้
1. รายละเอียดรายการเสียหาย
2. ลูกค้าได้ทดสอบอะไรไปบ้าง

ทางร้านขอสงวนสิทธิ์ในการตัดสินใจเปลี่ยนสินค้าหรือคืนเงินครับ

 
ไทย

สินค้าของเรา

เซนเซอร์/ โมดูล [323]

MEMBER ZONE

TRACK & TRACE

*ใส่ เบอร์มือถือ หรือ email ที่ใช้ในการสั่งซื้อ

OVERVIEW

หน้าที่เข้าชม2,072,435 ครั้ง
ผู้ชมทั้งหมด1,333,161 ครั้ง
ร้านค้าอัพเดท6 ก.ย. 2568

JOIN US

ร้านโมดูลมอร์
ร้านโมดูลมอร์
/www.modulemore.com/
Join เป็นสมาชิกร้าน
600
สมัครสมาชิกร้านนี้ เพื่อรับสิทธิพิเศษ
Choose your language
Language
Currency
Change
เปลี่ยนภาษา
รายการสั่งซื้อของฉัน
รายการสั่งซื้อของฉัน
ข้อมูลร้านค้านี้
ร้านโมดูลมอร์
โมดูลมอร์
ขาย arduino, diy, เรียน arduino, ทำหุ่นยนต์, ฝึกเขียนโปรแกรม, ตั้งแต่ระดับเริ่มต้นจนชำนาญ
เบอร์โทร : 0831710868
อีเมล : modulemore@gmail.com
ส่งข้อความติดต่อร้าน
เกี่ยวกับร้านค้านี้
สินค้าที่ดูล่าสุด
ดูสินค้าทั้งหมดในร้าน
สินค้าที่ดูล่าสุด
บันทึกเป็นร้านโปรด
Join เป็นสมาชิกร้าน
แชร์หน้านี้
แชร์หน้านี้

TOP เลื่อนขึ้นบนสุด
พูดคุย-สอบถาม