数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

DFR0508 数据表(PDF) 11 Page - DFROBOT

部件名 DFR0508
功能描述  FireBeetle Covers DC Motor & Stepper Driver SKU:DFR0508
PDF  18 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  DFROBOT [DFROBOT]
网页  https://www.dfrobot.com/
标志 DFROBOT - DFROBOT

DFR0508 数据表(HTML) 11 Page - DFROBOT

Back Button DFR0508 Datasheet HTML 7Page - DFROBOT DFR0508 Datasheet HTML 8Page - DFROBOT DFR0508 Datasheet HTML 9Page - DFROBOT DFR0508 Datasheet HTML 10Page - DFROBOT DFR0508 Datasheet HTML 11Page - DFROBOT DFR0508 Datasheet HTML 12Page - DFROBOT DFR0508 Datasheet HTML 13Page - DFROBOT DFR0508 Datasheet HTML 14Page - DFROBOT DFR0508 Datasheet HTML 15Page - DFROBOT Next Button
Zoom Inzoom in Zoom Outzoom out
 11 / 18 page
background image
void setup() {
//initialize serial communication at 9600 bits per second:
Serial.begin(115200);
//join i2c bus (address optional for master)
Wire.begin();
//Initialize drive chips of stepping motors (Group A and Group B)
stepperA.init();
//Setting stepping motor Group A rotate in positive direction
stepperA.start(0, 20, CW);
}
void loop()
{
//Stepping motor (Group A) rotate in reverse in every 2 seconds
reverse_SA();
delay(2000);
}
Program Function: group A stepper motor (M1A(A+), M1B(A-), M2A(B+), M2B(B-)) reverse the
rotation direction in every 2s.
Functions:
1. Create a stepper motor object.
2. DFRobot_Stepper stepperA(SA) SA represents group A stepper motors (M1A(A+), M
1B(A-), M2A(B+), M2B(B-))
3. Initiate the motor drive, read Product ID and Version ID, and print to the serial port.
4. init()
5. Set angle, speed, direction of the stepper motor rotation and start to rotate.
6. start(angle, speed, dir)
7. angle: set the rotation resolution.
8. The maximum resolution is
0.9°, which means the minimum rotate angle is 0.9°
.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com