Skip to the content
2 layers65 × 30 mmCivic serializer, the printed circuit board in 3D

Civic_IC_Video_Serializer

Size
65 × 30 mm
Copper layers
2
Thickness
1.6 mm
Parts
38
Nets
53
Pads
168
Tracks, vias
530, 73
Pours
2
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
10 Feb 2025
Updated
15 Aug 2026

Overview

Civic serializer is an open-source printed circuit board by George117, from the George117/Civic_IC_Video_Serializer repository on GitHub, published under the MIT licence. It is a 2-layer board of 65 × 30 mm with 38 parts on 53 nets, routed with 530 tracks and 73 vias.

It is built around the AMS1117-3.3. Its parts include 13 capacitors, 9 resistors, 2 ICs and 1 connector.

Main components

1

README

README.md

DS90UB302Q Pattern Generator Tool

Serial-driven ESP8266 tool for talking directly to a DS90UB302Q FPD-Link III deserializer over local I2C, and bringing up its internal test pattern generator.

No serializer, no FPD-Link cable, and no pixel clock are required. The point is to prove out the panel and the deserializer's output path independently of everything upstream.


Wiring

ESP8266 / NodeMCU:

ESP8266SignalTo
D1 (GPIO5)SCL302 SCL
D2 (GPIO4)SDA302 SDA
GNDGNDcluster GND

Share a ground. Do not add pull-up resistors — the target board already has them, and doubling up can pull the bus below the low-level threshold.

I2C address is 0x2C (7-bit), which corresponds to IDx strapped to 0 V — entry 1 in the DS90UB302Q address table.


Usage

  1. Flash the sketch.
  2. Open the serial monitor at 115200.
  3. Press g.

g runs the full bring-up: probe → verify identity → force outputs on → enable a white test pattern using the internal timing defaults → print status.

Commands

KeyAction
hHelp
pProbe and verify identity (falls back to a bus scan if no ACK)
sStatus: lock, output state, patgen config, internal timing readback
dDump direct registers
o / OOutputs on (0x02 = 0xE0) / off (back to OEN pin control)
gFull bring-up sequence
1–5Pattern: white / black / red / green / blue
ePattern with external timing (needs a locked link)
cCustom internal timing example
zPattern generator off
RSoft reset (0x01 bit 0, preserves registers)
WToggle change-watchdog
r <reg> / w <reg> <val>Read / write a direct register (hex)
I <ia> / i <ia> <val>Read / write an indirect register (hex)

All writes are read back and verified; mismatches are reported.


Run s first

Before writing anything, run s. It reads the indirect timing registers back. Expect:

text
divider N = 8
total  840 x 485
active 800 x 480
hsw=10 vsw=2 hbp=10 vbp=2

That confirms the indirect register map is correct for your part and that the defaults match AN-2198's Table 3-8. If those reads come back as zeros or garbage, stop — the map doesn't apply and nothing downstream will behave.


Two things that block a picture

Outputs are tri-stated by default. Register 0x02 resets to 0x00: output enable off, and the OEN pin in control. Writing 0xE0 enables the outputs, overrides the OEN pin, and routes the internal oscillator onto PCLK during loss of lock — which is the state you're in with no serializer attached.

Wire.begin(100000) is a slave-mode call. The single-argument form of Wire.begin() takes an address, not a bit rate. This sketch uses Wire.begin(SDA, SCL) followed by setClock(). If an earlier sketch of yours used the single-argument form, its writes never landed.


Custom timing

patgenCustom() programs the full internal timing set through the indirect map. Bit packing was verified against the worked example in AN-2198 §4.3 (1176×525 total, 800×480 active → 0x98/0xD4/0x20 and 0x20/0x03/0x1E).

c
patgenCustom(hTotal, vTotal, hActive, vActive,
             hsw, vsw, hbp, vbp, divN, negSync, pattern);

Indirect registers may only be written while the pattern generator is disabled. patgenCustom() handles this; if you use i manually, send z first.

divN is empirical. AN-2198 documents a 200 MHz internal oscillator for the 92x/94x parts, but the 302 isn't in that table. Sweep it with i 03 <n> if the image rolls.


If nothing appears

Work through this in order:

  1. Does p report 0x00 = 0x58? If not, it's wiring or I2C init — nothing downstream matters.
  2. Does s show out_en=1 after o? If it reverts to 0x00, another master is writing to the device. Turn on W to catch it.
  3. Is the backlight on? It's likely driven by the host MCU, not the 302. A perfect pattern on a dark panel looks exactly like no pattern.
  4. Does the 302's RGB output reach the panel directly, or through a mux? If it's muxed, forcing output enable puts you in contention with whatever else drives that bus. Trace it before leaving the outputs enabled.

