

Civic serializer
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
1README
README.mdDS90UB302Q 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:
| ESP8266 | Signal | To |
|---|---|---|
| D1 (GPIO5) | SCL | 302 SCL |
| D2 (GPIO4) | SDA | 302 SDA |
| GND | GND | cluster 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
- Flash the sketch.
- Open the serial monitor at 115200.
- 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
| Key | Action |
|---|---|
h | Help |
p | Probe and verify identity (falls back to a bus scan if no ACK) |
s | Status: lock, output state, patgen config, internal timing readback |
d | Dump direct registers |
o / O | Outputs on (0x02 = 0xE0) / off (back to OEN pin control) |
g | Full bring-up sequence |
1–5 | Pattern: white / black / red / green / blue |
e | Pattern with external timing (needs a locked link) |
c | Custom internal timing example |
z | Pattern generator off |
R | Soft reset (0x01 bit 0, preserves registers) |
W | Toggle 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:
divider N = 8
total 840 x 485
active 800 x 480
hsw=10 vsw=2 hbp=10 vbp=2That 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).
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:
- Does
preport0x00 = 0x58? If not, it's wiring or I2C init — nothing downstream matters. - Does
sshowout_en=1aftero? If it reverts to0x00, another master is writing to the device. Turn onWto catch it. - 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.
- 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| Qty | Value | Footprint | References |
|---|---|---|---|
| 6 | 4.7u | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C5, C6, C7, C8, C9, C10 |
| 4 | MountingHole_2.7mm_M2.5 | MountingHole:MountingHole_2.7mm_M2.5 | MH1, MH2, MH3, MH4 |
| 3 | 100n | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C1, C11, C12 |
| 3 | 10u | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C2, C3, C4 |
| 3 | 4K7 | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R3, R4, R5 |
| 2 | 100R | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R6, R8 |
| 2 | FerriteBead | Inductor_SMD:L_0603_1608Metric_Pad1.05x0.95mm_HandSolder | FB1, FB2 |
| 2 | R | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R7, R9 |
| 2 | R_Potentiometer_Trim | Potentiometer_THT:Potentiometer_Vishay_T93YA_Vertical | IDX1, MD_SEL1 |
| 2 | TestPoint | Connector_PinSocket_2.54mm:PinSocket_1x01_P2.54mm_Vertical | IDX2, MDE1 |
| 1 | 10K | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R2 |
| 1 | 10uF | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C13 |
| 1 | 4K7 | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R1 |
| 1 | AMS1117-3.3 | Package_TO_SOT_SMD:SOT-223-3_TabPin2 | U1 |
| 1 | Conn_01x02_Socket | Connector_PinSocket_2.54mm:PinSocket_1x02_P2.54mm_Vertical | I2C1 |
| 1 | Conn_01x03_Pin | Connector_JST:JST_NV_B03P-NV_1x03_P5.00mm_Vertical | LVDS1 |
| 1 | DS90UB925QSQX_NOPB | Footprint_library:QFN50P700X700X80-49N-D | IC1 |
| 1 | GPIO | Connector_PinSocket_2.54mm:PinSocket_2x20_P2.54mm_Vertical | J1 |
| 1 | LED | LED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder | 5V1 |
Similar boards
- 2 layers290.1 × 130 mm

- 2 layers26.2 × 45.5 mm

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 mm

PSLab
fossasia/pslab-hardware
PSLab Hardware Design and Schematics https://pslab.io
199 parts1.7kApache-2.0 - 4 layers85 × 56 mm

- 4 layers100 × 54 mm

32Bit shift register
MaltWhiskey/Mega-Cube
16x16x16 PL9823 Cube with Teensy 4.0 and FlexIO driver
64 parts766 - 2 layers44.2 × 29.3 mm

- 2 layers78 × 60 mm

- 2 layers59.1 × 99.9 mm

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).