Skip to content

Analog Basics

Capacitors

Sample Photo

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

Sample Photo

Sample Photo

Inductors

Sample Photo

Sample Photo

Sample Photo 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

Sample Photo

Sample Photo

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?

Sample Photo

Sample Photo

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

Sample Photo

Credits

Screenshots from Books

  • Art of Electronics by Horowitz & Hill - Chapter 11 (CMOS Logic)
  • Art of Electronics by Horowitz & Hill - Capacitors & Inductors sections

Screenshots from the class

Link to the document

Screenshots from Videos

Demo