SKU:RB-01C049 A4988步進電機驅動板
來自ALSROBOT WiKi
目錄 |
產(chǎn)品概述
2013年哈爾濱奧松機器人科技有限公司正式成為美國第一大機器人零件巨頭公司Pololu中國區(qū)域總代理。此款產(chǎn)品為Allegros公司出品的A4988雙路微步進電機驅動板。該驅動板具有可調(diào)節(jié)限制電流,提供過流和過熱保護以及五種不同的細分(最低為1/16細分)。此款步進電機驅動板工作電壓為8-35V,在沒有散熱片或是空氣流動的時侯,每相最高可提供約1A的電流(在有足夠的冷卻的情況下,每相可最高提供約2A的電流)。
規(guī)格參數(shù)
1.產(chǎn)品名稱:A4988步進電機驅動板
2.產(chǎn)品貨號:RB-01C049
3.工作電壓:8V-35V
4.每相連續(xù)電流:1A(沒有散熱片或空氣流動)
每相最大電流:2A(有足夠的額外的冷卻)
5.邏輯電壓:3V-5.5V
6.細分等級:整步、1/2細分,1/4細分,1/8細分和1/16細分
使用方法
電路原理圖
硬件連接
驅動板需要3 - 5.5 V的邏輯供電電壓,邏輯電源需要連接在VDD和GND引腳,可以直接從Arduino控制板進行取電,同時需要注意電機供電電壓范圍為8 - 35 V連接VMOT和GND引腳。如圖所示連接為整步的鏈接方式
示例程序
/* Simple Stepper Motor Control Exaple Code * * by Dejan Nedelkovski, www.HowToMechatronics.com * */ // defines pins numbers const int stepPin = 3; const int dirPin = 4; void setup() { // Sets the two pins as Outputs pinMode(stepPin,OUTPUT); pinMode(dirPin,OUTPUT); } void loop() { digitalWrite(dirPin,HIGH); // Enables the motor to move in a particular direction // Makes 200 pulses for making one full cycle rotation for(int x = 0; x < 200; x++) { digitalWrite(stepPin,HIGH); delayMicroseconds(500); digitalWrite(stepPin,LOW); delayMicroseconds(500); } delay(1000); // One second delay digitalWrite(dirPin,LOW); //Changes the rotations direction // Makes 400 pulses for making two full cycle rotation for(int x = 0; x < 400; x++) { digitalWrite(stepPin,HIGH); delayMicroseconds(500); digitalWrite(stepPin,LOW); delayMicroseconds(500); } delay(1000); }
程序效果
將程序下載到Arduino控制器中,然后進行步進電機及邏輯部分的供電,供電后可以發(fā)現(xiàn)步進電機先順時針旋轉再逆時針旋轉。
產(chǎn)品相關推薦
產(chǎn)品資料
下載鏈接:https://pan.baidu.com/s/1UUVp5vznsXkzZwR8krQKgQ 提取碼:205r
產(chǎn)品購買地址
Arduino兼容 A4988微步電機驅動器 雙路驅動板 POLOLU原裝進口