Skip to the content
2 layers95 × 55 mmWifi geiger counter, the printed circuit board in 3D

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.

Size
95 × 55 mm
Copper layers
2
Thickness
1.6 mm
Parts
64
Nets
65
Pads
232
Tracks, vias
589, 96
Pours
3
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
5 Oct 2026
Updated
30 Oct 2026

Overview

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.

Main components

12

README

README.md

Wi-Fi Geiger Counter

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.

render

Schematic

PCB layout

Features

  • M4011/SBM-20 Geiger tube with pulse detection (tuned for M4011)
  • Custom HV circuit (around 400V) with a single LiPo cell
  • Wi-Fi data logging with a dashboard and a JSON API
  • Buzzer with clicking on each count
  • USB-C charging
  • ESD and overvoltage protection

Motivation

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

Functionality

  • Power from USB-C goes into a TP4056 which charges the LiPo battery. An AP2112K reduces the voltage from the battery to 3.3V to be safe for the ESP32.
  • ESP32 uses PWM on a MMBTA42 transistor which switches an inductor, it ramps up to 200V-ish and then a diode + capacitor voltage doubler ups that to around 400V.
  • A 100Megaohm/220kiloohm resistor divider reduces the 400V down to around 0.88, which is read by the ESP32 via its ADC and PID in the firmware adjusts to continuously hold at 400V.
  • When the M4011 tube detects decay, the pulse enters a transistor and it is turned into a 3.3V signal for the ESP32 which is counted and clicks the buzzer.
  • The firmware tallies counts over 60 seconds to calculate a CPM and converts into micro Sv/h via the configured conversion factor. ESP32 hosts a small web page and a JSON endpoint.

How it was made

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:

  • I configured net class patterns to keep HV clearance, but I misconfigured them (set to HV instead of /HV) and they were ignored. As such, when I thought I was done, none of my rules were actually checked.
  • My USB TVS diode was wired the wrong way which would short VBUS. I swapped it for a bidirectional one.
  • My status LED was backwards and improperly wired, so I changed it to stay high on boot.
  • The USB-C connector was facing inside the board instead of outside, very easy mistake to make in the PCB editor! Had to rotate and reroute completely.
  • The buzzer footprint didn't match my actual part, so I had to find the right one on LCSC and reimport it.
  • The ADC reading was wrong by around 30% in the firmware, so I fixed it by using the calibrated ADC reading in MicroPython

Tech stack

  • KiCad for the PCB design
  • MicroPython for the ESP32 firmware
  • JLCPCB for the board and LCSC for parts

Repo layout

  • pcb/ contains the actual KiCad project
  • pcb/gerbers contain the gerber and drill files
  • pcb/cpl/ contains the component positions
  • firmware/ contains the MicroPython code
  • images/ contains a render of the PCB
  • BOM.csv contains the parts list
  • JOURNAL.md is the devlog

Bill of materials

PartQtySourceUnitTotal
PCB Manufacturing1JLCPCB$4.00$4.00
ESP32-C3-MINI1LCSC$3.06$3.06
TP4056-42-ESOP85LCSC$0.19$0.95
AP2112K-3.3TRG15LCSC$0.18$0.90
USBLC6-2SC65LCSC$0.18$0.90
MMBTA4210LCSC$0.05$0.50
MMBT390420LCSC$0.04$0.80
US1M3LCSC$0.05$0.15
1N4148W50LCSC$0.01$0.50
SMF5.0CA20LCSC$0.02$0.40
MM3Z3V350LCSC$0.02$1.00
Red LED 080550LCSC$0.02$1.00
Yellow LED 080520LCSC$0.02$0.40
MLT-85305LCSC$0.21$1.05
FNR6045S103KT5LCSC$0.25$1.25
TYPE-C-31-M-125LCSC$0.18$0.90
S2B-PH-K-S-GW5LCSC$0.17$0.85
1k 0805100LCSC$0.01$1.00
10k 0805100LCSC$0.01$1.00
5.1k 0805100LCSC$0.01$1.00
2.2k 0805100LCSC$0.01$1.00
220k 0805100LCSC$0.01$1.00
100k 0805100LCSC$0.01$1.00
4.7M 1206 500V10LCSC$0.01$0.10
10M 1206100LCSC$0.01$1.00
10µF 080520LCSC$0.07$1.40
1µF 080510LCSC$0.04$0.40
100nF 080520LCSC$0.02$0.40
10nF 1kV 120620LCSC$0.03$0.60
GM Tube - M40111Salvaged (FNIRSI GC-01)$0.01$0.01
3.7V LiPo battery1Salvaged (FNIRSI GC-01)$0.01$0.01
2.54-1*3P20LCSC$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.

Assembly

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.

  1. Order the PCB from JLCPCB using the gerber files and the parts from LCSC using the BOM.
  2. Start with the power section. Solder the USB-C connector, USBLC6, TVS diode, TP4056, AP2112K and their resistors + capacitors. Do not work with the battery yet. Plug in USB-C and verify that the charge LED turns on. You should be getting 3.3V.
  3. Solder the ESP32-C3-MINI-1 and the status LED. The ESP32 has pads underneath, so you'll need hot air or a hot plate for it. Flash MicroPython (more below) and check that you get a REPL on the ESP32.
  4. Begin the HV supply. Solder Q1, L1, US1M diodes, 10nF 1kV capacitors and the 10 megaohm resistor divider chain but avoid connecting the tube at this point. Run the firmware and see the HV values it prints. I recommend not trying to measure the 400V with a multimeter as the 10 megaohm input can load the circuit.
  5. Now for the pulse detection and the buzzer, solder Q2, Q3, the buzzer and the rest.
  6. To finish, you can plug your tube into J3 (verify anode and cathode!!!) and connect the battery.

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.

