データシートサーチシステム
  Japanese  ▼
ALLDATASHEET.JP

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/
Logo 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


リンク URL



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