← All projects
Project record1 mention
Originally shared on Hacker News

Code Your Own SPICE (Python circuit simulator)

A home-built electronic circuit simulator (a 'code your own SPICE') written in Python that lets users represent and code circuits in Python instead of wrestling with heavy math. It provides a formal language for circuits and helped the builder finally understand how circuits work and how they are designed.

Last shared
01 / The problem

What it addresses

Electronics never clicked because the math in books like AoE couldn't be intuitively grasped; what was needed was a formal language to represent circuits rather than more maths.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Code Your Own SPICE (Python circuit simulator)

    A home-built electronic circuit simulator (a 'code your own SPICE') written in Python that lets users represent and code circuits in Python instead of wrestling with heavy math. It provides a formal language for circuits and helped the builder finally understand how circuits work and how they are designed.

    Problem: Electronics never clicked because the math in books like AoE couldn't be intuitively grasped; what was needed was a formal language to represent circuits rather than more maths.

    Posted by @pkoird · Original source ↗

    Source text · @pkoird · · Source ↗

    So over the past few weeks, I worked on a code your own spice (the electronic simulator). So now, for the first time in history, I finally understand how circuits work and how they are designed. And I did this all by coding circuits in python and making my own functional spice