รหัสสินค้า | MO0020 |
หมวดหมู่ | Stepper Motor มือ 1 |
ราคา | 70.00 บาท |
น้ำหนัก | 30 กรัม |
สถานะสินค้า | พร้อมส่ง |
ลงสินค้า | 28 ส.ค. 2560 |
อัพเดทล่าสุด | 25 พ.ค. 2568 |
คงเหลือ | 13 ชิ้น |
จำนวน | ชิ้น |
Specification of ULN2003 Motor Driver Board :
• ไฟเลี้ยงบอร์ดไดร์ฟมอเตอร์ VCC = 5-12VDC.
• ULN2003 Darlington using high-power stepper motor driver chip.
• มี LED แสดงสถานะการทำงาน A, B, C, D four-phase LED indicates the status of the stepper motor work.
• Stepper motor with a standard interface, when used directly pluggable.
• ไดร์ฟสเต็ปมอเตอร์ 5-12 VDC ได้ 1 Channel
• สั่งงานด้วยระดับแรงดัน TTL
• รองรับมอเตอร์ 5-12 VDC
• บอร์ดขนาด 3.2cm.(กว้าง) x 3.5cm.(ยาว) x 1.0cm.(สูง)
สินค้าประกอบด้วย:
• Step Motor 5VDC x 1 pcs.
• ULN2003 Motor Driver Board x 1 pcs.
ต้องโหลดไลบรารี่จากที่นี่
ตัวอย่างโค้ดสำหรับหมุนสเต็ปมอเตอร์
/**********************************************************/
// ULN2003 Motor Driver
//
// A simple implimetation that allows the number of steps
// the speed and the direction of rotation to be set
//
//
/**********************************************************/
#include <StepperMotor.h>
// motor driver connections
// IN1, IN2, IN3, IN4
StepperMotor motor(8,9,10,11);
int motorSpeed = 1; // motor gets slower as this number increases
int motorSteps = 4076; // 4076 is approx 360 degrees
// maximum speed about 15RPM at 5 volts with an Arduino
int motorDelay = 1000; // delay in ms before motor reverses
#define led 13 // onboard led
/**********************************************************/
void setup(){
Serial.begin(9600);
pinMode(led, OUTPUT);
digitalWrite(led, LOW); // turn off LED
motor.setStepDuration(motorSpeed);
}
/**********************************************************/
void loop(){
// approx 4076 steps for a full rotation
// gear ratio is 63.68395:1
// internal motor has 64 steps per revolution
//
// motor forwards
digitalWrite(led, HIGH); // shows forward rotation
motor.step(motorSteps);
delay(motorDelay);
// reverse motor
digitalWrite(led, LOW); // shows reverse rotation
motor.step(-motorSteps);
delay(motorDelay);
}
/**********************************************************/
หน้าที่เข้าชม | 419,689 ครั้ง |
ผู้ชมทั้งหมด | 257,597 ครั้ง |
เปิดร้าน | 5 มิ.ย. 2560 |
ร้านค้าอัพเดท | 4 ก.ย. 2568 |