Lessons and the learning game

Logic families and buses

What a logic chip is under a meter: 74HC and CD4000, levels, fan-out, open drain, tri-state and Schmitt inputs, ending in a shared bus.

The benches

Every lesson is a circuit of powered logic chips on a bench supply, no microcontroller. The simulator treats their pins as voltages: a 74HC output is a stiff source to its own supply (about 30 ohms), a CD4000B output a soft one (about 400 ohms at 5 V), and the meters read what a bench meter would. A potentiometer sets in-between input voltages; slide switches set logic levels and enables.

Take the course Logic families and buses on /learn.

The lessons

  1. 74HC vs CD4000: 4.85 V against 3.57 V into 1 k, the CD4001B at 12 V, and both at 3.3 V.
  2. Logic levels: a 74HCT04 calling 1.8 V high, a 74HC04 calling 2.4 V low, and why a 3.3 V signal belongs on an HCT input.
  3. Fan-out: one 74HC04 output sagging under four and eight LEDs, and a CD4001B collapsing under four.
  4. Open drain: two 74HC125 buffers playing open-drain outputs on one line with a 4.7 k pull-up, and the line without it.
  5. Tri-state buses: two drivers taking turns, contention when both drive, and a 74HC245 passing or isolating a second segment.
  6. Schmitt inputs: the 74HC14's two thresholds found with a meter, and a one-gate RC oscillator.
  7. Boss: a shared bus: tri-state drivers, a CD4001 NOR-latch arbiter, a 74HC14 receiver and a 74HC245 bridge, plus the arbiter's forbidden state and a reversed bridge.

What is simplified

A 74HC input switches at exactly half the supply in the simulator; real chips guarantee only the data sheet's VIL and VIH bands. The simulator does not enforce absolute maximum ratings (it will run a 74HC chip at 12 V). Two outputs fighting show as an unknown level at half the supply, without the heat and damage a real fight causes. A floating CMOS input makes this simulator's chips report unknown outputs, which is why every unused input in the course is tied off, as it should be on a real board.

Before and after

The course pairs with Combinational logic design and Sequential logic design, and links to the I2C lessons of Talk to chips, where real chips share an open-drain bus.