Let's make a 1Hz pulse generator with AI
That's the task here. Read on to see how it will be done.
TypeScript + KiCAD = typeCAD
One of the benefits of using TypeScript to build anything is that all LLMs know it well. Ask any LLM to build something in TypeScript, and it will probably give you something functional.
What if you could ask it to make hardware? No LLM could give you a KiCAD (or Altium or whatever) project; they just don't know enough about file formats, schematics, and board designs. But how much could they do given the right tools? That's exactly where typeCAD comes in, giving LLMs a way to translate their knowledge into something we can use.
A lot of people hate AI
Let's get that out of the way. There are a lot of criticisms out there, some valid, some outdated. Everyone has probably seen screenshots of an AI asked to create a schematic, and it looks crazy. The problem is AI isn't trained on how to make schematics (LLMs can't draw pictures well either), although its underlying knowledge of what the schematic should look like is actually there.
AI will take over hardware design to some degree. This is an experiment to see what it can do right now.
The experiment
Initially, the idea was to create the most accurate 1Hz pulse generator possible. That quickly got expensive (several hundred dollar oscillators are very accurate though). Another thought was to one-shot the whole thing and see if it worked, no double-checking, no second-guessing. That was quickly second-guessed when the circuit clearly wouldn't have worked. Then it turned into making an elegant solution with guidance.
typecad





Adrian Freed
Lithium ION
SCART VADER