Back to News
Advertisement
Advertisement

⚡ Community Insights

Discussion Sentiment

60% Positive

Analyzed from 365 words in the discussion.

Trending Topics

#claude#itself#code#spice#completely#hardware#circuit#model#jumperless#building

Discussion (9 Comments)Read Original on HackerNews

andrewklofas14 minutes ago
Hit this exact wall six months back building Claude Code stuff for KiCad review[1]. First pass let Claude read .kicad_sch directly via grep/read. It happily invented pin numbers that didn't exist. Rewrote it with Python analyzers that spit out JSON, now Claude just reads the JSON, problem mostly went away.

Curious how spicelib-mcp handles models that aren't in the bundled library. Do you pass the .lib path as a tool arg, or does the server own a registry?

[1] https://github.com/aklofas/kicad-happy

iterateoftenabout 2 hours ago
Beware. I had Claude code with opus building boards and using spice simulations. It completely hallucinated the capabilities of the board and made some pretty crazy claims like I had just stumbled onto the secret hardware billion dollar project that every home needed.

None of the boards worked and I had to just do the project in codex. Opus seemed too busy congratulating itself to realize it produced gibberish.

_fizz_buzz_about 2 hours ago
I haven't tried it with codex yet. But my approach is currently a little bit different. I draw the circuit myself, which I am usually faster at than describing the circuit in plain english. And then I give claude the spice netlist as my prompt. The biggest help for me is that I (and Claude) can very quickly verify that my spice model and my hardware are doing the same thing. And for embedded programming, Claude automatically gets feedback from the scope and can correct itself. I do want to try out other models. But it is true, Claude does like to congratulate itself ;)
Scene_Cast2about 1 hour ago
I've found that having LLMs work with mermaid diagrams makes describing and modifying circuits less annoying.
Archit3chabout 2 hours ago
Nice! Doing something similar with a Jumperless so that the model can reconfigure the circuit on the fly.
_fizz_buzz_about 2 hours ago
Oh, I remember seeing Jumperless a while ago, but completely forgot about. Combining this with something like Jumperless does sound interesting. What does your setup look like? Does Claude tell you: "try 1k resistor in parallel here"?
Archit3chabout 1 hour ago
It's just measurements for now. But sourcing ideas from the model could be interesting!
vomayankabout 4 hours ago
Very cool idea closing the loop between simulation and real hardware.

Have you found the MCP-driven workflow reliable enough for repeated testing cycles, or does it still need manual verification at key steps?

_fizz_buzz_about 4 hours ago
Claude can absolutely correct itself and change the source code on the MCU and adapt. However, it also does make mistakes, such as claiming it matched the simulation when it obviously didn't. Or it might make dubious decisions e.g. bit bang a pin instead of using the dedicated uart subsystem. So, I don't let it build completely by itself.