Skip to the content
PCBKitNew board
2 layers299.2 × 180 mm2layer, the printed circuit board in 3D

A Z80 retro computer, ZX Spectrum compatible, can also run CP/M.

Size
299.2 × 180 mm
Copper layers
2
Thickness
1.6 mm
Parts
369
Nets
409
Pads
2,259
Tracks, vias
7,328, 665
Pours
53
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
14 Nov 2023
Updated
16 Mar 2025

Overview

2layer is an open-source printed circuit board by ceteras, from the ceteras/CoBra repository on GitHub, published under the MIT licence. It is a 2-layer board of 299.2 × 180 mm with 369 parts on 409 nets, routed with 7,328 tracks and 665 vias.

It is built around the P8212, 74LS42PC and 27C128-15, with the 74LS00SC, 74LS157PC and 74LS153DC among its other parts. Its parts include 113 resistors, 92 ICs, 51 capacitors, 11 connectors and 1 diode. It belongs with the retro computing and games boards of this library.

Main components

12

README

README.md

CoBra

CoBra is a Z80 computer designed in 1986 at ITCI, a research center in Brasov, Romania.

CoBra mainboard

In its official version, its specs are:

  • 3.5MHz Z80A CPU
  • 64KB ram, made up of 4 banks of 8x 4116 chips each
  • 2KB - 16KB ROM boot code (original firmware fits in 2K)
  • 16KB ROM for the BASIC interpreter (8x 2716 or 4x 2732)
  • 256 x 192 resolution ZX Spectrum video interface
  • 58 keys keyboard, featuring 50 keys for ZX Spectrum mode plus 8 for CP/M
  • i8272 floppy interface - on a daughter board (not included in the repo for now)
  • RS232 port (bit-banged)
  • joystick port
  • 8 bit parallel port, input only, signals shared with the joystick interface
  • extension port using a 3x32 pin DIN41612 connector

It's a two-in-one machine, it can be either a ZX Spectrum compatible or a CP/M machine.
CoBra has three different memory maps: one for power-on, one for ZX Spectrum, and one for CP/M.
The memory configuration change is done in software, using the bit 7 of the R register.

On power-on, the memory map includes both ROMs, and RAM banks 0 and 1.
Cobra boots from the small 2K ROM, it can display on the screen and copy code to RAM.
Code can be copied from ROM for ZX Spectrum mode, and from the floppy interface for CP/M.
Tape interface can also be an option, which should be great for development.

After copying the code, it will switch the memory map to te desired architecture.
ROMs are disabled now and execution continues from the 64KB of RAM.

Many thanks to cobrasov.com, my main inspiration source in this endeavour.
You can find out a lot about this incredible machine on the website, including many improvements made to the original boards by the community.
Gerber files are also available there for these improved versions, all tested and working great!