The W watchdog polls PGCTL, PGCFG, and CONFIG0 once a second and reports any change it didn't make — useful for catching a host MCU that resets the part behind you.


References

  • DS90UB302Q datasheet (SNLS410)
  • AN-2198 / SNLA132G — Exploring the Internal Test Pattern Generation Feature of FPD-Link III IVI Devices

Note: AN-2198 §4.2 and §4.3 say to write 0x03 to PGCFG for "24-bit with internal clock." That contradicts the register table in the same document — bit 3 is external-clock-select and bit 2 is timing-select, so internal clock plus internal timing is 0x04. §4.4 is consistent with the table. This tool uses 0x04.

Parts

38
QtyValueFootprintReferences
64.7uCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC5, C6, C7, C8, C9, C10
4MountingHole_2.7mm_M2.5MountingHole:MountingHole_2.7mm_M2.5MH1, MH2, MH3, MH4
3100nCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC1, C11, C12
310uCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC2, C3, C4
34K7Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR3, R4, R5
2100RResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR6, R8
2FerriteBeadInductor_SMD:L_0603_1608Metric_Pad1.05x0.95mm_HandSolderFB1, FB2
2RResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR7, R9
2R_Potentiometer_TrimPotentiometer_THT:Potentiometer_Vishay_T93YA_VerticalIDX1, MD_SEL1
2TestPointConnector_PinSocket_2.54mm:PinSocket_1x01_P2.54mm_VerticalIDX2, MDE1
110KResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR2
110uFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC13
14K7Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR1
1AMS1117-3.3Package_TO_SOT_SMD:SOT-223-3_TabPin2U1
1Conn_01x02_SocketConnector_PinSocket_2.54mm:PinSocket_1x02_P2.54mm_VerticalI2C1
1Conn_01x03_PinConnector_JST:JST_NV_B03P-NV_1x03_P5.00mm_VerticalLVDS1
1DS90UB925QSQX_NOPBFootprint_library:QFN50P700X700X80-49N-DIC1
1GPIOConnector_PinSocket_2.54mm:PinSocket_2x20_P2.54mm_VerticalJ1
1LEDLED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder5V1

Similar boards

  • 2 layers290.1 × 130 mmPro V2, the printed circuit board in 3D

    Pro V2

    kata0510/Lily58

    6×4+4keys column-staggered split keyboard.

    312 parts2.3k
  • 2 layers26.2 × 45.5 mmPL18 multiprotocol, the printed circuit board in 3D

    PL18 multiprotocol

    pascallanger/DIY-Multiprotocol-TX-Module

    Multiprotocol TX Module (or MULTI-Module) is a 2.4GHz transmitter module which controls many different receivers and models.

    24 parts1.9kGPL-3.0
  • 4 layers99 × 53.3 mmPSLab, the printed circuit board in 3D

    PSLab

    fossasia/pslab-hardware

    PSLab Hardware Design and Schematics https://pslab.io

    199 parts1.7kApache-2.0
  • 4 layers85 × 56 mmPslab mini, the printed circuit board in 3D

    Pslab mini

    fossasia/pslab-mini-hardware

    PSLab Mini Hardware https://pslab.io

    182 parts1.2kApache-2.0
  • 4 layers100 × 54 mm32Bit shift register, the printed circuit board in 3D

    32Bit shift register

    MaltWhiskey/Mega-Cube

    16x16x16 PL9823 Cube with Teensy 4.0 and FlexIO driver

    64 parts766
  • 2 layers44.2 × 29.3 mmI2c tiny usb, the printed circuit board in 3D

    I2c tiny usb

    harbaum/I2C-Tiny-USB

    Cheap and simple I²C to USB interface

    27 parts454
  • 2 layers78 × 60 mmIce viz, the printed circuit board in 3D

    Ice viz

    muni-works/vcad

    BRep CAD kernel in Rust/WASM

    44 parts442Apache-2.0
  • 2 layers59.1 × 99.9 mmCheap FOCer 2 60mm, the printed circuit board in 3D

    Cheap FOCer 2 60mm

    shamansystems/Cheap-FOCer-2

    Low-Cost Motor Controller based on the VESC 6

    193 parts407

Questions

How big is the Civic serializer PCB?

It measures 65 × 30 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Civic serializer use?

38 parts, built around the AMS1117-3.3. 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 Civic serializer KiCad files?

From the George117/Civic_IC_Video_Serializer repository on GitHub, at the commit this page was made from: the board is civic_serializer/civic_serializer.kicad_pcb and its schematic civic_serializer/civic_serializer.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Civic serializer 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).