“(SKU:RB-01C047)Easy Driver Stepper Motor Driver”的版本間的差異
來自ALSROBOT WiKi
(以“右 ==產品概述== 2013年哈爾濱奧松機器人科技有限公司正式成為美國第一大電子開源硬件巨頭公...”為內容創(chuàng)建頁面) |
(→?產品相關推薦) |
||
第55行: | 第55行: | ||
==產品相關推薦== | ==產品相關推薦== | ||
購買地址:[http://gharee.com/goods-419.html Easy Driver Stepper Motor Driver]<br /> | 購買地址:[http://gharee.com/goods-419.html Easy Driver Stepper Motor Driver]<br /> | ||
+ | 論壇地址:[http://www.makerspace.cn/portal.php 奧松機器人技術論壇]<br/> | ||
相關資料1:[http://dlnmh9ip6v2uc.cloudfront.net/datasheets/Robotics/EasyDriver_v44.pdf 示意圖]<br /> | 相關資料1:[http://dlnmh9ip6v2uc.cloudfront.net/datasheets/Robotics/EasyDriver_v44.pdf 示意圖]<br /> | ||
? | |||
相關資料2:[http://www.sparkfun.com/datasheets/Robotics/A3967.pdf 步進電動機的數據表]<br /> | 相關資料2:[http://www.sparkfun.com/datasheets/Robotics/A3967.pdf 步進電動機的數據表]<br /> | ||
? | |||
相關資料3:[http://schmalzhaus.com/EasyDriver/ easydriver網站]<br /> | 相關資料3:[http://schmalzhaus.com/EasyDriver/ easydriver網站]<br /> | ||
? | |||
相關資料4:[http://lusorobotica.com/index.php/topic,106.0.html Arduino教程葡萄牙語]<br /> | 相關資料4:[http://lusorobotica.com/index.php/topic,106.0.html Arduino教程葡萄牙語]<br /> | ||
? | |||
相關資料5:[http://bildr.org/2011/06/easydriver/ bildr教程]<br /> | 相關資料5:[http://bildr.org/2011/06/easydriver/ bildr教程]<br /> | ||
? | |||
相關資料6:[https://www.sparkfun.com/tutorials/400 快速入門指南] | 相關資料6:[https://www.sparkfun.com/tutorials/400 快速入門指南] |
2015年7月1日 (三) 22:15的版本
目錄 |
產品概述
2013年哈爾濱奧松機器人科技有限公司正式成為美國第一大電子開源硬件巨頭公司Sparkfun中國區(qū)域代理商。此款EasyDriver Stepper Motor Driver為全新Sparkfun原裝進口步進電機驅動器,其易于使用,能夠與任何可以輸出0-5V(3V 請短路SJ2 )脈沖信號的設備配合使用。EasyDriver通過接入7-30V電壓來給電機供電,并且可以驅動幾乎任何一款步進電機。EasyDriver的板載穩(wěn)壓芯片可以設置為3.3V或者5V,可以直接接入4線步進電機,通過微控制器精確的控制步進電機的動作。注意:驅動器通電時,請勿連接或斷開電機。這將導致永久性損壞A3967芯片。
規(guī)格參數
- 驅動芯片:A3967
- MS1 and MS2 腳用于控制電機的細分(2、4、8),默認為8細分
- 兼容任何電壓的4、6、8線步進電機
- 可調電流控制
- 電源輸入范圍7-30V,電壓越高,高速時扭矩越高
使用方法
應用例程
控制步進電機
連接示意圖
示例代碼
int dirpin = 2; int steppin = 3; void setup() { pinMode(dirpin, OUTPUT); pinMode(steppin, OUTPUT); } void loop() { int i; digitalWrite(dirpin, LOW); // Set the direction. delay(100); for (i = 0; i<4000; i++) // Iterate for 4000 microsteps. { digitalWrite(steppin, LOW); // This LOW to HIGH change is what creates the digitalWrite(steppin, HIGH); // "Rising Edge" so the easydriver knows to when to step. delayMicroseconds(500); // This delay time is close to top speed for this } // particular motor. Any faster the motor stalls. digitalWrite(dirpin, HIGH); // Change direction. delay(100); for (i = 0; i<4000; i++) // Iterate for 4000 microsteps { digitalWrite(steppin, LOW); // This LOW to HIGH change is what creates the digitalWrite(steppin, HIGH); // "Rising Edge" so the easydriver knows to when to step. delayMicroseconds(500); // This delay time is close to top speed for this } // particular motor. Any faster the motor stalls. }
程序效果
此代碼控制的步進電機easydriver板,使它向前和向后旋轉。
產品相關推薦
購買地址:Easy Driver Stepper Motor Driver
論壇地址:奧松機器人技術論壇
相關資料1:示意圖
相關資料2:步進電動機的數據表
相關資料3:easydriver網站
相關資料4:Arduino教程葡萄牙語
相關資料5:bildr教程
相關資料6:快速入門指南