No description
Find a file
Tyeth Gundry c76482b58b
Some checks failed
Arduino Library CI / build (push) Has been cancelled
Update library.properties - bump version to 1.0.1
2025-05-28 15:34:35 +01:00
.github CI 2025-05-22 21:02:15 -04:00
examples really fixed microstepping 2025-05-22 21:42:47 -04:00
.clang-format clangify 2025-05-22 21:03:24 -04:00
.gitignore Add .gitignore and remove datasheet files 2025-05-22 20:35:06 -04:00
Adafruit_STSPIN220.cpp clang 2025-05-23 10:25:28 -04:00
Adafruit_STSPIN220.h clang 2025-05-23 10:25:28 -04:00
keywords.txt Initial commit of Adafruit STSPIN220 library 2025-05-22 20:33:30 -04:00
library.properties Update library.properties - bump version to 1.0.1 2025-05-28 15:34:35 +01:00
LICENSE Initial commit of Adafruit STSPIN220 library 2025-05-22 20:33:30 -04:00
README.md Update README.md license reference 2025-05-22 20:34:21 -04:00

Adafruit STSPIN Library Build StatusDocumentation

This is an Arduino library for the Adafruit STSPIN220 breakout board, a low voltage stepper motor driver.

About the STSPIN220

The STSPIN220 is a low voltage stepper motor driver that integrates both control logic and a low RDS(on) power stage in a small VFQFPN 3x3x1.0 mm package.

Key features:

  • Operating voltage: 1.8V to 10V
  • Maximum output current: 1.3A RMS
  • Microstepping up to 1/256th of a step
  • Ultra-low standby current (<80 nA)
  • Complete protection set (overcurrent, thermal, short-circuit)
  • Arduino Stepper library compatible interface
  • Digital pin interface

Installation

You can install this library through the Arduino Library Manager. Search for "Adafruit STSPIN" and install the latest version.

To manually install:

  1. Download the .zip file from GitHub
  2. In the Arduino IDE: Sketch -> Include Library -> Add .ZIP Library

Hardware

Examples

The library includes examples demonstrating various features:

  • STSPIN220_Basic: Basic usage with Arduino Stepper library compatible interface

Library Features

  • Initialize with minimal 2-pin or full 6-pin control
  • Arduino Stepper library compatible methods (setSpeed, step, version)
  • Configure microstepping resolution from full-step to 1/256 step
  • Power management with enable/disable and ultra-low power standby
  • Fault detection and clearing
  • Single step and blocking step methods
  • Automatic mode pin handling for breakout boards with pull-ups

Documentation

For more information on using this library, check out the examples folder.

Full documentation of the STSPIN220 sensor can be found in the datasheet.

License

This library is released under a MIT license. See the included LICENSE file for details.