Skip to the content
2 layers100 × 64 mmRf power monitor rev2, the printed circuit board in 3D

Rf power monitor rev2

TheKingOfChaos/RF-Power-Monitor

A 2-layer carrier board for the WIZnet W5500-EVB-Pico-PoE. It is 80 x 51.5 mm: exactly as long as the module, so both short edges line up with the module.

Size
100 × 64 mm
Copper layers
2
Thickness
1.6 mm
Parts
129
Nets
86
Pads
430
Tracks, vias
3,318, 305
Pours
1
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
16 Feb 2025
Updated
7 Nov 2026

Overview

Rf power monitor rev2 is an open-source printed circuit board by TheKingOfChaos, from the TheKingOfChaos/RF-Power-Monitor repository on GitHub. It is a 2-layer board of 100 × 64 mm with 129 parts on 86 nets, routed with 3,318 tracks and 305 vias.

It is built around the RP2040, TLV62569DBVR-TP and W25Q16JVSNIQ, with the LTV-814S-TA1, SN74LVC1G14DBVR and W5500 among its other parts. Its parts include 45 capacitors, 41 resistors, 8 ICs, 4 diodes and 4 connectors. It belongs with the radio and wireless boards and the RP2040 boards of this library.

Main components

12

README

hardware/pico-poe-mains-carrier/README.md

W5500-EVB-Pico-PoE mains monitor carrier

Carrier board with the W5500-EVB-Pico-PoE soldered on

A 2-layer carrier board for the WIZnet W5500-EVB-Pico-PoE. It is 80 x 51.5 mm: exactly as long as the module, so both short edges line up with the module. The board extends 1.5 mm above the module for the solder fillets. It has 5x M3 holes, with centres at (4, 25.5), (4, 46) and (76, 46) mm from the module's top-left corner, plus H4 (30, 10.5) and H5 (66.5, 10.5) under the module, between the header rows. All SMD parts are on the top side. The only through-hole parts are the module headers and the screw terminal.

The successor, rev 2, puts the RP2040 and W5500 on one board with these circuits (designed, not built yet).

What it does

