27220 Parallax Inc, 27220 Datasheet - Page 163

BOOK STAMPWORKS

27220

Manufacturer Part Number
27220
Description
BOOK STAMPWORKS
Manufacturer
Parallax Inc
Datasheet

Specifications of 27220

Accessory Type
Booklet
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
StampWorks
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Not applicable / Not applicable
' -----[ Subroutines ]-----------------------------------------------------
' Turn stepper clockwise one full step
Step_Fwd:
' Turn stepper counter-clockwise one full step
Step_Rev:
' Read new step data and output to pins
Do_Step:
Behind the Scenes
Stepper motors differ from standard DC motors in that they do not spin freely when
power is applied.
continuously pulsed in specific patterns. The step sequence (pattern) determines the
direction of the stepper’s rotation. The time between sequence steps determines the
rotational speed. Each step causes the stepper motor to rotate a fixed angular
increment. The stepper motor supplied with the current StampWorks kit rotates 7.5
degrees per step. This means that one full rotation (360 degrees) of the stepper
requires 48 steps. Use the table below as a guide to the motor connections.
stpIdx = stpIdx + 1 // NumSteps
GOTO Do_Step
stpIdx = stpIdx + LastStep // NumSteps
GOTO Do_Step
READ (Step1 + stpIdx), Coils
PAUSE stpDelay
RETURN
Manufacturer
Degrees per Step
Steps per Revolution
Phase 1
Phase 2
Phase 3
Phase 4
Common
For a stepper motor to rotate, the power source must be
Mitsumi
7.5
48
Brown
Orange
Black
Yellow
Red
' point to next step
' point to previous step
' output new coil data
' pause between steps
Howard Industries
3.6
100
White
Red
Green
Brown
Black

Related parts for 27220