Firmware

  1. Start by downloading MicroPython for the ESP32-C3 from micropython.org and flash it:
sh
pip install esptool
esptool.py --chip esp32c3 erase_flash
esptool.py --chip esp32c3 write_flash -z 0x0 ESP32_GENERIC_C3-<your_version>.bin
  1. Put your Wi-Fi name and password in firmware/config.py
  2. Copy the files over:
sh
pip install mpremote
cd firmware
mpremote cp config.py geiger.py hv_control.py buzzer.py wifi_manager.py main.py :
mpremote reset
  1. If all goes well, your IP address should get printed over serial. Try opening it in the browser for the dashboard, or use /api/data for the JSON data.

AI disclosure

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

Parts

64
QtyValueFootprintReferences
1010MResistor_SMD:R_1206_3216MetricR13, R14, R15, R16, R17, R18, R19, R20, R21, R22
810kResistor_SMD:R_0805_2012MetricR6, R7, R8, R9, R11, R25, R26, R28
61kResistor_SMD:R_0805_2012MetricR4, R5, R10, R27, R29, R30
410uCapacitor_SMD:C_0805_2012MetricC1, C2, C3, C5
3CC1206KKX7RCBB103lcsc:C1206C8, C9, C10
3US1M_C83962lcsc:SMA_L4.3-W2.6-LS5.2-RDD3, D4, D5
2100nCapacitor_SMD:C_0805_2012MetricC6, C11
21uCapacitor_SMD:C_0805_2012MetricC4, C7
25.1kResistor_SMD:R_0805_2012MetricR1, R2
2MMBT3904Package_TO_SOT_SMD:SOT-23Q2, Q3
1100kResistor_SMD:R_0805_2012MetricR24
11N4148WDiode_SMD:D_SOD-123D6
12.2kResistor_SMD:R_0805_2012MetricR3
1220kResistor_SMD:R_0805_2012MetricR12
13.3VDiode_SMD:D_SOD-323D8
14.7MResistor_SMD:R_1206_3216MetricR23
1AP2112K-3.3TRG1lcsc:SOT-25-5_L2.9-W1.6-P0.95-LS2.8-BLU3
1BOOTButton_Switch_SMD:SW_SPST_CK_KMS2xxGPSW2
1ESP32-C3-MINI-1-N4lcsc:WIFIM-SMD_ESP32-C3-MINI-1U2
1FNR6045S103KTlcsc:IND-SMD_L6.0-W6.0_FNR60XXSL1
1LEDLED_SMD:LED_0805_2012MetricD9
1M4011Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ3
1MLT-8530lcsc:BUZ-SMD_4P-L8.5-W8.5-P8.50-BRBZ1
1MMBTA42_C8515lcsc:SOT-23-3_L2.9-W1.3-P1.90-LS2.4-BRQ1
1REDLED_SMD:LED_0805_2012MetricD1
1RESETButton_Switch_SMD:SW_SPST_CK_KMS2xxGPSW1
1S2B-PH-K-S-GWlcsc:CONN-TH_S2B-PH-K-S-GWJ2
1SMF5.0CADiode_SMD:D_SOD-123FD7
1TP4056lcsc:ESOP-8_L4.9-W3.9-P1.27-LS6.0-BL-EPU1
1TYPE-C-31-M-12lcsc:USB-C_SMD-TYPE-C-31-M-12_1J1
1USBLC6-2SC6Package_TO_SOT_SMD:SOT-23-6U4
1YELLOWLED_SMD:LED_0805_2012MetricD2

Similar boards

  • 2 layers100 × 76 mmEmc flyback, the printed circuit board in 3D

    Emc flyback

    ChengminLi/AI-PCB-layout

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

    90 parts31CC-BY-4.0
  • 2 layers82.5 × 127 mmPower supply, the printed circuit board in 3D

    Power supply

    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.

    59 parts
  • 2 layersEphemerkey, the printed circuit board in 3D

    Ephemerkey

    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…

    70 parts
  • 2 layers40 × 30 mmPlaced, the printed circuit board in 3D

    Placed

    RileyMcCarthy/pcb-space

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

    19 partsMIT
  • 2 layers61 × 90.9 mmBle ir remote, the printed circuit board in 3D

    Ble ir remote

    kattaliraees/ble_ir_remote

    IR remote with BLE interface

    47 partsMIT
  • 2 layers80 × 34 mmDji fcc, the printed circuit board in 3D

    Dji fcc

    nikolaus018/dji-fcc-esp32

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

    69 parts3MIT
  • 2 layers45 × 100 mmWalkiepcb, the printed circuit board in 3D

    Walkiepcb

    houseofthe051010/ESP32-Walkie-Talkie-V2

    This ESP32 Walkie Talkie is redesigned with a SX1262 radio, a PCB, and a full case redesign.

    93 parts1

Questions

How big is the Wifi geiger counter PCB?

It measures 95 × 55 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Wifi geiger counter use?

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.

Where can I download the Wifi geiger counter KiCad files?

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.

Can I use the Wifi geiger counter design in my own project?

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