รู้จักสินค้านี้
3D Printer 42 Stepper Motor Driver Expansion Board 8825/A4988 บอร์ดขยายขา บอร์ดขับมอเตอร์ สเตปมอเตอร์
3D Printer 42 Stepper Motor Driver Expansion Board 8825/A4988 Description
- Size: 42*42*15mm
- Fixed: 3mm
- Hole distance: 1400*1400mil (35.56*35.56mm)
- Logic voltage: 5V
- Input voltage: 12-30V
- Port: Number
- Interface: direction, enable, speed
- Applicable modules: A4988, DRV8825
Note: Please pay attention to the direction when installing the driver module, otherwise it will burn the module
Stepper Motor Driver Shield Expansion Board DRV8825/A4988
Arduino sketch found at; github.com and Youtube video.
Arduino Sketch For DRV8825/A4988 Expansion Board
int Index;
void setup()
{
pinMode(6, OUTPUT); //Enable
pinMode(5, OUTPUT); //Step
pinMode(4, OUTPUT); //Direction
digitalWrite(6,LOW);
}
void loop()
{
digitalWrite(4,HIGH);
for(Index = 0; Index 2000; Index++)
{
digitalWrite(5,HIGH);
delayMicroseconds(500);
digitalWrite(5,LOW);
delayMicroseconds(500);
}
delay(1000);
digitalWrite(4,LOW);
for(Index = 0; Index 2000; Index++)
{
digitalWrite(5,HIGH);
delayMicroseconds(500);
digitalWrite(5,LOW);
delayMicroseconds(500);
}
delay(1000);
}