This repo is a "revival" approach, aiming to re-create the original computer in Kicad, adding only some minor tweaks.
Current status:

  • the board is built (see bottom image), there were some pain points I should document here
  • a floppy interface was also built, works with a modified BASIC (gerbers are Ver.1.2 on "Floppy" IF section on cobrasov.com.
  • CP/M not possible to test yet, all versions I can get access to need a 80KB RAM upgrade.

Links:

CoBra mainboard

Prototype

Parts

369
QtyValueFootprintReferences
34SolderJumper_2_OpenCobra_original:SolderJumper-2_P1.3mm_Open_TrianglePad1.0x1.5mmJP11, JP12, JP13, JP14, JP15, JP16, JP17, JP18, JP19, JP20, JP21, JP22, JP23, JP24, JP25, JP26 +18
32MMN4116Cobra_original:DIP-16_W7.62mmU4, U10, U11, U24, U25, U26, U27, U28, U29, U30, U31, U43, U44, U45, U46, U47 +16
26100nCobra_original:C_THT_762_254C1, C2, C10, C11, C12, C13, C17, C18, C19, C20, C21, C23, C101, C102, C103, C104 +10
231N4148Cobra_original:D_DO-35_SOD27_P7.62mm_HorizontalD*1, D1, D2, D3, D4, D6, D7, D8, D9, D10, DBR1, DBR2, DBR3, DBR4, DBR5, P11 +7
23680Cobra_original:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_HorizontalR35, R38, R45, R46, R47, R49, R50, R51, R52, R53, R54, R55, R56, R57, R58, R59 +7
2233Cobra_original:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_HorizontalR1, R2, R3, R18, R19, R21, R24, R25, R28, R29, R30, R32, R33, R36, R37, R39 +6
15100nCobra_original:C_THT_508_254C5, C8, C16, C22, C31, C33, C35, C38, C39, C40, C41, C46, C47, C48, C176
13MountingHole_PadCobra_original:MountingHole_2.5mm_PadH2, H4, H5, H6, H8, H15, H16, H17, H18, H21, H22, H24, H25
121KCobra_original:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_HorizontalR6, R20, R22, R23, R26, R27, R31, R34, R42, R73, R94, R96
104K7Cobra_original:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_HorizontalR43, R67, R68, R85, R108, R109, R110, R111, R112, R113
94k7Cobra_original:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_HorizontalR10, R11, R12, R13, R14, R15, R16, R17, R69
88K2Cobra_original:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_HorizontalR99, R100, R101, R102, R103, R104, R105, R106
8MMN2716Cobra_original:DIP-24_W15.24mmU1, U18, U23, U42, U59, U75, U84, U91
7470Cobra_original:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_HorizontalR72, R78, R79, R80, R81, R82, R83
610KCobra_original:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_HorizontalR88, R89, R90, R95, R97, R98
674LS00Cobra_original:DIP-14_W7.62mmU16, U17, U37, U54, U55, U87
674LS95Cobra_original:DIP-14_W7.62mmU60, U77, U78, U81, U82, U83
5100Cobra_original:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_HorizontalR71, R75, R76, R77, R91
574LS157Cobra_original:DIP-16_W7.62mmU41, U51, U58, U80, U85
5CDB407Cobra_original:DIP-14_W7.62mmU71, U72, U73, U74, U86
5Jumper_NC_SmallResistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_HorizontalJP1, JP3, JP5, JP7, JP9
5Jumper_NO_SmallResistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_HorizontalJP2, JP4, JP6, JP8, JP10
474LS153Cobra_original:DIP-16_W7.62mmU3, U20, U22, U39
474LS193Cobra_original:DIP-16_W7.62mmU12, U13, U32, U33
474LS74Cobra_original:DIP-14_W7.62mmU2, U15, U36, U61
4Conn_01x10Cobra_original:PinHeader_1x10_P2.54mm_VerticalJ1, J6, JA5, JB5
3150Cobra_original:C_THT_508_254CAT1, CCS1, CHB1
32K2Cobra_original:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_HorizontalR9, R84, R87
3DIN-5Cobra_original:DIN-5J3, J4, J9
3SolderJumper_3_OpenJumper:SolderJumper-3_P1.3mm_Open_Pad1.0x1.5mmJP45, JP46, JP47
210uCobra_original:C_THT_508_254C15, C45
2150Cobra_original:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_HorizontalR48, R92
2150Cobra_original:C_THT_762_254C6, C14
2220Cobra_original:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_HorizontalR74, R86
2390Cobra_original:C_THT_508_254CCC1, CVR1
274LS04Cobra_original:DIP-14_W7.62mmU53, U57
274LS08Cobra_original:DIP-14_W7.62mmU19, U38
274LS10Cobra_original:DIP-14_W7.62mmU14, U40
274LS42Cobra_original:DIP-16_W7.62mmU56, U70
274LS86Cobra_original:DIP-14_W7.62mmU35, U88
2Conn_01x01_MaleConnector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalJ5, J8
2Conn_01x15Cobra_original:PinHeader_1x15_P2.54mm_VerticalJEXA1, JEXB1
2eCobra_original:MountingHole_2.5mm_PadH7, H23
2~TestPoint:TestPoint_THTPad_1.5x1.5mm_Drill0.7mmTP1, TP2
1100uCobra_original:C_THT_508_254C44
114MHzCobra_original:Crystal_HC18-U_VerticalY1
11500uFCobra_original:CP_Axial_L25.0mm_D9.0mm_P30.00mm_HorizontalC43
115pCobra_original:C_THT_508_254C30
1220pCobra_original:C_THT_508_254C24
1220uCapacitor_THT:CP_Radial_D8.0mm_P5.00mmC42
1240Cobra_original:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_HorizontalRN1
1270Cobra_original:C_THT_762_254C36
127C128Package_DIP:DIP-28_W15.24mmU89
12N2219Cobra_original:TO-92-CobraQ2
12k2Cobra_original:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_HorizontalR107
1330Cobra_original:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_HorizontalR70
1360Cobra_original:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_HorizontalR44
14V7Cobra_original:D_DO-35_SOD27_P7.62mm_HorizontalD5
174LS11Cobra_original:DIP-14_W7.62mmU52
174LS20Cobra_original:DIP-14_W7.62mmU34
174LS51Cobra_original:DIP-14_W7.62mmU21
175Cobra_original:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_HorizontalR93
18255Package_DIP:DIP-40_W15.24mmU79
1BC327Cobra_original:TO-92-CobraRevT2
1Back_CUCobra_original:cobra_3.0_back_copperH3
1C96ABCConnector_DIN:DIN41612_R_3x32_Male_Horizontal_THTJ2
1Conn_02x10_Odd_Even_MountingPinConnector_PinHeader_2.54mm:PinHeader_2x10_P2.54mm_VerticalJ7
1LM741Package_DIP:DIP-8_W7.62mmU92
1P8212Cobra_original:DIP-24_W15.24mmU76
1Z80CPUPackage_DIP:DIP-40_W15.24mmU90
1front_CUCobra_original:cobra_3.0_front_copperH1
1~Cobra_original:Reset_SwitchRSW1

Questions

How big is the 2layer PCB?

It measures 299.2 × 180 mm and has 2 copper layers, 1.6 mm thick.

What parts does the 2layer use?

369 parts, built around the P8212, 74LS42PC, 27C128-15 and 74LS00SC. 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 2layer KiCad files?

From the ceteras/CoBra repository on GitHub, at the commit this page was made from: the board is mainboard/2layer/kicad/main.kicad_pcb and its schematic adapter/USB-Keyboard/kicad/CObra_USB_KB/CObra_USB_KB.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the 2layer design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).

