Skip to the content
PCBKitNew board
2 layers127 × 121.9 mmSimple output, the printed circuit board in 3D

Simple output

soster/dtZ8015

A simple 8 Bit computer based on the Z80 CPU

Size
127 × 121.9 mm
Copper layers
2
Thickness
1.6 mm
Parts
37
Nets
75
Pads
292
Tracks, vias
1,501, 344
Pours
2
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
1 Jan 2021
Updated
5 Aug 2025

Overview

Simple output is an open-source printed circuit board by soster, from the soster/dtZ80 repository on GitHub. It is a 2-layer board of 127 × 121.9 mm with 37 parts on 75 nets, routed with 1,501 tracks and 344 vias.

It is built around the 74HC245D, 74LS04PC and 74LS573PC. Its parts include 14 resistors, 8 ICs, 6 capacitors, 6 connectors and 2 transistors. It belongs with the retro computing and games boards of this library.

Main components

3

README

README.md

dtZ80 - A simple 8 Bit Computer based on the Z80 CPU

This started as a project during the second Corona lockdown, where I had to much free time. I wanted to design my own 8 Bit computer and decided to use the Z80 CPU. The first idea was to use a MOS 6502 because a variant of that powers the C64, a computer I used much in my childhood. The Z80 is easier to source where I live so I used that instead.

I started on breadboards but quickly discovered the limits of that so I soldered some prototypes and finally designed some PCBs with kicad.

The bus is compatible to the Bus of the RC2014 Z80 computer, so I can exchange expansion cards.

This documentation now covers the new "Black Edition" of the dtZ80 (Rev 1), a larger board without the need to use extension cards. Previous prototypes had a common bus board and extension cards for the CPU, RAM etc. All software for the previous prototypes can be found at asm/prototype for historical reasons.

The dtZ80 uses a Z80 CPU with clocked with 7.3728 Mhz (which doubles as a clock for serial communication), a Z80 SIO for serial communication, a CTC counter timer, 32kb of RAM and 32kb of ROM and a AY-3-8910A sound chip. It uses a single seven segment display for debugging purposes and a 4 line, 20 characters per line LCD for text output.

Tools

  • rasm is used as the assembler.
  • Visual Studio Code is used as an editor and enviroment for assembler
  • Minipro is used to flash the EEPROMs, the hardware is a TL866 II PLUS
  • ticks from the z88dk project is used as an emulator / simulator
  • A usb to ttl converter for serial communication (can be switched to 5V levels, only needs TX and RX)

Images

dtZ80 Black Edition

Address Space

Address lines are assigned by a 74LS138 IC (U6) which activates or deactivates the correct ICs.

text
$00: I/O port 7 segment (A0-A7=0)
$04: LCD command I/O port (A5=1)
$05: LCD data I/O port (A5=1,A0=1)
$40: SIO Data Channel A
$42: SIO Control Channel A
$60: CTC Channel 0
$61: CTC Channel 1
$62: CTC Channel 2
$63: CTC Channel 3
$80: Sound Register
$81: Sound Data
LCD

The black edition uses a 4 line, 20 column LCD Display (2004A V1.1) probably based on the HD44780 Chip (Datasheet). It behaves strangely if we send character by character to it, it uses line 3 after line 1 and the lines 2 and 4 are not usable. We have to manually set the DDRAM address holding the character position according to the current line:

text
Line 1: $00 - $13
Line 2: $40 - $53
Line 3: $14 - $27
Line 4: $54 - $67

I assume this is due to backwarts compatibility to 2 line displays.

Parallel Interface

The 8 Bit parallel Interface is used to connect a lcd screen mainly. Due to an error while designing the pcb, it has the following pins (GND=Pin 1):

Parallel Port

Serial Interface

The serial interface is provided by the Z80 SIO chip (SI0/0). It has two channels, A (J1) and B (J6). The clock is provided by the CTC chip for channel A. If you want to use channel B, you have to connect the clock from the pin CTS from J1 to CTS on J6. Please note that RX and TX are labeled from the point of view of the external device, RX is connected to TX on the SIO and vice versa (this maybe was a stupid decistion).

If you are working with linux and you have a usb to serial converter connected to /dev/ttyUSB0 you can use screen to enter serial terminal mode:

text
screen /dev/ttyUSB0 19200

To enter serial mode of the dtZ80 simply press enter now.

Screen commands consist of "C-a" or ctrl+a (holding down the control key, and then pressing the 'a' key, then releasing both), to enter the command input mode, then commands may be entered with another key stroke. To disconnect from the session: Ctrl+a, Ctrl+d, you can then use this to reattach to the session:

text
screen -r

To quit screen and close connection: ctrl+a, k.

CTC Clock Timer Chip

TODO

PS/2 Keyboard module

For ps/2 keyboard to serial conversion I use a "PS2 Keyboard Driver Serial Port Transmission Module".

  1. connect TX from the module to TX from J1. The module communicates via serial in 19.200 Baud, 1 Stop bit, no parity.

Sound

TODO

Simulator / Emulator

The simulator ticks from https://github.com/z88dk/z88dk can be used as a simulator. It provides character output for debugging purposes. Use it like this on assembled binary files:

