Skip to content

Instantly share code, notes, and snippets.

View StuffAndyMakes's full-sized avatar

StuffAndyMakes StuffAndyMakes

View GitHub Profile
@StuffAndyMakes
StuffAndyMakes / Automotive Stepper TMC2208 Test.c
Created January 25, 2025 17:45
Automotive Stepper TMC2208 Test
/*
* Testing little dashboard steppers with a TMC2208 stepper driver (all from Amazon)
* Stepper: https://a.co/d/4dKBO58
* Driver: https://a.co/d/bby0QgZ
*
* Tested on an Arduino UNO clone.
*
* Code will run the stepper to the maximum clockwise, then back to the 0 stop.
* It will then pick random steps to jump to (clockwise or counterclockwise)
* and do that indefinitely.