More from ceteras/CoBra

2
  • 4 layers62.7 × 78.7 mmS video, the printed circuit board in 3D

    S video

    ceteras/CoBra

    A Z80 retro computer, ZX Spectrum compatible, can also run CP/M.

    41 parts11MIT
  • 2 layers37.9 × 44.2 mmCObra USB KB, the printed circuit board in 3D

    CObra USB KB

    ceteras/CoBra

    A Z80 retro computer, ZX Spectrum compatible, can also run CP/M.

    12 parts11MIT

Similar boards

  • 2 layers299.2 × 180 mmCobra XP, the printed circuit board in 3D

    Cobra XP

    ceteras/Cobra-XP

    Derived from Cobra, an experimental board for testing all kind of mods.

    452 parts5MIT
  • 2 layers486 × 306.3 mmMonacoGP, the printed circuit board in 3D

    MonacoGP

    stonedDiscord/MonacoGP

    Sega MonacoGP TTL Boards

    257 parts1
  • 2 layers630 × 300 mmSecretBase, the printed circuit board in 3D

    SecretBase

    stonedDiscord/SecretBase

    SEGA Secret Base Arcade Game

    441 parts
  • 2 layers349.3 × 160 mmPowertran polysynth, the printed circuit board in 3D

    Powertran polysynth

    icnagy/powertran-polysynth

    Powertran/ETI polysynth

    113 parts
  • 2 layers236.8 × 169.8 mmTK2000, the printed circuit board in 3D

    TK2000

    clemarfolly/Microdigital-TK2000

    Reprodução da PCB do TK-2000 da Microdigital, clone do Micro-Professor MPF-II

    212 parts17
  • 2 layers279.9 × 76.1 mmAmdekDVM, the printed circuit board in 3D

    AmdekDVM

    schlae/AmdekDVM

    Reverse engineering Amdek DVM video card for the Apple II

    69 parts4CERN-OHL-P-2.0
  • 2 layers385 × 230 mmMZ80K, the printed circuit board in 3D

    MZ80K

    Board-Folk/Sharp-MZ-80K

    Sharp MZ-80K Replica Public

    254 parts6
  • 2 layersNewBrain Original, the printed circuit board in 3D

    NewBrain Original

    flypie/NewBrain

    Newbury/Grundy NewBrain schematics

    209 parts5GPL-3.0