mille-feuilleAutomatic Schematic Creation Tool

* Unipolar Stepper motor driver *

step

Features

step

対応プラットフォーム
o ATMEGA328P
o Raspberry Pi


ユニポーラのステッピングモーターを動かす事ができます。ステッピングモーター用に外部電源入力が必要です。
Download datasheet
Main component : ULN2803A - Darlington Transistor Arrays
• 500-mA-Rated Collector Current(Single Output)
• High-Voltage Outputs: 50 V
• Output Clamp Diodes
• Inputs Compatible With Various Types of Logic
• Relay-Driver Applications

step

Programming

Sample program for Arduino IDE
Stepping motor Library

Sample program
StepUniTest.py

* functions *
import StepUni

def getInfo(Number) : Getting hardware information of device board
Number : connector number of baseboard

def movOneStep(milModClass, pinHighLow) : Moving single stepper motors
milModClass : module instance
pinHighLow : Signal pattern like [1,1,0,0]

def movTwinOneStep(milModClass1, pinHighLow1, milModClass2, pinHighLow2) : Moving twin stepper motors
milModClass1 : module instance
pinHighLow1 : Signal pattern
milModClass2 : module instance
pinHighLow2 : Signal pattern

example:
mod0.connect()
mod1.secondConnect()
StepUni.movTwinOneStep(mod0, [1,0,0,0], mod1, [1,0,0,0])
time.sleep(0.004)
StepUni.movTwinOneStep(mod0, [1,1,0,0], mod1, [1,1,0,0])
time.sleep(0.002)
StepUni.movTwinOneStep(mod0, [0,1,0,0], mod1, [0,1,0,0])
time.sleep(0.004)
StepUni.movTwinOneStep(mod0, [0,1,1,0], mod1, [0,1,1,0])
time.sleep(0.002)
mod0.disconnect()
mod1.disconnect()

def moveStep(milModClass, Direction, StepNum, DELAY1) : moving one signal cycle
milModClass : module instance
Direction : Direction of turning
StepNum : Step cycle number
DELAY1 : Delay sec for step signalr

def stopStep(milModClass) : Stop signal output
milModClass : module instance