Analog Basics¶
Capacitors¶

To a first approximation, capacitors are devices that might be considered simply frequency-dependent resistors.


Inductors¶


where L is called the inductance and is measured in henrys
(or mH, μH, nH, etc.). Putting a constant voltage across an
inductor causes the current to rise as a ramp (compare with
a capacitor, in which a constant current causes the voltage
to rise as a ramp); 1 V across 1 H produces a current that
increases at 1 amp per second.
CMOS Logic¶


How to simulate¶
Netlisting & NgSPICE tool ??? TBD
- How to make sure that your netlist matches the circuit you want to simulate?
- How to choose a proper device models?


netlist(and.sp) -> simulate(ngspice and.sp) -> waveform
Making Logic Gates from Transistors¶
Try and inverter with a transistor, this didn’t work I have PNP transistor 2N2907A but the Ben Eater’s video is using a 2N3904, which is an NPN transistor. The wiring has to change i guess

Credits¶
Screenshots from Books¶
- Art of Electronics by Horowitz & Hill - Chapter 11 (CMOS Logic)
- Art of Electronics by Horowitz & Hill - Capacitors & Inductors sections