Skip to the content
2 layers59.7 × 45.1 mmEGA2RGBC, the printed circuit board in 3D

EPROM based EGA/CGA to analog RGBS converter

Size
59.7 × 45.1 mm
Copper layers
2
Thickness
1.6 mm
Parts
27
Nets
35
Pads
123
Tracks, vias
382, 0
Pours
2
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
10 Jan 2021
Updated
9 Nov 2021

Overview

EGA2RGBC is an open-source printed circuit board by hkzlab, from the hkzlab/EGA-2-RGBS repository on GitHub, published under the CC-BY-SA-4.0 licence. It is a 2-layer board of 59.7 × 45.1 mm with 27 parts on 35 nets, routed with 382 tracks and 0 vias.

It is built around the 1N4733A. Its parts include 10 resistors, 5 capacitors, 4 connectors, 2 ICs and 2 diodes. It belongs with the retro computing and games and lEDs and displays boards of this library.

Main components

1

README

README.md

EGA-2-RGBS

Months ago I ran into this video on YouTube that described how to implement an EGA/CGA to analog RGBS signal using just a ROM and a few passive components. Thinking it was a nice idea, I decided to implement my variant of it (including the tool that generates the values to program the EPROM), also including an optional buffer on the outputs of the ROM.

Rev. 1.1 PCB

CAVEAT EMPTOR: For now I tested this board only in DOS with a CGA card. Will update this note when I test EGA and colours.

Note that this will not convert EGA/CGA to VGA, it will just make the signal analog and compatible with either a SCART input or a scaler like the GBS8200 (tested with gbs-control firmware).

Jumpers

  • JP1: Bridge if you are using this with an EGA card, remove bridge for CGA
  • JP2: Disable Brown colour fix for CGA. No effect on EGA
  • JP3: Bridge 1-2 to output a CSYNC signal, bridge 2-3 for /CSYNC

Building the board

BOM

  • 1x 20pin socket (on U2)
  • 1x 32pin wide socket (on U1)
  • 2x 100nF ceramic caps (C5 and C4)
  • 1x Right angle DB9 female PCB connector (J1)
  • 1x 6 or 5 pin screw terminal (J5)
  • 1x 2 pin screw terminal (J4)
  • 1x 1206 SMD fuse rated around ~100mA (F1), 100mA is already very high for the power consumption of the board, but I had these at hand
  • 1x 3 pin 2.54mm male pcb header, plus jumper (J3)
  • 2x 2 pin 2.54mm male pcb header, plus jumpers (JP1 and JP2)
  • 1x First random led you have at hand, optional (D2)
  • 1x 1N4733A 5.1v zener diode (D1)
  • 1x 74HC244 DIP, optional (U2)
  • 1x 27C010 DIP (U1)
  • 4x 470 1/4w resistors (R2, R4, R6, R10)
  • 3x 1.5k 1/4w resistors (R3, R5, R7)
  • 1x 1k 1/4w resistor (R11)
  • 2x 4.7k 1/4w resistors (R8, R9)

Remember to program the EPROM with the bin file provided in the repository.

Building on the cheap

You can omit the following components:

Power

Omit F1 and D1, bridge the two connections points of F1. Do this if you trust your power supply and yourself not to make shorts.

You can also omit the power indicator led D2 and its resistor R11

Sockets

You can omit both U1 and U2 sockets. Remember to mount C4, C5, R8 and R9 on the underside of the board if you do this.

Output buffer

You can omit U2 entirely. Just bridge the following points on the footprint:

  • 2->18
  • 4->16
  • 6->14
  • 8->12
  • 11->9
  • 13->7
  • 15->5
  • 17->3

Also omit C4 in this case.

Credits

Parts

27
QtyValueFootprintReferences
4470Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_HorizontalR2, R4, R6, R10
322pFCapacitor_THT:C_Disc_D3.0mm_W2.0mm_P2.50mmC1, C2, C3
3680Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_HorizontalR3, R5, R7
2100nFCapacitor_THT:C_Disc_D3.0mm_W2.0mm_P2.50mmC4, C5
24.7kResistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_HorizontalR8, R9
110kResistor_THT:R_Array_SIP9RN1
11N4733ADiode_THT:D_DO-41_SOD81_P10.16mm_HorizontalD1
11kResistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_HorizontalR11
1250mAFuse:Fuse_1206_3216MetricF1
127C010Package_DIP:DIP-32_W15.24mmU1
174LS244Package_DIP:DIP-20_W7.62mmU2
1Brown FixConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJP2
1CSync SelectionConnector_PinSocket_2.54mm:PinSocket_1x03_P2.54mm_VerticalJ3
1EGA InputConnector_Dsub:DSUB-9_Female_Horizontal_P2.77x2.84mm_EdgePinOffset4.94mm_Housed_MountingHolesOffset7.48mmJ1
1EGA/CGAConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJP1
1PowerTerminalBlock:TerminalBlock_bornier-2_P5.08mmJ4
1PowerLED_THT:LED_D2.0mm_W4.8mm_H2.5mm_FlatTopD2
1Video OutTerminalBlock:TerminalBlock_bornier-6_P5.08mmJ5

Similar boards

  • 2 layers96.8 × 97 mmPsoc5power, the printed circuit board in 3D

    Psoc5power

    profdc9/DRSSTC-PCB-Pack

    A pack of PCBs for a dual resonant solid state tesla coil setup. Pretty much everything you need.

    133 parts59
  • 2 layers100 × 100 mmController, the printed circuit board in 3D

    Controller

    profdc9/ModularTuner

    A Modular Antenna Tuner for a Phased Array Antenna System

    180 parts59
  • 2 layers148.8 × 132.2 mmUsbflashprog, the printed circuit board in 3D

    Usbflashprog

    robsonsmartins/usbflashprog

    A memory device programmer (Flash/EPROM/E2PROM) board and software, connected to PC by USB port.

    125 parts36
  • 2 layers91 × 186.5 mmDendy, the printed circuit board in 3D

    Dendy

    UzixLS/dendy

    Yet another Dendy (Famicom) clone - 8-bit home video game console

    141 parts19
  • 2 layers33.9 × 90 mmBiasPro InputProtection v3, the printed circuit board in 3D

    BiasPro InputProtection v3

    ToneAlchemy/BiasPro

    A professional-grade, dual-probe Arduino Bias Meter for guitar tube amplifiers. Open source hardware & firmware

    18 parts16MIT
  • 2 layers100 × 100 mmLinearPS, the printed circuit board in 3D

    LinearPS

    profdc9/LinearPS

    Linear constant constant/current constant voltage power supply PCB

    102 parts14
  • 2 layers141.9 × 100 mmTeensy MainPCB, the printed circuit board in 3D

    Teensy MainPCB

    Starsurfer78/TeensyMower-PCBs

    PCB's Folder for Teensy 4.1 based Robot Lawn Mower

    160 parts9GPL-3.0
  • 2 layersNewBrain Original, the printed circuit board in 3D

    NewBrain Original

    flypie/NewBrain

    Newbury/Grundy NewBrain schematics

    209 parts5GPL-3.0

Questions

How big is the EGA2RGBC PCB?

It measures 59.7 × 45.1 mm and has 2 copper layers, 1.6 mm thick.

What parts does the EGA2RGBC use?

27 parts, built around the 1N4733A. 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 EGA2RGBC KiCad files?

From the hkzlab/EGA-2-RGBS repository on GitHub, at the commit this page was made from: the board is EGA2RGBC_EPROM/EGA2RGBC.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the EGA2RGBC design in my own project?

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