步進馬達的一點小問題 - 3D列印
By Joe
at 2015-03-29T21:18
at 2015-03-29T21:18
Table of Contents
步進馬達都是雙向?
還是有分單向?
最近在測試步進馬達驅動晶片 ULN 2003 ,
下面是測試的程式~
但是應該正向轉後再反向轉回原位,
結果卻是不斷正向轉個不停?
#include <Stepper.h>
#define STEPS 200
Stepper stepper(STEPS, 11, 10, 9, 8);
void setup()
{
stepper.setSpeed(140);
}
void loop()
{
stepper.step(100);//正半圈
delay(1000);
stepper.step(-100);//反半圈
delay(1000);
}
--
還是有分單向?
最近在測試步進馬達驅動晶片 ULN 2003 ,
下面是測試的程式~
但是應該正向轉後再反向轉回原位,
結果卻是不斷正向轉個不停?
#include <Stepper.h>
#define STEPS 200
Stepper stepper(STEPS, 11, 10, 9, 8);
void setup()
{
stepper.setSpeed(140);
}
void loop()
{
stepper.step(100);//正半圈
delay(1000);
stepper.step(-100);//反半圈
delay(1000);
}
--
Tags:
3D列印
All Comments
By Jacob
at 2015-04-01T19:40
at 2015-04-01T19:40
By Hedy
at 2015-04-03T19:12
at 2015-04-03T19:12
By Ophelia
at 2015-04-06T17:52
at 2015-04-06T17:52
By Christine
at 2015-04-11T11:31
at 2015-04-11T11:31
By Liam
at 2015-04-15T23:24
at 2015-04-15T23:24
By Isabella
at 2015-04-17T21:05
at 2015-04-17T21:05
Related Posts
噴頭尺寸
By Oliver
at 2015-03-10T20:58
at 2015-03-10T20:58
有關這個情況是傳說中的"失步"嗎??
By Belly
at 2015-03-08T20:41
at 2015-03-08T20:41
新手想組裝問各位老賢嘎
By Eden
at 2015-03-08T12:10
at 2015-03-08T12:10
3DQ列印問題
By Candice
at 2015-03-07T11:59
at 2015-03-07T11:59
列印時會變空心
By Charlotte
at 2015-03-06T10:53
at 2015-03-06T10:53