
Emc flyback
ChengminLi/AI-PCB-layout
AI agent skill for designing and reviewing power-electronics PCBs, with a human review gate after every step

A DIY Geiger counter PCB which can detect ionizing radiation and log readings over Wi-Fi. Built with an ESP32, and a HV multiplier circuit that steps up 3.7V to 400V for the GM tube.
Wifi geiger counter is an open-source printed circuit board by atomicra1n, from the atomicra1n/wifi-geiger-counter repository on GitHub. It is a 2-layer board of 95 × 55 mm with 64 parts on 65 nets, routed with 589 tracks and 96 vias.
It is built around the ESP32-C3-MINI-1-N4, AP2112K-3.3TRG1 and TP4056-42-ESOP8, with the USBLC6-2SC6, CC1206KKX7RCBB103 and US1M among its other parts. Its parts include 30 resistors, 11 capacitors, 9 diodes, 4 ICs and 3 transistors. It belongs with the radio and wireless and sensors and measurement boards and the ESP32 and RISC-V boards of this library.
A DIY Geiger counter PCB which can detect ionizing radiation and log readings over Wi-Fi. Built with an ESP32, and a HV multiplier circuit that steps up 3.7V to 400V for the GM tube.

I made this project as I already own a FNIRSI GC-01 Geiger Counter, but I've always been intrigued by how they work and wanted to have a crack at making my own. It was an interesting challenge, especially given the difficulties around handling 400 volts, clearance, etc. Additionally, given the addition of Wi-Fi compared to the GC-01, I can log data from anywhere (the GC-01 requires a constant USB-C connection).
This is my first project in KiCad, so I had to figure it out for the most part. I picked the parts on LCSC and imported them, sketched the HV circuit on paper and then built it step by step. A few issues I ran into:
| Part | Qty | Source | Unit | Total |
|---|---|---|---|---|
| PCB Manufacturing | 1 | JLCPCB | $4.00 | $4.00 |
| ESP32-C3-MINI | 1 | LCSC | $3.06 | $3.06 |
| TP4056-42-ESOP8 | 5 | LCSC | $0.19 | $0.95 |
| AP2112K-3.3TRG1 | 5 | LCSC | $0.18 | $0.90 |
| USBLC6-2SC6 | 5 | LCSC | $0.18 | $0.90 |
| MMBTA42 | 10 | LCSC | $0.05 | $0.50 |
| MMBT3904 | 20 | LCSC | $0.04 | $0.80 |
| US1M | 3 | LCSC | $0.05 | $0.15 |
| 1N4148W | 50 | LCSC | $0.01 | $0.50 |
| SMF5.0CA | 20 | LCSC | $0.02 | $0.40 |
| MM3Z3V3 | 50 | LCSC | $0.02 | $1.00 |
| Red LED 0805 | 50 | LCSC | $0.02 | $1.00 |
| Yellow LED 0805 | 20 | LCSC | $0.02 | $0.40 |
| MLT-8530 | 5 | LCSC | $0.21 | $1.05 |
| FNR6045S103KT | 5 | LCSC | $0.25 | $1.25 |
| TYPE-C-31-M-12 | 5 | LCSC | $0.18 | $0.90 |
| S2B-PH-K-S-GW | 5 | LCSC | $0.17 | $0.85 |
| 1k 0805 | 100 | LCSC | $0.01 | $1.00 |
| 10k 0805 | 100 | LCSC | $0.01 | $1.00 |
| 5.1k 0805 | 100 | LCSC | $0.01 | $1.00 |
| 2.2k 0805 | 100 | LCSC | $0.01 | $1.00 |
| 220k 0805 | 100 | LCSC | $0.01 | $1.00 |
| 100k 0805 | 100 | LCSC | $0.01 | $1.00 |
| 4.7M 1206 500V | 10 | LCSC | $0.01 | $0.10 |
| 10M 1206 | 100 | LCSC | $0.01 | $1.00 |
| 10µF 0805 | 20 | LCSC | $0.07 | $1.40 |
| 1µF 0805 | 10 | LCSC | $0.04 | $0.40 |
| 100nF 0805 | 20 | LCSC | $0.02 | $0.40 |
| 10nF 1kV 1206 | 20 | LCSC | $0.03 | $0.60 |
| GM Tube - M4011 | 1 | Salvaged (FNIRSI GC-01) | $0.01 | $0.01 |
| 3.7V LiPo battery | 1 | Salvaged (FNIRSI GC-01) | $0.01 | $0.01 |
| 2.54-1*3P | 20 | LCSC | $0.03 | $0.60 |
| Parts subtotal | $29.13 | |||
| Shipping (estimate) | $25.00 | |||
| Total | $54.13 |
The Geiger Tube and Battery were salvaged from my GC-01, so they're effectively free. You can buy similar pieces on Ebay, Aliexpress or other stores.
Please keep in mind the board makes around 400V, even though it's low current, it could still inflict a shock, as such, please be careful. Before touching the HV side, I recommend unplugging the USB and battery and shorting C10 to GND to discharge it.
Keep in mind I intentionally avoid populating SW1 (reset) and SW2 (boot) switches for simplicity, but you may do so yourself if you want to (they're excluded from the BOM). If you ever need them, you can short their pads. The ESP32 can be flashed over USB without requiring the boot switch, as you can see below.
pip install esptool
esptool.py --chip esp32c3 erase_flash
esptool.py --chip esp32c3 write_flash -z 0x0 ESP32_GENERIC_C3-<your_version>.binpip install mpremote
cd firmware
mpremote cp config.py geiger.py hv_control.py buzzer.py wifi_manager.py main.py :
mpremote resetLLMs (Claude Opus 4.6/5.5) was mostly used to get feedback on the schematic, review parts of it, assist in fixing bugs and writing the dashboard in wifi_manager.py. It was also used for other tedious but simple tasks, such as adding the BOM to this README.
Built for Hack Club Half Life Week 1 (PCBs).
| Qty | Value | Footprint | References |
|---|---|---|---|
| 10 | 10M | Resistor_SMD:R_1206_3216Metric | R13, R14, R15, R16, R17, R18, R19, R20, R21, R22 |
| 8 | 10k | Resistor_SMD:R_0805_2012Metric | R6, R7, R8, R9, R11, R25, R26, R28 |
| 6 | 1k | Resistor_SMD:R_0805_2012Metric | R4, R5, R10, R27, R29, R30 |
| 4 | 10u | Capacitor_SMD:C_0805_2012Metric | C1, C2, C3, C5 |
| 3 | CC1206KKX7RCBB103 | lcsc:C1206 | C8, C9, C10 |
| 3 | US1M_C83962 | lcsc:SMA_L4.3-W2.6-LS5.2-RD | D3, D4, D5 |
| 2 | 100n | Capacitor_SMD:C_0805_2012Metric | C6, C11 |
| 2 | 1u | Capacitor_SMD:C_0805_2012Metric | C4, C7 |
| 2 | 5.1k | Resistor_SMD:R_0805_2012Metric | R1, R2 |
| 2 | MMBT3904 | Package_TO_SOT_SMD:SOT-23 | Q2, Q3 |
| 1 | 100k | Resistor_SMD:R_0805_2012Metric | R24 |
| 1 | 1N4148W | Diode_SMD:D_SOD-123 | D6 |
| 1 | 2.2k | Resistor_SMD:R_0805_2012Metric | R3 |
| 1 | 220k | Resistor_SMD:R_0805_2012Metric | R12 |
| 1 | 3.3V | Diode_SMD:D_SOD-323 | D8 |
| 1 | 4.7M | Resistor_SMD:R_1206_3216Metric | R23 |
| 1 | AP2112K-3.3TRG1 | lcsc:SOT-25-5_L2.9-W1.6-P0.95-LS2.8-BL | U3 |
| 1 | BOOT | Button_Switch_SMD:SW_SPST_CK_KMS2xxGP | SW2 |
| 1 | ESP32-C3-MINI-1-N4 | lcsc:WIFIM-SMD_ESP32-C3-MINI-1 | U2 |
| 1 | FNR6045S103KT | lcsc:IND-SMD_L6.0-W6.0_FNR60XXS | L1 |
| 1 | LED | LED_SMD:LED_0805_2012Metric | D9 |
| 1 | M4011 | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J3 |
| 1 | MLT-8530 | lcsc:BUZ-SMD_4P-L8.5-W8.5-P8.50-BR | BZ1 |
| 1 | MMBTA42_C8515 | lcsc:SOT-23-3_L2.9-W1.3-P1.90-LS2.4-BR | Q1 |
| 1 | RED | LED_SMD:LED_0805_2012Metric | D1 |
| 1 | RESET | Button_Switch_SMD:SW_SPST_CK_KMS2xxGP | SW1 |
| 1 | S2B-PH-K-S-GW | lcsc:CONN-TH_S2B-PH-K-S-GW | J2 |
| 1 | SMF5.0CA | Diode_SMD:D_SOD-123F | D7 |
| 1 | TP4056 | lcsc:ESOP-8_L4.9-W3.9-P1.27-LS6.0-BL-EP | U1 |
| 1 | TYPE-C-31-M-12 | lcsc:USB-C_SMD-TYPE-C-31-M-12_1 | J1 |
| 1 | USBLC6-2SC6 | Package_TO_SOT_SMD:SOT-23-6 | U4 |
| 1 | YELLOW | LED_SMD:LED_0805_2012Metric | D2 |

ChengminLi/AI-PCB-layout
AI agent skill for designing and reviewing power-electronics PCBs, with a human review gate after every step

nunosousa/SCART-switcher
An old school SCART switcher. Its main purpose will be to automaticaly detect and switch the video output to the active input video source.

ephemerkey/ephemerkey
The consumer half of the ephemerkey system, and the second PCB in this repo (alongside hardware/ephemerkey/, sharing the same scripts/kschgen.py engine, Makefile, and lib tables — the multi-project layout used by…

RileyMcCarthy/pcb-space
Zener-style compiler for PCB placement and routing: AI writes Place/NetReq, geometry is compiled, KiCad is the backend.

okbrainhq/sMove
Applied to power.kicadsch, compute.kicadsch and smove-r2-main.kicadsch:


nikolaus018/dji-fcc-esp32
ESP32-S3 firmware that switches a DJI N1 remote to FCC mode over USB (replaces the Android app)

houseofthe051010/ESP32-Walkie-Talkie-V2
This ESP32 Walkie Talkie is redesigned with a SX1262 radio, a PCB, and a full case redesign.
It measures 95 × 55 mm and has 2 copper layers, 1.6 mm thick.
64 parts, built around the ESP32-C3-MINI-1-N4, AP2112K-3.3TRG1, TP4056-42-ESOP8 and USBLC6-2SC6. 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.
From the atomicra1n/wifi-geiger-counter repository on GitHub, at the commit this page was made from: the board is pcb/wifi-geiger-counter.kicad_pcb and its schematic pcb/wifi-geiger-counter.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask atomicra1n before reusing the design.