BuildBB-0010Build of the week

Claude Code checks a SPICE simulation against a LeCroy scope on a real circuit

Lucas Gerads connected Claude Code to his LeCroy oscilloscope through lecroy-mcp and to ngspice through spicelib-mcp. In the post's 12-minute video, Claude simulates an RC low-pass filter, programs an ATtiny1614 to drive it and compares the scope traces with the simulation. Gerads warns that Claude cannot see the bench and needs an explicit pinout.

Open original source lucasgerads.com · Lucas Gerads

Shown working
Why this evidence label?

Post embeds a 12-minute video of the bench demo with the LeCroy scope; demo files are public.

How we check entries
Play videoClaude Code checks a SPICE simulation against a LeCroy scope on a real circuitThe player loads from youtube-nocookie.com when you press play.
The source video, on YouTube.

Briefing

The demo files give the circuit: a 4.7 kΩ resistor and a 150 nF capacitor, with a cutoff of about 226 Hz, fed by PWM from the ATtiny1614. A Makefile builds and flashes the firmware with avr-gcc and pymcuprog.

Gerads's advice: tell Claude what is connected where, never hand it stale measurements, save raw captures to files instead of pasting them into the context, and give it Makefile targets for build, flash, ping and erase. On the Hacker News thread, one commenter reported Claude inventing a board's capabilities in a similar setup; none of those boards worked.

“Claude doesn't see your physical setup.”

Lucas Gerads, in the source on lucasgerads.com

Tags

Instrument

Report a problem with this entry