Difference between revisions of "Lesson 39--Microduino Stepper Motor Control steps"
From Microduino Wiki
(Created page with "{{Language|第三十九课--Microduino 步进电机控制步数}} {| style="width: 800px;" |- | ==Objective== This lesson will use potentiometer or serial port to control step...") |
|||
(One intermediate revision by one other user not shown) | |||
Line 4: | Line 4: | ||
| | | | ||
==Objective== | ==Objective== | ||
− | This lesson will use potentiometer or serial port to control stepper | + | This lesson will use potentiometer or serial port to control stepper motor's step, that is angle. |
==Equipment== | ==Equipment== | ||
*'''[[Microduino-Core]]''' | *'''[[Microduino-Core]]''' | ||
Line 24: | Line 24: | ||
==Experiment one== | ==Experiment one== | ||
− | *Step | + | *Step 1: Open the test program; |
− | *Step | + | *Step 2: Compile it and select the board to download |
− | *Step | + | *Step 3: Test |
− | **Connect the power (6-25V) | + | **Connect the power (6-25V); |
**Rotate the potentiometer, stepper motor will rotate as the same angle. | **Rotate the potentiometer, stepper motor will rotate as the same angle. | ||
==Experiment two== | ==Experiment two== | ||
− | *Step | + | *Step 1: Open the test program; |
− | *Step | + | *Step 2: Compile it and select the board to download |
− | *Step | + | *Step 3: Test |
− | **Connect the power (6-25V) | + | **Connect the power (6-25V); |
**Open the serial monitor; | **Open the serial monitor; | ||
**Input a angle value, then the stepper motor will rotate as input angle value. | **Input a angle value, then the stepper motor will rotate as input angle value. | ||
Line 39: | Line 39: | ||
Based on Microduino A4982, we can use the potentiometer or serial port to control stepper motor successfully. | Based on Microduino A4982, we can use the potentiometer or serial port to control stepper motor successfully. | ||
==Video== | ==Video== | ||
− | + | ||
|} | |} |
Latest revision as of 08:54, 12 September 2016
Language: | English • 中文 |
---|
ContentsObjectiveThis lesson will use potentiometer or serial port to control stepper motor's step, that is angle. Equipment
SchematicDebug
Experiment one
Experiment two
ResultBased on Microduino A4982, we can use the potentiometer or serial port to control stepper motor successfully. Video |