FunctionConnection
230 VAC present / absentGP27 (module pin 32): HIGH = mains present, LOW = mains absent
LED indication (hardware, no firmware needed)Green D1 = mains ON, red D2 = mains OFF
TemperatureTMP1075 on I2C0: GP4 = SDA, GP5 = SCL, address 0x48
Factory resetSW1 from GP22 (module pin 29) to GND, below the module; hold 10 s (the firmware's internal pull-up holds GP22 high)
PowerFrom the module's 3V3(OUT) pin 36 (the module is PoE powered)

GP16 to GP21 are used by the on-board W5500 and are not used here.

Mounting the module

Soldered flatOn female headers
Module soldered flatModule on headers
Side view, flatSide view, headers

You can mount the module in either of two ways; the footprint supports both.

  • Socketed: two 1x20 female headers (2.54 mm, 8.5 mm high, e.g. LCSC C2905423) in the through-hole pads, and two 1x20 male headers (2.5 mm body) soldered under the module. The module sits 11 mm above the carrier and stays removable. Use all five mounting holes: screw the carrier down through H4 and H5 first (a normal M3 pan or cheese head fits easily), then plug the module in.
  • Soldered flat: the module's long edges are castellated, and every pin has a pad that reaches 1 mm past the module edge. Solder the castellations directly; no headers are needed. H4 and H5 are covered by the module and stay empty; mount the carrier by H1 to H3.

For flat mounting, the carrier has clearance for the parts that stick out under the module. The positions come from WIZnet's V1.1 drill file.

  • A corner notch for the RJ45 pins, posts and shield tabs, and for the PoE module's first 1x4 header (x 20.4 mm).
  • A window for the PoE module's second 1x4 header (x 55.0 mm) and the SWD header (x 58.5 mm).
  • A notch at the USB end for the USB-C shell and its tabs, which reach 0.37 mm below the module.

Trim any header pins under the module flush before soldering it down.

Circuit

  • 230 VAC goes in on J1 (L/N, 5.08 mm screw terminal on the right edge; the wires enter from the same end as the USB port).
  • F1 (SETfuse SCT1032T1A250V, T 1 A, 250 VAC, 100 A breaking capacity) follows J1 in L. The mains side is a single series loop (L, F1, R1, optocoupler, R4, R3, R2, N), so F1 carries any fault current on the board, whichever way L and N are wired. The loop carries only about 1.2 mA and a single shorted resistor still leaves at least 204 k, so F1 is there for hard faults (an arc-over, L and N bridged), which a T 1 A fuse clears as well as a smaller one. It does not replace the upstream fuse.
  • Four 68 k 1206 resistors rated 200 V (R1 in L, R2 to R4 in N) limit the current to about 1.2 mA peak, about 50 mW per resistor.
  • An LTV-814S AC-input optocoupler (5 kVrms) pulls SENSE low on both half-cycles.
  • C1 (1 µF) with R5 (47 k) bridges the zero crossings, so SENSE goes high about 30 to 50 ms after mains is lost.
  • A 74LVC1G14 Schmitt inverter produces a clean MAINS_OK signal. It drives GP27 and both LEDs.

Isolation

The mains area is on the right, below the module's USB end, outlined on silkscreen ("DANGER 230VAC"). The low-voltage logic, LEDs and temperature sensor are on the left. MAINS_OK, +3V3 and I2C reach them on the bottom layer, running between the module's two header rows.

  • Mains copper is at least 6.5 mm from everything else, with at least 6.4 mm creepage. Both are enforced as DRC rules in pico-poe-mains-carrier.kicad_dru.
  • A routed slot under the optocoupler lengthens the creepage path.
  • There is no copper pour and there are no vias inside the mains area.
  • The mounting holes are well away from the mains area.

Files

  • pico-poe-mains-carrier.kicad_pro/.kicad_sch/.kicad_pcb: the KiCad 10 project
  • PicoPoE_Carrier.kicad_sym, PicoPoE_Carrier.pretty/: project symbols and the module footprint
  • fab/: Gerbers and drill (zip), BOM and CPL in JLCPCB format, schematic PDF, STEP model
  • tools/generate.py: generates the whole project; tools/check.sh runs ERC and DRC; tools/fab.sh exports the fab files

Assembly notes

  • Socketed: fit 2x 1x20 female headers (not in the BOM). Flat: solder the castellated edges, no headers needed.
  • The module (U1) is excluded from the BOM and CPL.
  • F1 is LCSC C19712559 (SETfuse SCT1032, 10.3 x 3.3 mm) on the Schurter UMT 250 footprint (10.1 x 3.1 mm); check it in JLCPCB's placement preview. A Schurter 3403.0156.11 (T 100 mA) fits the same pads. SW1 is LCSC C318884.
  • Check the rotation of U2, U3 and U4 in JLCPCB's placement preview before ordering.
  • The temperature reading includes some self-heating from the board and module. For true ambient, mount the board vertically or add an offset in firmware.
  • Mains wiring must be done by a qualified person. The board must sit in a closed enclosure, and the supply must be fused upstream.

Firmware

The firmware in this repository (C++, see the main README) runs on the module unchanged: it reads MAINS_OK on GP27 (HIGH = mains present) and uses the on-board W5500 on GP16-GP21. It reads the TMP1075 every 2 s as ambientTemperature (SNMP 63050.5, status screen, web page). Its 10 s factory reset reads SW1 on GP22 (active low).

Firmware sketch (MicroPython)

python
from machine import Pin, I2C
mains = Pin(27, Pin.IN)
i2c = I2C(0, sda=Pin(4), scl=Pin(5), freq=400_000)
raw = i2c.readfrom_mem(0x48, 0x00, 2)
temp_c = ((raw[0] << 8 | raw[1]) >> 4) * 0.0625   # sign-extend for < 0 C
print("mains", "ON" if mains.value() else "OFF", "temp", temp_c)

Repository layout

text
pico-poe-mains-carrier/
├── pico-poe-mains-carrier.kicad_pro   KiCad 10 project
├── pico-poe-mains-carrier.kicad_sch   schematic
├── pico-poe-mains-carrier.kicad_pcb   PCB
├── pico-poe-mains-carrier.kicad_dru   custom design rules (230 VAC isolation)
├── PicoPoE_Carrier.kicad_sym          project symbol library
├── PicoPoE_Carrier.pretty/            project footprint library (module footprint)
├── sym-lib-table, fp-lib-table        project library tables (paths are relative)
├── fab/                               Gerbers, BOM, CPL, schematic PDF (see fab/README.md)
├── images/                            renders: top, bottom, 3D and side views; module soldered flat
│                                      (iso, side-flat), on headers (*-headers) and carrier only
├── 3d/                                STEP + GLB of the board with the module soldered flat and on
│                                      headers, STEP of the carrier only, and WIZnet's module model
└── tools/
    ├── generate.py                    generates the whole KiCad project
    ├── check.sh                       regenerate + ERC + DRC (needs kicad-cli 10)
    ├── fab.sh                         export the files in fab/
    ├── render.sh                      render images/ and export 3d/
    └── stock_fp/                      copies of the KiCad 10 library footprints used

All library paths are relative (${KIPRJMOD}), so the folder works anywhere. For example, you can place it at hardware/pico-poe-mains-carrier/ in your firmware repository. Stock footprints and 3D models come from the standard KiCad 10 libraries.

tools/generate.py rewrites the schematic and PCB. If you edit the board by hand in KiCad, either copy the change into generate.py or stop using the generator; otherwise your edit will be overwritten.

3d/W5500-EVB-Pico-PoE_V1.1.step is WIZnet's 3D model of the module, from https://docs.wiznet.io/Product/Chip/Ethernet/W5500/W5500-EVB-Pico-PoE. The module footprint shows it soldered flat. The cutouts in the carrier match WIZnet's V1.1 drill file.

The footprints in tools/stock_fp/ are from the KiCad library, licensed CC-BY-SA 4.0 with an exception for designs made with them (https://www.kicad.org/libraries/license/).

Parts

129
QtyValueFootprintReferences
22100nFPCM_rf-power-monitor-rev2:C_0402_1005MetricC12, C13, C14, C15, C16, C17, C18, C25, C26, C27, C28, C29, C30, C31, C32, C33 +6
14TP_0.5mmRFPM_Rev2:TestPoint_Pad_D0.5mmTP1, TP2, TP3, TP4, TP5, TP6, TP7, TP8, TP9, TP10, TP11, TP12, TP13, TP14
54.7kPCM_rf-power-monitor-rev2:R_0402_1005Metric_0402WGF1003TCER14, R15, R16, R40, R41
410nF 100VPCM_rf-power-monitor-rev2:C_0603_1608MetricC5, C6, C7, C8
43.3RPCM_rf-power-monitor-rev2:R_0402_1005MetricR17, R18, R21, R22
449.9RPCM_rf-power-monitor-rev2:R_0402_1005MetricR19, R20, R23, R24
468k 1206 200VPCM_rf-power-monitor-rev2:R_1206_3216MetricR33, R34, R35, R36
475RPCM_rf-power-monitor-rev2:R_0402_1005MetricR7, R8, R9, R10
4M3MountingHole:MountingHole_3.2mm_M3H1, H2, H3, H4
31kPCM_rf-power-monitor-rev2:R_0402_1005Metric_0402WGF1003TCER29, R30, R31
322uFPCM_rf-power-monitor-rev2:CL21A226MAQNNNEC1, C2, C4
210uFPCM_rf-power-monitor-rev2:C_0805_2012MetricC3, C39
215pFPCM_rf-power-monitor-rev2:C_0402_1005Metric_0402CG150J500NTC40, C41
218pFPCM_rf-power-monitor-rev2:C_0402_1005Metric_0402CG180J500NTC21, C22
21nF 2kVPCM_rf-power-monitor-rev2:C_1808_4520MetricC9, C10
21uFPCM_rf-power-monitor-rev2:C_0402_1005Metric_CL05A105KA5NQNCC35, C36
227RPCM_rf-power-monitor-rev2:R_0402_1005MetricR27, R28
2330RPCM_rf-power-monitor-rev2:0402WGF3300TCER25, R26
24.7uFPCM_rf-power-monitor-rev2:CL10A475KO8NNNCC11, C19
25.1kPCM_rf-power-monitor-rev2:R_0402_1005MetricR1, R2
26.8nFPCM_rf-power-monitor-rev2:C_0402_1005MetricC23, C24
10RPCM_rf-power-monitor-rev2:R_0402_1005Metric_0402WGF1003TCER13
1100RPCM_rf-power-monitor-rev2:R_0603_1608MetricR38
1100kPCM_rf-power-monitor-rev2:R_0402_1005Metric_0402WGF1003TCER5
110kPCM_rf-power-monitor-rev2:R_0402_1005Metric_RC0402FR-0710KLR4
110nFPCM_rf-power-monitor-rev2:CL05B103KB5NNNCC20
112.4k 1%PCM_rf-power-monitor-rev2:R_0402_1005MetricR11
1120R@100MHzPCM_rf-power-monitor-rev2:L_0603_1608MetricFB1
112MHzPCM_rf-power-monitor-rev2:Crystal_SMD_Abracon_ABM8AIG-4Pin_3.2x2.5mmY2
11MPCM_rf-power-monitor-rev2:R_0402_1005MetricR12
11uFPCM_rf-power-monitor-rev2:C_0603_1608MetricC43
12.2uHPCM_rf-power-monitor-rev2:IND-SMD_L3.0-W3.0L1
122kPCM_rf-power-monitor-rev2:R_0402_1005MetricR6
1230VAC L/NPCM_rf-power-monitor-rev2:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_HorizontalJ4
125MHzPCM_rf-power-monitor-rev2:Crystal_SMD_3225-4Pin_3.2x2.5mmY1
1330RPCM_rf-power-monitor-rev2:R_0603_1608MetricR39
1470RPCM_rf-power-monitor-rev2:R_0402_1005MetricR32
147kPCM_rf-power-monitor-rev2:R_0603_1608MetricR37
15.6kPCM_rf-power-monitor-rev2:R_0402_1005MetricR3
1B5819WPCM_rf-power-monitor-rev2:D_SOD-123D1
1BOOTSELPCM_rf-power-monitor-rev2:SW_Push_1P1T_XKB_TS-1187ASW1
1BluePCM_rf-power-monitor-rev2:LED_0603_1608MetricD2
1FACTORY RESETPCM_rf-power-monitor-rev2:SW_Push_1P1T_XKB_TS-1187ASW3
1GreenPCM_rf-power-monitor-rev2:LED_0805_2012MetricD3
1HR601680PCM_rf-power-monitor-rev2:SMD-16_L12.7-W7.2-P1.27-LS9.5-BLT1
1LTV-814SPCM_rf-power-monitor-rev2:SMDIP-4_W9.53mmU6
1RESETPCM_rf-power-monitor-rev2:SW_Push_1P1T_XKB_TS-1187ASW2
1RJ45PCM_rf-power-monitor-rev2:RJ45-TH_KH-RJ45-56-8P8C-DJ2
1RP2040PCM_rf-power-monitor-rev2:QFN-56-1EP_7x7mm_P0.4mm_EP3.2x3.2mmU4
1RedPCM_rf-power-monitor-rev2:LED_0805_2012MetricD4
1SN74LVC1G14DBVRPCM_rf-power-monitor-rev2:SOT-23-5U7
1SWDConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ3
1T1A 250VACPCM_rf-power-monitor-rev2:Fuse_Schurter_UMT250F1
1TLV62569DBVRPCM_rf-power-monitor-rev2:SOT-23-5U1
1TMP1075DRPCM_rf-power-monitor-rev2:SOIC-8_3.9x4.9mm_P1.27mmU8
1USB-CPCM_rf-power-monitor-rev2:USB_C_Receptacle_HRO_TYPE-C-31-M-12J1
1W25Q16JVSNIQPCM_rf-power-monitor-rev2:SOIC-8_3.9x4.9mm_P1.27mmU5
1W5500PCM_rf-power-monitor-rev2:LQFP-48_7x7mm_P0.5mmU3
1WIZPoE-P1RFPM_Rev2:WIZPoE-P1U2

More from TheKingOfChaos/RF-Power-Monitor

1
  • 2 layers80 × 51.5 mmPico poe mains carrier, the printed circuit board in 3D

    Pico poe mains carrier

    TheKingOfChaos/RF-Power-Monitor

    A 2-layer carrier board for the WIZnet W5500-EVB-Pico-PoE. It is 80 x 51.5 mm: exactly as long as the module, so both short edges line up with the module.

    26 parts

Similar boards

  • 4 layers100 × 75 mmFreedo radio, the printed circuit board in 3D

    Freedo radio

    CappyT/freedo

    Local coordinator for tado V3+ heating devices, with a Home Assistant integration and add-on

    135 parts33Apache-2.0
  • 4 layers75 × 50 mmCANchovy PCB, the printed circuit board in 3D

    CANchovy PCB

    fred314159265/CANchovy

    MKS CANable V2.0 based isolated USB-CAN interface

    102 parts7
  • 6 layers37 × 37 mmFc f405 2026-10-16 1025, the printed circuit board in 3D

    Fc f405 2026-10-16 1025

    ara-mkr/f405-flight-controller

    This is a flight controller I designed as a side project. It was fun and pretty challenging, and I'm planning to build a drone with it at some point!

    122 partsCERN-OHL-P-2.0
  • 4 layers49.5 × 49 mmAERoS, the printed circuit board in 3D

    AERoS

    TKAman23/AERoS

    An All-Encompassing Rocket System (AERoS) currently in development

    119 partsAGPL-3.0
  • 2 layers45.3 × 56.3 mmAbb welcome gateway v3, the printed circuit board in 3D

    Abb welcome gateway v3

    fquinto/abb-welcome-gateway

    ESP32 gateway for ABB‑Welcome / Busch‑Welcome 2‑wire intercoms. Doorbell notifications + remote door control in Home Assistant. Includes PCB design and firmware.

    69 parts1CERN-OHL-W-2.0
  • 2 layers44.9 × 71.1 mmClick4, the printed circuit board in 3D

    Click4

    prajjwalprajjwal/Click

    Clicker kit

    78 parts19
  • 4 layers100 × 100 mmEc30-tee, the printed circuit board in 3D

    Ec30-tee

    justinpirie/ec30

    Onan EC30 Tee Board with ESP32 Control

    167 partsApache-2.0
  • 4 layers85 × 56 mmPiVI, the printed circuit board in 3D

    PiVI

    kuba2k2/PiVI

    A small Pi-sized single board computer for your car

    289 partsGPL-3.0

Questions

How big is the Rf power monitor rev2 PCB?

It measures 100 × 64 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Rf power monitor rev2 use?

129 parts, built around the RP2040, TLV62569DBVR-TP, W25Q16JVSNIQ and LTV-814S-TA1. 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 Rf power monitor rev2 KiCad files?

From the TheKingOfChaos/RF-Power-Monitor repository on GitHub, at the commit this page was made from: the board is hardware/rf-power-monitor-rev2/kicad/rf-power-monitor-rev2.kicad_pcb and its schematic hardware/pico-poe-mains-carrier/pico-poe-mains-carrier.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Rf power monitor rev2 design in my own project?

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