text
z88dk.z88dk-ticks -iochar 5 bios.bin

-iochar 5 puts out characters just like for the LCD of the dtz80.

Next steps / TODOs

Graphics

Graphics is not finished yet. These are some ideas: Based on: TMS9918A Problem: Works only with DRAM for SRAM Looks like you will need to latch the address bits 8-15 when RAS goes low Connect (/CAS0 AND /CAS1) to /OE on the SRAM and use one of them for A16 also Important: Clock 10.738635 Mhz, Type ‎MP107-E‎ for video timing Use schematics from: https://github.com/jblang/TMS9918A

Links

More images

dtZ80 CPU Card

Parts

37
QtyValueFootprintReferences
4100nCapacitor_THT:C_Disc_D4.3mm_W1.9mm_P5.00mmC1, C2, C4, C5
45KResistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_HorizontalR11, R12, R13, R14
32KResistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_HorizontalR6, R8, R9
210KResistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_HorizontalR5, R7
21kResistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_HorizontalR1, R10
222pFCapacitor_THT:C_Disc_D4.3mm_W1.9mm_P5.00mmC3, C6
274HC245Package_DIP:DIP-20_W7.62mm_SocketU4, U8
2NPNPackage_TO_SOT_THT:TO-92_HandSolderQ1, Q2
11KResistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_HorizontalR4
11MResistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_HorizontalR3
1220Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_HorizontalR2
15161AS7seg:7SegmentLED_LTS6760_LTS6780U5
174LS04Package_DIP:DIP-14_W7.62mm_SocketU1
174LS138Package_DIP:DIP-16_W7.62mm_SocketU2
174LS573Package_DIP:DIP-20_W7.62mm_SocketU3
18 Bit PortConnector_PinHeader_2.54mm:PinHeader_2x07_P2.54mm_VerticalJ2
1CTCConnector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ5
1Conn_01x02Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ1_5VtoSerial1
1CrystalCrystal:Crystal_HC49-U_VerticalY1
1FT_232Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_VerticalJ3
1PS/2 Keyboardpackage_connectors:Mini_DIN_6_TE_ConnectivityJ4
1RC2014BusConnector_PinHeader_2.54mm:PinHeader_1x40_P2.54mm_VerticalJ1
1Z80CTCPackage_DIP:DIP-28_W15.24mm_SocketIC2
1Z80SIOPackage_DIP:DIP-40_W15.24mm_SocketIC1

Questions

How big is the Simple output PCB?

It measures 127 × 121.9 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Simple output use?

37 parts, built around the 74HC245D, 74LS04PC and 74LS573PC. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Simple output KiCad files?

From the soster/dtZ80 repository on GitHub, at the commit this page was made from: the board is schema/dtZ80-simple-io/simple-output.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Simple output design in my own project?

Its repository states no licence, so its author keeps all rights: ask soster before reusing the design.

More from soster/dtZ80

3
  • 2 layers200.7 × 149.9 mmDtz80-complete, the printed circuit board in 3D

    Dtz80-complete

    soster/dtZ80

    A simple 8 Bit computer based on the Z80 CPU

    107 parts15
  • 2 layers128.3 × 88.9 mmDtZ80, the printed circuit board in 3D

    DtZ80

    soster/dtZ80

    A simple 8 Bit computer based on the Z80 CPU

    21 parts15
  • 2 layers119.4 × 55.9 mmDtZ80-memory, the printed circuit board in 3D

    DtZ80-memory

    soster/dtZ80

    A simple 8 Bit computer based on the Z80 CPU

    6 parts15

Similar boards

  • 4 layers243.8 × 243.8 mmSbc 8088, the printed circuit board in 3D

    Sbc 8088

    miselin/M88

    The M88 Computer

    218 parts2CERN-OHL-P-2.0
  • 2 layers112.5 × 124.5 mm6502atty, the printed circuit board in 3D

    6502atty

    bendooks/6502atty

    6502 SBC with ATMega controller

    102 parts
  • 4 layers139.7 × 116.8 mmProjekt pm, the printed circuit board in 3D

    Projekt pm

    lukasz-strama/projekt-pm

    81 parts
  • 2 layers144.8 × 94 mmMotherboard, the printed circuit board in 3D

    Motherboard

    AndersBNielsen/Toggle6502

    41 parts4
  • 2 layers84 × 58.2 mmGeoRAM, the printed circuit board in 3D

    GeoRAM

    ozw1z5rd/home-computer-group

    Home Computer Group files

    16 parts3
  • 2 layers160 × 100.3 mmZ80-MIDI, the printed circuit board in 3D

    Z80-MIDI

    dennis9819/Z8C-Homebrew-Computer

    To easily develop for my Z80 homebrew system, I designed a simple assempler development environment. This packs the following tasks into one script: zmac assembly object file creation (for xmodem upload) monitor file…

    33 parts2
  • 4 layers83.3 × 68.2 mmCPU, the printed circuit board in 3D

    CPU

    Synthron/S65

    Yet another 8bit Retro Computer

    22 parts2
  • 2 layers72.1 × 39.4 mmReg, the printed circuit board in 3D

    Reg

    TheJustMoose/74HCPU

    Handmade CPU. See README.md

    26 parts2