Skip to the content
PCBKitNew board
2 layers30 × 70 mmCtvt pmod, the printed circuit board in 3D

CT and VT analog acquisition PMOD for Tiny Tapeout energy-monitor testing

Size
30 × 70 mm
Copper layers
2
Thickness
1.6 mm
Parts
39
Nets
23
Pads
110
Tracks, vias
287, 11
Pours
2
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
14 Aug 2026
Updated
16 Oct 2026

Overview

Ctvt pmod is an open-source printed circuit board by whatnick, from the whatnick/ctvt-pmod repository on GitHub. It is a 2-layer board of 30 × 70 mm with 39 parts on 23 nets, routed with 287 tracks and 11 vias.

It is built around the PJ-002BH-SMT-TR, SJ-3523-SMT-TR and SMBJ18CA, with the SMF3.3CA among its other parts. Its parts include 13 resistors, 7 capacitors, 4 connectors, 2 diodes and 1 IC.

Main components

4

README

README.md

CTVT PMOD

CTVT PMOD assembled isometric render

CTVT PMOD is a compact, open-hardware analog front end for phase-coherent current and voltage sampling. It uses a TI ADS131M02 dual 24-bit delta-sigma ADC and is intended for energy-monitoring DSP experiments, including Tiny Tapeout ASIC projects.

The routed KiCad 10 design is 30 mm x 70 mm with 3 mm corner radii and two 2.2 mm non-plated M2 mounting holes at the PMOD end. The PMOD connectors are centered together on one short edge; the CT and AC/AC transformer inputs face away from them at the opposite edge so adjacent PMODs remain usable. All routed signals use 0.25 mm traces with 0.20 mm copper clearance.

The narrow layout keeps the measurement front end beside other PMODs rather than blocking them. Both field connectors project beyond the board edge for comfortable cable access, while the vertical female header provides a second PMOD connection for stacking or logic-analyzer access.

Component sideRear silkscreen and routing
Component-side renderRear render

Digital companion

The CTVT Energy DSP repository contains the companion Tiny Tapeout design. Its working first stage captures ADS131M02 frames, performs time-shared multiply-accumulate operations, generates the ADC clock and reset, and publishes coherent voltage, current, active-power, RMS, and energy measurements over a separate host SPI interface. The roadmap adds full ADC register configuration, gain/phase calibration, power-quality events, and resource-efficient Goertzel harmonic analysis.

See ADC PMOD comparative analysis for a comparison with the commercial ADC and mixed-signal boards listed in docs/expansion_boards__daughter_cards.csv, including the AD7124-8 precision delta-sigma PMOD.

Signal path

text
CT jack -> split burden -> protection -> differential RC filter --+
                                                                   |
AC/AC jack -> balanced divider -> protection -> differential RC ---+-> ADS131M02
                                                                        |
3.3 V PMOD <---------------- SPI, DRDY, RESET, CLK ----------------------+
  • Current channel: Same Sky SJ-3523-SMT-TR 3.5 mm stereo jack, with tip and sleeve as the differential CT input and ring grounded. Two 6.49 ohm 0.1% burden resistors form a 12.98 ohm differential burden. The jack's mating face overhangs the field edge by 2.0 mm so a right-angle plug body clears the PCB.
  • Voltage channel: Same Sky PJ-002BH-SMT-TR barrel jack for an isolated 9-12 VAC transformer. Each leg uses a 100 kohm / 6.49 kohm balanced divider.
  • Filtering: Each ADC channel has two 1 kohm series resistors and a 10 nF C0G differential capacitor, giving an approximate 8 kHz differential pole.
  • Assembly: All chip passives are 0603 or larger and every fitted reference designator is present on silkscreen.
  • Protection: SMF3.3CA on the CT input and SMBJ18CA on the transformer input.
  • Conversion: ADS131M02 with filtered analog power, local decoupling, seven test points, and simultaneous voltage/current sampling.

PMOD interface

J1 is the right-angle male peripheral connector. J4 is a vertical female Wurth 61301221821 vertical pass-through socket; all twelve pins are connected one-to-one for PMOD chaining.

