Documentation sections
Stepper Motor Calculator
POSThttps://rftools.io/ api/ py/ v1/ calculate
Slug stepper-motor. Calculate stepper motor speed, step frequency, and travel per revolution
Inputs
Send every one of these in inputs, in the units shown. Most are required: a call without one is refused (400) and costs nothing; one the calculator can do without takes the default shown. An input outside its range is still computed and flagged in the provenance.
| Name | Unit | Range | Default | Description |
|---|---|---|---|---|
| stepsPerRevnumber | steps | at least 4 | 200 | Steps per Revolution |
| microsteppingnumber | none | at least 1 | 16 | Microstepping Divisor |
| targetRPMnumber | RPM | at least 0.1 | 60 | Target Speed |
| leadScrewPitchnumber | mm/rev | at least 0 | 2 | Lead screw pitch — set to 0 for rotation only |
Outputs
Returned in values, by key. A value that is unbounded or undefined is null.
| Field | Unit | Description |
|---|---|---|
| stepFrequencyheadline | Hz | Step Frequency |
| effectiveSteps | steps | Effective Steps/Rev |
| linearSpeed | mm/s | Linear Speed |
| stepAngle | ° | Step Angle |
Calling it
- Calculate: one call, the request and response in full, and its errors.
- Batch: this calculator with others, or a sweep, in one request.
- Solve for a target: the value of one input that brings an output to a target.