トップ 差分 一覧 ソース 検索 ヘルプ RSS ログイン

tips-StepMotor

ステッピングモーター(パルスモータ)

ユニポーラ ステッピングモーター

https://amzn.to/3arfMx4

https://amzn.to/2xpD5su

https://amzn.to/2Voa3mM

GIT

https://github.com/arduino-libraries/Stepper

https://github.com/arduino-libraries/Stepper/blob/master/src/Stepper.cpp

マイクロスッテプ

http://hello.world.coocan.jp/ARDUINO5/arduino5_7.html

動作 (今回は4線式か2線式)

 *
 * The sequence of control signals for 5 phase, 5 control wires is as follows:
 *
 * Step C0 C1 C2 C3 C4
 *    1  0  1  1  0  1
 *    2  0  1  0  0  1
 *    3  0  1  0  1  1
 *    4  0  1  0  1  0
 *    5  1  1  0  1  0
 *    6  1  0  0  1  0
 *    7  1  0  1  1  0
 *    8  1  0  1  0  0
 *    9  1  0  1  0  1
 *   10  0  0  1  0  1
 *
 * The sequence of control signals for 4 control wires is as follows:
 *
 * Step C0 C1 C2 C3
 *    1  1  0  1  0
 *    2  0  1  1  0
 *    3  0  1  0  1
 *    4  1  0  0  1
 *
 * The sequence of controls signals for 2 control wires is as follows
 * (columns C1 and C2 from above):
 *
 * Step C0 C1
 *    1  0  1
 *    2  1  1
 *    3  1  0
 *    4  0  0
 *

参考

https://stupiddog.jp/note/archives/1235