Skip to the content
PCBKitNew board
2 layers79 × 65 mmDetonator trigger, the printed circuit board in 3D

Detonator trigger

graysam/PeRci

ESP32-S3 Firmware and Web/App to manage HV discharge initiator for big bada-booms.

Size
79 × 65 mm
Copper layers
2
Thickness
1.58 mm
Parts
24
Nets
11
Pads
51
Tracks, vias
182, 0
Pours
2
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
3 Sep 2025
Updated
25 Sep 2025

Overview

Detonator trigger is an open-source printed circuit board by graysam, from the graysam/PeRci repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 79 × 65 mm with 24 parts on 11 nets, routed with 182 tracks and 0 vias.

It is built around the NE555P and IRLI530NPBF. Its parts include 4 capacitors, 4 resistors, 2 connectors, 2 switches and 1 IC. It belongs with the ESP32 boards of this library.

Main components

2

README

README.md

HV Trigger Async (ESP32 / ESP32-S3)

Firmware for ESP32 boards hosting a minimal web UI to safely arm and trigger a high‑voltage initiator. AsyncTCP + ESPAsyncWebServer power a WebSocket control channel; configuration persists via Preferences.

Features

  • SoftAP: Trigger-Remote / lollipop, IP 10.11.12.1.
  • Inline UI from PROGMEM; no filesystem required.
  • WebSocket at /ws for telemetry (~250 ms) and commands.
  • Pulse controls: mode single or buzz, width, spacing, repeat.
  • Hardware LEDs: amber/green (network/WS), red (armed), blue (pulse).
  • Status bar: WS and Armed LEDs, mode label (BUZZ/SINGLE‑SHOT), compact W/S/R values (e.g., 31/38/3), AP name; reconnect overlay while WS is down.
  • OTA via ArduinoOTA (TCP/3232) — update while the app is running.
  • Verbose Serial logs for boot, prefs, HTTP, WS, and actions.

Quickstart

  1. Dependencies: ESP32 core (recommended 2.0.14), libraries in library-notes.txt.
  2. Build & Burn scripts (recommended):
    • Windows: buildAndBurn.ps1 (or buildAndBurn.bat wrapper)
    • macOS/Linux: chmod +x buildAndBurn.sh && ./buildAndBurn.sh Scripts prompt for sketch, FQBN, clean, port selection, upload, and can open a serial monitor.
  3. Manual (Arduino IDE):
    • ESP32 Dev Module (ESP32‑WROOM‑32): select Board "ESP32 Dev Module".
    • ESP32‑S3 Dev Module: select Board "ESP32S3 Dev Module" and enable USB CDC on boot. Then open hv_trigger_async.ino and Upload.
  4. Connect to AP Trigger-Remote and open http://10.11.12.1/.
  5. OTA Update (optional):
    • Ensure your PC and the device are on the same network (AP or STA).
    • Arduino IDE: use the Network Port entry if available.
    • Arduino CLI: arduino-cli upload -p 10.11.12.1:3232 --fqbn esp32:esp32:esp32 hv_trigger_async.ino (replace FQBN for ESP32‑S3).

Controls & Ranges

  • Mode: single or buzz.
  • Width: 5–100 ms; Spacing: 10–100 ms; Repeat: 1–4.
  • Arm/Disarm gates firing; cfg changes are ignored while armed.

Build & Tools

  • Scripts: see above. CLI fallback in README.build.md.
  • Serial monitor: arduino-cli monitor -p COMX -c baudrate=115200.
  • WebSocket test (PowerShell): powershell -ExecutionPolicy Bypass -File tools\\test_ws.ps1

API Reference

See docs/WS_API.md for WebSocket message formats, examples, and flows.

Code Map

  • hv_trigger_async.ino: setup/loop, telemetry tick, indicators.
  • web_server.cpp/.h: AP setup, async server, WebSocket, inline UI, actions.
  • config.h: pins, SoftAP settings, defaults; edit pins here if needed.

Hardware

  • KiCad project resides in hardware_kicad/ (schematics *.kicad_sch, board *.kicad_pcb).
  • Generated artifacts (plots, fabrication outputs, iBOM) are currently included from prototyping; going forward we’ll prefer attaching these to GitHub releases rather than committing bulk outputs.
  • For fabrication, open in KiCad 7/8 and regenerate plots/GERBER/Drill files as needed. Additional notes may be present in hardware_kicad/.

Safety

