No description
|
|
||
|---|---|---|
| .github | ||
| examples | ||
| .clang-format | ||
| .gitignore | ||
| Adafruit_STSPIN220.cpp | ||
| Adafruit_STSPIN220.h | ||
| keywords.txt | ||
| library.properties | ||
| LICENSE | ||
| README.md | ||
Adafruit STSPIN Library 

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:
- Download the .zip file from GitHub
- 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.