Show HN: SPICE 仿真 示波器 使用 Claude Code 进行验证
阅读原文· lucasgerads.com开发者使用 Claude Code 完成了 SPICE 仿真示波器的验证工作,并在 Hacker News Show HN 板块展示。该项目利用 AI 编程助手对电路仿真数据与示波器结果进行比对验证,获得 102 点数关注。这项工作展示了 AI 工具在硬件测试验证领域的应用潜力。
I have been experimenting with using Claude Code for hardware development over the past few weeks. I looked at some projects that use Claude similarly to how one would in software development: Write a prompt in natural language, let Claude create a circuit. I found it somewhat tricky to express what I want to build in plain English. It worked fine for trivial circuits but became difficult for more complex designs. I also realized that Claude Code really shines when it can get immediate feedback.
So I tried a different approach: give Claude access to my oscilloscope and a SPICE simulator. This has become extremely valuable for validating SPICE circuits and models, embedded programming, and data analysis. In particular the data analysis had been very tedious before: normalizing the time axis, aligning data, and so on. Usually I would just eyeball it.
Below is a deliberately simple demo showcasing my setup and workflow. The circuit and MCU are trivial. The point is to illustrate the approach, which scales well to much more complex circuits and real embedded projects.