PinSignalDirection at CTVTPurpose
1CSInputSPI chip select
2MOSIInputSPI data to ADC
3MISOOutputSPI data from ADC
4SCLKInputSPI clock
5GNDPowerGround
6+3V3PowerRegulated 3.3 V input
7DRDYOutputConversion-ready interrupt
8RESETInputADC reset
9CLK_HOSTInputOptional external ADC clock
10RESERVEDPass-throughReserved chained signal
11GNDPowerGround
12+3V3PowerRegulated 3.3 V input

The Tiny Tapeout companion maps the PMOD signals as follows:

PMOD signalTiny Tapeout signal
CSuio[0]
MOSIuio[1]
MISOuio[2]
SCLKuio[3]
DRDYuio[4]
RESETuio[5]
CLK_HOSTuio[6]

This standard Pmod ordering lets the board plug directly into the bidirectional Tiny Tapeout/FabricFox connector. The host processor uses the separate input and output ports, so it does not contend with the ADC bus.

Scaling and calibration

The CT channel differential voltage is:

text
V_CT_RMS = I_secondary_RMS x 12.98 ohm

For example, a 100 A : 50 mA CT produces approximately 0.649 Vrms at rated primary current. Confirm the selected CT's maximum secondary current and fault behavior before connection.

The voltage channel nominal divider ratio is:

text
6.49 kohm / (100 kohm + 6.49 kohm) = 0.06095

A 9-12 Vrms isolated transformer therefore produces approximately 0.549-0.731 Vrms differential at the ADC input. Configure the ADS131M02 gain for the resulting peak voltage and retain headroom for transformer regulation and mains excursions.

Calibrate voltage gain, current gain, phase, and channel offset against a traceable low-voltage source before calculating power. TP1-TP4 expose the four ADC inputs; TP5 is DRDY, TP6 is +3V3, and TP7 is GND.

Safety

Use only an isolated CT and a certified isolated AC/AC transformer. Never connect mains directly to this board. The barrel jack is an isolated low-voltage AC input, not a DC supply input. Enclosure, wiring, fusing, creepage, clearance, and regulatory compliance remain the responsibility of the final system.

Build and outputs

Open ctvt-pmod.kicad_pro in KiCad 10. The committed schematic and PCB are complete and routed. Project-local connector footprints and STEP models avoid dependencies on the ATM90E26 FeatherWing repository.

The design sources are generated in this order:

powershell
python scripts\generate_schematic.py
& "C:\Program Files\KiCad\10.0\bin\python.exe" scripts\generate_board.py
# Export a Specctra DSN, route it, and save the result as routing\ctvt-pmod.ses.
& "C:\Program Files\KiCad\10.0\bin\python.exe" scripts\finalize_route.py

scripts/finalize_route.py imports the saved Freerouting session, normalizes all traces to at least 0.25 mm, verifies the stereo jack's generated 2.0 mm mating-face overhang, adds the rear OSHW/Whatnick branding, and fills GND zones on both copper layers. Run scripts\adjust_stereo_jack.py to verify the overhang independently or scripts\add_branding.py to reapply only the branding. Run scripts\add_mechanical_features.py to reapply the 3 mm corner radii and two M2 mounting holes without disturbing routed copper or manual silkscreen. Manufacturing exports are generated into ignored gerbers/ and bom/ directories. The reviewed orderable BOM and DigiKey sourcing notes are committed in docs/ctvt-pmod-sourced-bom.csv and docs/bom-sourcing.md.

Generate the Elecrow PCBA upload package with:

powershell
python scripts\export_elecrow.py

This creates manufacturing/elecrow/ctvt-pmod-elecrow-pcba.zip containing a Gerber ZIP, curated BOM, component position file, and current KiCad DRC/ERC reports. See docs/elecrow-manufacturing.md for package contents and assembly-review notes.

Repository contents

  • ctvt-pmod.kicad_sch - complete schematic
  • ctvt-pmod.kicad_pcb - routed two-layer PCB
  • ctvt-pmod.pretty/ - project-local barrel-jack and PMOD socket footprints
  • models/step/ - project-local connector STEP models
  • routing/ctvt-pmod.ses - saved autorouter result
  • scripts/ - deterministic schematic, placement, and routing finalization

