| Motor de Búsqueda de Datasheet de Componentes Electrónicos |
|
DFR0508 Datasheet(PDF) 11 Page - DFROBOT |
|
|
|||||||||||||||||||||||||||||
DFR0508 Datasheet(HTML) 11 Page - DFROBOT |
|
11 / 18 page ![]() 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° . |
|
|
Enlace URL |
| ¿ALLDATASHEET es útil para Ud.? [ DONATE ] |
Todo acerca de Alldatasheet | Publicidad | Contáctenos | Política de Privacidad | Enlace a la hoja de datos | Intercambio de Enlaces | Lista de Fabricantes All Rights Reserved©Alldatasheet.com |
| 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 |