EPISODE · May 24, 2025 · 3 MIN
Trying out Claude Code with Sonnet 4 for our STSPIN220 library 🌀🤖🔧
from Adafruit Industries · host Adafruit Industries
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/ -----------------------------------------
What this episode covers
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/ -----------------------------------------
NOW PLAYING
Trying out Claude Code with Sonnet 4 for our STSPIN220 library 🌀🤖🔧
No transcript for this episode yet
Similar Episodes
Apr 21, 2026 ·73m
Apr 18, 2026 ·14m
Apr 18, 2026 ·95m
Apr 15, 2026 ·55m
Apr 13, 2026 ·68m
Apr 11, 2026 ·59m