Lesson plan

Logic families and buses lesson plan

What a logic chip really is under a meter: 74HC against CD4000, logic levels and the HCT fix for 3.3 V, fan-out, open drain, tri-state buses and contention, Schmitt inputs. Ends with a two-device bus and its arbiter.

7 chapters, 7 lessons, about 6 hours, no board. Every lesson runs in the browser, with nothing to install.

The unit

Objectives and materials

By the end, students can

  • Stiff and fast against soft and wide-ranging, on a meter.
  • Where low ends and high begins, and why 3.3 V wants HCT.
  • One output, more and more load, and when it gives up.
  • Pull low or let go: the wired-AND behind I2C.
  • Taking turns, contention, and a transceiver.
  • Two thresholds, hysteresis, and a one-gate oscillator.
  • Drivers, an arbiter, a receiver and a bridge.

Materials for the whole unit

  • 74HC02 quad NOR
  • 74HC04 hex inverter x 2
  • 74HC125 quad tri-state buffer
  • 74HC14 Schmitt inverter
  • 74HC245 two-way bus buffer
  • Bench power supply
  • Capacitor
  • CD4001 quad NOR
  • LED x 8
  • Multimeter x 2
  • Potentiometer
  • Pushbutton x 2
  • Resistor x 8
  • Slide switch x 6

Every part is already on the simulator’s bench, so there is nothing to buy or hand out. The counts are the most any one lesson uses, if you build it on real breadboards too.

Chapter 1. About 40 min

74HC vs CD4000

Stiff and fast against soft and wide-ranging, on a meter.

LessonTimeWhat students do
74HC vs CD4000The same NOR gate in two families, each driving a 1 k load: how hard a 74HC output holds its level, how soft a CD4000B output is, and why the CD4000B still earns its place at 12 V.40 min
  1. Run it: a 74HC output under load
  2. The CD4000B output is soft
  3. Where the CD4000B wins: 12 V
  4. At 3.3 V

Materials

  • 74HC02 quad NOR
  • Bench power supply
  • CD4001 quad NOR
  • Multimeter x 2
  • Resistor x 2

Check for understanding

Each student finishes "74HC vs CD4000" on their own, without opening the hints. The simulator checks 4 of its 4 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "At 3.3 V".

Chapter 2. About 50 min

Logic levels

Where low ends and high begins, and why 3.3 V wants HCT.

LessonTimeWhat students do
Logic levelsSweep a voltage into a 74HC04 and a 74HCT04 and find where each one stops calling it low: CMOS levels at half the supply, TTL levels at 1.4 V, and why a 3.3 V signal belongs on an HCT input.50 min
  1. Run it: a clear low
  2. TTL levels: high at 1.8 V
  3. CMOS levels: low until half the supply
  4. Past the middle
  5. A 3.3 V board on a 5 V chip

Materials

  • 74HC04 hex inverter x 2
  • Bench power supply
  • LED x 2
  • Multimeter
  • Potentiometer
  • Resistor x 2

Check for understanding

Each student finishes "Logic levels" on their own, without opening the hints. The simulator checks 5 of its 5 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "A 3.3 V board on a 5 V chip".

Chapter 3. About 50 min

Fan-out

One output, more and more load, and when it gives up.

LessonTimeWhat students do
Fan-outOne output, more and more LEDs: watch the high level sag as the current rises, compare a 74HC output with a CD4000B one, and learn what fan-out means when the loads are other CMOS inputs.50 min
  1. Run it: four LEDs
  2. Add four more
  3. Eight LEDs
  4. Swap in the CD4000B
  5. A soft output gives up

Materials

  • 74HC04 hex inverter
  • Bench power supply
  • CD4001 quad NOR
  • LED x 8
  • Multimeter
  • Resistor x 8

Check for understanding

Each student finishes "Fan-out" on their own, without opening the hints. The simulator checks 5 of its 5 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "A soft output gives up".

Chapter 4. About 50 min

Open drain

Pull low or let go: the wired-AND behind I2C.

LessonTimeWhat students do
Open drainOutputs that can only pull a line low, a resistor that pulls it high, and why any number of them can share one wire without ever fighting: the electrical heart of I2C.50 min
  1. Run it: the line idles high
  2. One device pulls it low
  3. Anyone can, nobody fights
  4. Take the pull-up away
  5. Nobody makes the high

Materials

  • 74HC125 quad tri-state buffer
  • Bench power supply
  • Multimeter
  • Resistor
  • Slide switch x 2

Check for understanding

Each student finishes "Open drain" on their own, without opening the hints. The simulator checks 5 of its 5 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Nobody makes the high".

Chapter 5. About 50 min

Tri-state buses

Taking turns, contention, and a transceiver.

LessonTimeWhat students do
Tri-state busesTwo drivers on one bus wire that take turns: drive high, drive low, or let go. What a fight looks like when two drive at once, and a 74HC245 transceiver that passes the bus to a second segment, or isolates it.50 min
  1. Run it: driver 1 drives
  2. Driver 2 takes its turn
  3. Contention
  4. A transceiver to the next segment
  5. Isolate it

Materials

  • 74HC125 quad tri-state buffer
  • 74HC245 two-way bus buffer
  • Bench power supply
  • Multimeter x 2
  • Resistor x 2
  • Slide switch x 6

Check for understanding

Each student finishes "Tri-state buses" on their own, without opening the hints. The simulator checks 5 of its 5 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Isolate it".

Chapter 6. About 50 min

Schmitt inputs

Two thresholds, hysteresis, and a one-gate oscillator.

LessonTimeWhat students do
Schmitt inputsFind the two thresholds of a 74HC14: the input has to climb past one to switch and fall below a lower one to switch back. Then the same hysteresis makes an oscillator out of one gate, a resistor and a capacitor.50 min
  1. Run it: rising, not yet
  2. Past the upper threshold
  3. Coming down: it stays
  4. Wire an oscillator
  5. One gate, a clock

Materials

  • 74HC14 Schmitt inverter
  • Bench power supply
  • Capacitor
  • LED x 2
  • Multimeter
  • Potentiometer
  • Resistor x 3

Check for understanding

Each student finishes "Schmitt inputs" on their own, without opening the hints. The simulator checks 5 of its 5 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "One gate, a clock".

Chapter 7. About 1 h 10 min

Boss: a shared bus

Drivers, an arbiter, a receiver and a bridge.

LessonTimeWhat students do
Boss: a shared busTwo devices share one bus wire through tri-state drivers, a CD4001 latch decides who may drive, a 74HC14 receives it, and a 74HC245 bridges it to a second segment. Prove each part, break the arbiter on purpose, then turn the bridge around.70 min
  1. Grant the bus to A
  2. Hand it to B
  3. The receiver
  4. Break the arbiter
  5. Open the bridge
  6. The far segment hears it
  7. Make it yours: turn the bridge around

Materials

  • 74HC125 quad tri-state buffer
  • 74HC14 Schmitt inverter
  • 74HC245 two-way bus buffer
  • Bench power supply
  • CD4001 quad NOR
  • LED
  • Multimeter x 2
  • Pushbutton x 2
  • Resistor x 5
  • Slide switch x 2

Check for understanding

Each student finishes "Boss: a shared bus" on their own, without opening the hints. The simulator checks 7 of its 7 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Make it yours: turn the bridge around".

Your class

Teach this unit as a class

Start a class from this course and its 7 lessons are assigned in one go, in order. Students join with a six-character code or printed login cards, and each one’s work comes back to you.

The class tools are free for 30 days for one class of up to 20 students, with no card. The lessons themselves are free either way.