Adafruit Industries

Trying out Claude Code with Sonnet 4 for our STSPIN220 library 🌀🤖🔧


Listen Later

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/
-----------------------------------------
...more
View all episodesView all episodes
Download on the App Store

Adafruit IndustriesBy Adafruit Industries

  • 4.8
  • 4.8
  • 4.8
  • 4.8
  • 4.8

4.8

13 ratings


More shows like Adafruit Industries

View all
3D Hangouts by Adafruit Industries

3D Hangouts

1 Listeners

Ask an Engineer by Adafruit Industries

Ask an Engineer

2 Listeners

Raspberry Pi by Adafruit Industries

Raspberry Pi

23 Listeners

3D Printing Projects by Adafruit Industries

3D Printing Projects

11 Listeners

Circuit Playground by Adafruit Industries

Circuit Playground

0 Listeners

Collin's Lab by Adafruit Industries

Collin's Lab

2 Listeners

New Products by Adafruit Industries

New Products

3 Listeners

Show and Tell by Adafruit Industries

Show and Tell

0 Listeners