Licensed under CERN-OHL-S-2.0-or-later.

Parts

39
QtyValueFootprintReferences
41k 0.1%R_0603_1608MetricR3, R4, R9, R10
2100k 0.1%R_0805_2012MetricR5, R6
2100nFC_0603_1608MetricC4, C6
210kR_0603_1608MetricR11, R12
210nF C0GC_0603_1608MetricC1, C2
21uFC_0603_1608MetricC3, C5
26.49R 0.1%R_0805_2012MetricR1, R2
26.49k 0.1%R_0805_2012MetricR7, R8
2M2 mounting holeMountingHole_2.2mm_M2H1, H2
1+3V3TestPoint_Pad_D1.0mmTP6
1220nFC_0603_1608MetricC7
133RR_0603_1608MetricR13
1600R@100MHzL_0603_1608MetricFB1
161301221821PinSocket_2x06_P2.54mm_PMODHost1AJ4
1ADS131M02IPWRTSSOP-20_4.4x6.5mm_P0.65mmU1
1AIN0NTestPoint_Pad_D1.0mmTP2
1AIN0PTestPoint_Pad_D1.0mmTP1
1AIN1NTestPoint_Pad_D1.0mmTP4
1AIN1PTestPoint_Pad_D1.0mmTP3
1DRDYTestPoint_Pad_D1.0mmTP5
1GNDTestPoint_Pad_D1.0mmTP7
1OSHW-LOGO-MOSHW-LOGO-MLOGO1
1PJ-002BH-SMT-TRDC_BARREL_JACK_SMD_2MMJ3
1SJ-3523-SMT-TRJack_3.5mm_CUI_SJ-3523-SMT_HorizontalJ2
1SMBJ18CAD_SMBD2
1SMF3.3CAD_SOD-123FD1
1Tiny Tapeout PMODPinHeader_2x06_P2.54mm_HorizontalJ1
1Whatnick_logoWhatnick_logoLOGO2

Questions

How big is the Ctvt pmod PCB?

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

What parts does the Ctvt pmod use?

39 parts, built around the PJ-002BH-SMT-TR, SJ-3523-SMT-TR, SMBJ18CA and SMF3.3CA. 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 Ctvt pmod KiCad files?

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

Can I use the Ctvt pmod design in my own project?

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

Similar boards

  • 6 layers105.6 × 100.9 mmSimpleCarrier, the printed circuit board in 3D

    SimpleCarrier

    alexian79/simpleCarrier

    146 partsBSD-2-Clause
  • 6 layers90 × 89 mmModular processing board, the printed circuit board in 3D

    Modular processing board

    igorwolfs/modular-processing-hw

    MCU Breakout board with Hirose BM28B connector

    177 parts1
  • 2 layers26 × 23 mmADXL345BCCZ, the printed circuit board in 3D

    ADXL345BCCZ

    lessthan00/ADXL345BCCZ_RL7_a

    kicad ADXL345 IIC SPI model

    18 parts
  • 2 layers15 × 20 mmAMS1117 3V3, the printed circuit board in 3D

    AMS1117 3V3

    lessthan00/AMS1117_3V3

    VIN 18V VOUT 3.3V IOUT 1A package SOT-223 IQ 12mA VD 1.4V@1A

    8 parts
  • 2 layers17 × 19 mmHT7333, the printed circuit board in 3D

    HT7333

    lessthan00/HT7333

    kicad LDO vin12V vout3.3V iout250mA iq3uA

    8 parts
  • 2 layers14 × 17 mmME6206A33XG, the printed circuit board in 3D

    ME6206A33XG

    lessthan00/ME6206A33XG

    kicad LDO SOT-23-3

    8 parts
  • 2 layers15 × 18 mmME6210A33PG, the printed circuit board in 3D

    ME6210A33PG

    lessthan00/ME6210A33PG

    kicad LED 18V 3.3V SOT-89

    8 parts