We got the drop that Sonnet 4 (https://www.anthropic.com/news/claude-4) just got released and the baby went to sleep early, so let's try it out! We wrote a library for the STSPIN220 (https://www.digikey.com/en/products/detail/stmicroelectronics/STSPIN220/6137574) — this is a stepper motor driver like the A4988 (https://www.adafruit.com/product/6109) or TMC2209 (https://www.adafruit.com/product/6121), but for low voltage motors.
One interesting thing about it is it uses the step/dir and two mode pins to set the micro-steps, from 1 to 1/256. Since that gets a little confusing, we figured a driver (https://github.com/adafruit/Adafruit_STSPIN) would be worth doing. The table was definitely annoying to decode, and higher microsteps started overflowing 16-bit variables, but now we've got it spinning happily!
#anthropic #claude #sonnet
Visit the Adafruit shop online - http://www.adafruit.com
-----------------------------------------
LIVE CHAT IS HERE! http://adafru.it/discord
Subscribe to Adafruit on YouTube: http://adafru.it/subscribe
New tutorials on the Adafruit Learning System: http://learn.adafruit.com/
-----------------------------------------