• Stars
    star
    271
  • Rank 151,125 (Top 3 %)
  • Language
    C++
  • License
    MIT License
  • Created over 7 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Fast Stepper Motor Library for Teensy boards

PlatformIO Registry arduino-library-badge

TeensyStep Fast Stepper Library for PJRC Teensy boards

Please note: This is version 2 of the library. This version has a new user interface. The version 1 is still available in the branch Version-1.

Detailed Documentation can be found here https://luni64.github.io/TeensyStep/

Purpose of the Library

TeensyStep is an efficient Arduino library compatible with Teensy 3.0, 3.1, 3.2, 3.5, 3.6 and STM32F4. The library is able to handle synchronous and independent movement and continuous rotation of steppers with pulse rates of up to 300'000 steps per second. The following table shows a summary of the TeensyStep specification:

Description Specification Default
Motor speed / pulse rate 1 - 300'000 stp/s 800 stp/s
Acceleration 0 - 500'000 stp/s^2 2500 stp/s^2
Pull in speed 50-10'000 stp/s 100 stp/s
Synchronous movement of motors up to 10 -
Independent movement of motors 4 groups of 1 to 10 motors -
Settable step pulse polarity Active HIGH or LOW Active HIGH
Settable step pulse width 1-100ยตs 5ยตs
Settable direction signal polarity cw / ccw cw

Here a quick demonstration video showing two motors running in sync with 160'000 steps/sec

IMAGE ALT TEXT HERE

More Repositories

1

VisualTeensy

VisualCode projects for PJRC Teensy boards
C#
114
star
2

TeensyTimerTool

Generic Interface to Teensy Timers
C++
81
star
3

EncoderTool

The EncoderTool is a library to manage and read out rotary encoders connected either directly or via multiplexers to ARM based boards. Encoder push buttons are supported. Callback functions can be attached to encoder changes and button presses to allow for event driven applications
C++
46
star
4

TeensySharp

C# library for finding Teensies on the USB tree and upload firmware to PJRC Teensy boards
C
21
star
5

TeensyDelay

C++
20
star
6

TeensyHelpers

A couple of utility functions and classes to improve usage of the Teensy IntervalTimer class, the attachInterrupt and the pinMode function.
C++
19
star
7

USB-C---MicroB

Simple adapter from USB-C to USB MicroB
19
star
8

TeensyStep4

C++
16
star
9

EncSim

Quadrature signal generator for testing encoder software. Requires a PJRC Teensy board. Generates quadrature signals with adjustable frequency, phase and bouncing
C++
16
star
10

MicroMod_3.2

NXP MK20DX256 board for the Sparkfun MicroMod system. Should be able to run Teensy 3.2 firmware
Makefile
15
star
11

mmStep

Stepper driver board for the sparkfun MicroMod system. Compatible to DRV8825, A4988 etc.
10
star
12

static_malloc

Arduino wrapper around Andrey Rys static memory allocator library smalloc
C
6
star
13

staticFunctional

std::function replacement for embedded systems. Doesn't use dynamic memory, small footprint, works with GCC verision 7 and higher, requires c++11 or higher
C++
5
star
14

attachInterruptEx

C++
4
star
15

CallbackHelper

CallbackHelper is a tool to generate invocable callbacks from various inputs. E.g., pointers to free functions, pointers to static member functions, lambdas (capturing as well as non-capturing) and functors. CallbackHelper allows library writers to implement std::function like callback APIs without the memory overhead of std::functions.
C++
4
star
16

EncPlex

Arduino library for the PJRC Teensy boards to read out multiplexed rotation encoders.
C++
3
star
17

pins

Alternative interface to the pins of a teensy board
C++
3
star
18

DRV8825x3

Carrier for 3 DRV8825 Stepper drivers
2
star
19

TeensyLoadcell

Library to readout standard loadcells with the internal ADC/PGA of the Teensy 3.2
C++
2
star
20

MemViewer

Detailed information of memory usage for Teensy Boards
C++
2
star
21

HiResClock

C++
2
star
22

Board2Make

Tool to use a teensy boards.txt to generate a small makefile to be included in a main makefile
C
1
star
23

hamlet-organ

HTML
1
star
24

WheelsOnWheels

Viewer for parametric Farris functions.
C#
1
star
25

IntervalTimerEx

C++
1
star