Change the default SoftAP password before field use. Treat the trigger output as live hardware — validate with a dummy load first.

Release v1.21a

  • Prototype hardware integrated and tested with the firmware.
  • Repo/docs tidy-up; encoding fixes and clearer setup notes.
  • Tag: v1.21a marks the working prototype snapshot.

Parts

24
QtyValueFootprintReferences
8Fiducial_Cross_0.5mm_Mask2mmFiducial:Fiducial_Cross_0.5mm_Mask2mmref3, ref3, reg1, reg1, reg2, reg2, reg2, reg2
2100kResistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_HorizontalR3, R4
1+ Battery (5-15V) -Connector:Banana_Jack_2PinJ3
1100Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_HorizontalR1
110000uF, 40VCapacitor_THT:CP_Radial_D25.0mm_P10.00mm_SnapInC4
1100nCapacitor_THT:C_Axial_L5.1mm_D3.1mm_P7.50mm_HorizontalC3
1100pCapacitor_THT:C_Axial_L5.1mm_D3.1mm_P7.50mm_HorizontalC1
110nCapacitor_THT:C_Disc_D6.0mm_W2.5mm_P5.00mmC2
11MCustom-With-3D:Potentiometer_16mm-Alpha_Bourns_Omega-Single_HorizontalRV1
17.5kResistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_HorizontalR2
1ARMPCM_4ms_Switch:Switch_Toggle_SPDT_SubMiniSW2
1BTN_FIRECustom-With-3D:SW_PUSH-12mmSW1
1IRLI530NPackage_TO_SOT_THT:TO-220-3_VerticalQ1
1Ignition Coil XformerConnector:Banana_Jack_2PinT1
1NE555PPackage_DIP:DIP-8_W7.62mmU1
1Relay_FireConnector_Phoenix_MC:PhoenixContact_MCV_1,5_2-G-3.81_1x02_P3.81mm_VerticalJ1

Questions

How big is the Detonator trigger PCB?

It measures 79 × 65 mm and has 2 copper layers, 1.58 mm thick.

What parts does the Detonator trigger use?

24 parts, built around the NE555P and IRLI530NPBF. 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 Detonator trigger KiCad files?

From the graysam/PeRci repository on GitHub, at the commit this page was made from: the board is hardware_kicad/detonator trigger.kicad_pcb and its schematic hardware_kicad/ESP_ControlBoard.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Detonator trigger design in my own project?

Its repository publishes it under the GPL-3.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).

Similar boards

  • 2 layers327.9 × 139 mmCoco2, the printed circuit board in 3D

    Coco2

    baldengineer/bit-preserve

    Project for capturing vintage, classic, aka old computer schematics in KiCad.

    147 parts446
  • 2 layers370.8 × 298.5 mm8 Bit Computer, the printed circuit board in 3D

    8 Bit Computer

    The-Invent0r/8-bit-Computer-PCB

    These are the KiCAD files for my 8-Bit Computer.

    323 parts142
  • 2 layers200 × 96 mmTouchtone555, the printed circuit board in 3D

    Touchtone555

    DarcyJProjects/touchtone555

    An open-source DIY, NE555-based analogue synthesizer - play notes with a stylus

    73 parts33
  • 4 layers340 × 210 mmYddraig, the printed circuit board in 3D

    Yddraig

    ddraig68k/hardware

    Schematic and CAD files for my 68K based computer

    224 parts29MIT
  • 2 layers152.9 × 74.9 mmClock, the printed circuit board in 3D

    Clock

    erikvanzijst/clock

    24H digital quartz clock from scratch

    82 parts21
  • 2 layers88.9 × 50.8 mmSynthCard, the printed circuit board in 3D

    SynthCard

    benjiaomodular/SynthCard

    I designed this project with the help of PCBWay. You can get a copy of these cards through the PCBWay Shared Projects page.

    16 parts19MIT
  • 4 layers194.5 × 188.6 mmMyCpu, the printed circuit board in 3D

    MyCpu

    fortinsylvain/MyCpu

    Home brew CPU Hardware with 1-bit ALU implementation using 74LSxx, a micro-code and assembler coded in C#.

    162 parts18MIT
  • 2 layers145.3 × 129.9 mmC128Diag, the printed circuit board in 3D

    C128Diag

    hackup/C128Diag

    Replica of the Commodore C128 Diagnostic Test cartridge Assy No. 325093-01.

    61 parts16