Skip to content
A project ofgwark.dev

Zilog · Microcontroller

Zilog Z80

8-bit CPU of the ZX Spectrum, MSX and CP/M era, with a scattered data bus that catches everyone wiring one by hand.

Cheat sheet (SVG)
Logic level
5 V
Package
PDIP-40

1.Pinout diagram

Highlight a signalhover to preview, click to keep

Pins 1-20

Z80

Pins 21-40

Pin detail

Hover a pin for its mappings and gotchas. Click to keep it here.

Logic level
5 V
Package
PDIP-40

Fig. 1. Zilog Z80, PDIP-40. Hover or tap a signal to light up every pin that carries it.

2.Watch out

3.Minimum circuit to run

What has to go around the chip before it will run.

VCCGNDZ80Clock oscillator between CLK (6) and GNDClockoscillator330 Ohm between CLK (6) and VCC330 Ohm10 kOhm between RESET (26) and VCC10 kOhm10 uF between RESET (26) and GND10 uF10 kOhm between INT (16) and VCC10 kOhm10 kOhm between NMI (17) and VCC10 kOhm10 kOhm between WAIT (24) and VCC10 kOhm10 kOhm between BUSREQ (25) and VCC10 kOhm100 nF between VCC (11) and GND100 nFVCC (11) to VCCGND (29) to GNDCLK 6CLK 6VCC 11VCC 11INT 16NMI 17WAIT 24BUSREQ 25RESET 26RESET 26GND 29
Fig. 2. Minimum circuit to run, drawn from Table 1. Dashed parts are optional. Crossing wires are not connected.
Table 1. External parts, and why each one is there.
PartBetween
Clock oscillatorCLK (6) to GND
330 OhmoptionalCLK (6) to VCC
10 kOhmRESET (26) to VCC
10 uFRESET (26) to GND
10 kOhmINT (16) to VCC
10 kOhmNMI (17) to VCC
10 kOhmWAIT (24) to VCC
10 kOhmBUSREQ (25) to VCC
100 nFVCC (11) to GND

Qualify memory and I/O decoding with MREQ (19) and IORQ (20). The Z80 puts the refresh address on A0-A6 during the second half of every M1 cycle, so raw address lines are not a valid chip select.

4.Full pin reference

Every pin, alias and mapping. This is the table that prints.

Table 2. Pin assignments.

Complete pin reference for Zilog Z80
PinNameFunctions

Looking for a substitute?

Primary sources

Found a wrong pin? The whole board is one file, data/boards/zilog-z80.json.

Edit this file on GitHubReport it instead