Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

DFR0508 Datasheet(PDF) 15 Page - DFROBOT

Part # DFR0508
Description  FireBeetle Covers DC Motor & Stepper Driver SKU:DFR0508
PDF  18 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  DFROBOT [DFROBOT]
Direct Link  https://www.dfrobot.com/
Logo DFROBOT - DFROBOT

DFR0508 Datasheet(HTML) 15 Page - DFROBOT

Back Button 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 DFR0508 Datasheet HTML 16Page - DFROBOT DFR0508 Datasheet HTML 17Page - DFROBOT DFR0508 Datasheet HTML 18Page - DFROBOT  
Zoom Inzoom in Zoom Outzoom out
 15 / 18 page
background image
void loop()
{
static int i=0;
//motor4 reverse in every 1.5 seconds
reverse_4();
//Stepping motor (Group A) reverse in every 3 seconds
if((++i%2) == 0) {
reverse_SA();
i=0;
}
delay(1500);
}
Program Function: group A stepper motors (M1A(A+), M1B(A-), M2A(B+), M2B(B-)) reverse in every
3s and group 4 DC motor (M4A(+), M4B(-))reverse in every 1.5s.
Functions:
1. Create a stepper motor object.
2. DFRobot_Stepper stepperA(SA): SA represents group A stepper motors (M1A (A+),
M1B (A-), M2A (B+), M2B(B-))
3. Create a DC motor object.
4. DFRobot_Motor (M4): M4 represents group 4 DC motors (M4A (+), M4B (-))
5. Initiate the motor drive, read Product ID and Version ID, and print to the serial port.
6. init()
7. Set the rotation direction of the DC motor and start to rotate.
8. start(dir)
dir=CW: rotate in C.W.(Clockwise) dir=CCW: rotate in anti-clockwi
se
9. Set angle, speed, direction of the stepper motor rotation and start to rotate.
10.
angle: set the rotation resolution. The maximum resolution is
0.9°, w
hich means the minimum rotate angle is 0.9°.
11.
So that the motor won’t rotate if the resolution set to be 0.1° and on
ly rotate to 0.9° if the resolution set to be 1°.



Html Pages

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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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