Lesson 39--Microduino Stepper Motor Control steps

来自Microduino Wikipedia
Jasonsheng讨论 | 贡献2014年3月28日 (五) 07:31的版本 (Created page with "{{Language|第三十九课--Microduino 步进电机控制步数}} {| style="width: 800px;" |- | ==Objective== This lesson will use potentiometer or serial port to control step...")
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航搜索
Language English

Objective

This lesson will use potentiometer or serial port to control stepper moter's step, that is angle.

Equipment

Schematic

Stepper motor pot.jpg

Debug

  • Set up circuit, as follows:
ok

Experiment one

  • Step 1:Open the test program;
  • Step 2:Compile it and select the board to downlaod
  • Step 3:Test
    • Connect the power (6-25V);
    • Rotate the potentiometer, stepper motor will rotate as the same angle.

Experiment two

  • Step 1:Open the test program;
  • Step 2:Compile it and select the board to downlaod
  • Step 3:Test
    • Connect the power (6-25V);
    • Open the serial monitor;
    • Input a angle value, then the stepper motor will rotate as input angle value.

Result

Based on Microduino A4982, we can use the potentiometer or serial port to control stepper motor successfully.

Video

http://v.youku.com/v_show/id_XNjg5MTcxODg0.html