Skip to the content
4 layers66.6 × 86.6 mmDPSin Board WiFi Triac, the printed circuit board in 3D

DPSin Board WiFi Triac

gmeirelles-ops/esp32-DPTri1

Firmware ESP-IDF para a DPSin Board WiFi Triac (rev v1.0.1): relé AC ON/OFF e dimmer TRIAC por porcentagem, controlados pelo app, com pareamento por hold ≥10 s no botão PAIR.

Size
66.6 × 86.6 mm
Copper layers
4
Thickness
1.6 mm
Parts
62
Nets
66
Pads
223
Tracks, vias
192, 30
Pours
8
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
23 Jul 2026
Updated
24 Jul 2026

Overview

DPSin Board WiFi Triac is an open-source printed circuit board by gmeirelles-ops, from the gmeirelles-ops/esp32-DPTri repository on GitHub. It is a 4-layer board of 66.6 × 86.6 mm with 62 parts on 66 nets, routed with 192 tracks and 30 vias.

It is built around the ESP32-WROOM-32E-N4, HLK-5M05 and BTB16Q-600BW, with the LD1117S33CTR-HXY, EL357N(B)(TA)-G and MOC3023S-TA1 among its other parts. Its parts include 22 resistors, 11 capacitors, 7 diodes, 5 ICs and 4 transistors. It belongs with the radio and wireless boards and the ESP32 boards of this library.

Main components

12

README

README.md

esp32-dptri

Firmware ESP-IDF para a DPSin Board WiFi Triac (rev v1.0.1): relé AC ON/OFF e dimmer TRIAC por porcentagem, controlados pelo app, com pareamento por hold ≥10 s no botão PAIR. Stack de desenvolvimento: Spec Kit, multiagentes, build autocorretivo, revisão, testes e memória auditável.

  • Target: esp32 (módulo ESP32-WROOM-32E-N4)
  • ESP-IDF baseline: ver .specify/memory/constitution.md (atualmente v5.3.2)
  • Hardware: hardware/Board WiFi Triac/
  • Constituição do produto: .specify/memory/constitution.md (v2.0.0+)

GPIO, credenciais, tópicos MQTT e OTA só entram no firmware depois de registrados no Spec Kit e alinhados ao contrato de hardware.

Primeiro build

Pré-requisitos: Git, Python 3 e ESP-IDF na versão da constitution, com o ambiente exportado:

bash
cd esp32-DPTri
idf.py set-target esp32
idf.py build
idf.py size

Não execute flash, erase_flash, commit ou push sem pedido explícito.

Validação estrutural do template/runtime:

bash
python -m unittest discover -s tests/agent_loop -p "test_*.py"
python -m unittest discover -s tests/tools -p "test_*.py"
python -m unittest discover -s tests/e2e -p "test_*.py"
python .agent/scripts/policyctl.py validate
idf.py build

Fluxo Spec Kit

text
$speckit-constitution
$speckit-specify
$speckit-clarify
$speckit-plan
$speckit-tasks
$loop-engineering

Fontes de verdade de hardware: revisão da placa, esquemático KiCad e datasheets. O loop seleciona tarefas, implementa, compila, depura, revisa, testa e atualiza .agent/STATE.md até DONE ou bloqueio real.

Estrutura principal

CaminhoFinalidade
main/, components/Firmware ESP-IDF
specs/, .specify/Especificações, planos e tarefas Spec Kit
.agent/Runtime, políticas, estado, contexto, RAG e relatórios
.agents/, .codex/, .cursor/Skills e configuração dos agentes
hardware/Contrato de placa e projeto KiCad Board WiFi Triac
tests/hardware/Planos que exigem evidência de bancada
examples/Receitas opt-in; não entram no build baseline
.github/workflows/Validação independente do runtime e do firmware

Regras essenciais

  • Não invente APIs, GPIOs, credenciais ou contratos externos.
  • Relé e TRIAC permanecem safe-off no boot até init validado.
  • Registre decisões de hardware, partições, NVS, MQTT, TLS e OTA no Spec Kit.
  • Build verde é obrigatório, mas não prova sozinho que a feature terminou.
  • flash, erase_flash, mudanças destrutivas e push exigem pedido explícito.
  • Testes de hardware só passam com evidência real; os modelos começam em NOT_RUN.

Os contratos protegidos canônicos ficam em .agent/policies/contracts.yaml. Valide-os antes de implementar:

bash
python .agent/scripts/policyctl.py validate

Documentação

As versões do template são registradas em CHANGELOG.md. A versão atual está em VERSION. A licença legal permanece uma decisão do proprietário do repositório.

Parts

62
QtyValueFootprintReferences
1110kLibrary:R_0603_1608MetricR1, R2, R3, R4, R6, R8, R9, R11, R13, R15, R22
6100nFLibrary:C_0603_1608MetricC3, C5, C6, C7, C8, C11
4BC817Library:SOT-23Q1, Q2, Q3, Q4
4M3 Mounting HoleMountingHole:MountingHole_3.2mm_M3_DIN965_PadH1, H2, H3, H4
31kLibrary:R_0603_1608MetricR5, R10, R14
21N4148WSLibrary:D_SOD-323D1, D7
2220kLibrary:R_1206_3216MetricR18, R19
2300RLibrary:R_0603_1608MetricR12, R16
2B5819W SLDiode_SMD:D_SOD-123D2, D3
1+3V3 - 800mALibrary:SOT-223-3_TabPin2U1
1100nFLibrary:C_0805_2012MetricC1
110uFLibrary:C_0603_1608MetricC4
110uFLibrary:C_0805_2012MetricC2
11A-1kVLibrary:Diode_Bridge2D6
11kLibrary:R_0805_2012MetricR21
11nFLibrary:C_1206_3216MetricC9
122kLibrary:R_1206_3216MetricR20
1270RLibrary:R_0603_1608MetricR7
14.7uFLibrary:C_1206_3216MetricC10
1620RLibrary:R_2512_6332MetricR17
1AC PowerLibrary:CUI_TBP03R1-350-02GRJ2
1CR2032Library:CR2032-1BT1
1EL357N(B)(TA)-GLibrary:SOIC-4U5
1ESP32-WROOM-32Library:ESP32-WROOM-32U2
1HLK-5M05Library:HLK-5M05PS1
1KT-0805GLED_SMD:LED_0805_2012MetricD4
1LOGOLibrary:LOGO-DIPONTO-4MMG***
1MOC3023S-TA1Library:MOC3063U4
1ProgrammingLibrary:Tag-Connect_TC2050-IDC-FP_2x05_P1.27mm_VerticalJ1
1Q_TRIAC_A1A2GLibrary:TO-263-2D5
1RELAY2Library:RELAY2K1
1RV8803Library:RV-8803-C7-TA-QCU3
1RelayLibrary:CUI_TBP03R1-350-02GRJ3
1SW_PushLibrary:TACTILE2S1
1TriacLibrary:CUI_TBP03R1-350-02GRJ4

Similar boards

  • 2 layers83.8 × 71.1 mmDev habit reminder, the printed circuit board in 3D

    Dev habit reminder

    Rikeroo/habit-reminder

    Low energy physical habit reminder, using RGB LEDs, a small task screen and tactile switches to build useful habits and get tasks done

    13 parts
  • 2 layers23 × 30.5 mmUCC21520DWR, the printed circuit board in 3D

    UCC21520DWR

    kaminaris/GigaESC

    21 parts47
  • 4 layers190 × 100 mmRioctrl controller, the printed circuit board in 3D

    Rioctrl controller

    festlv/rioctrl-hw

    Hardware design for modular CNC controller

    281 parts16CERN-OHL-S-2.0
  • 2 layers21.2 × 25.4 mmSMD Adapter, the printed circuit board in 3D

    SMD Adapter

    PSuElectro/SMD-Adapter-KiCAD

    11 parts
  • 2 layers26 × 72 mmDoor adapter, the printed circuit board in 3D

    Door adapter

    reitermarkus/door-server

    10 parts2
  • 4 layers128.5 × 40 mmScalenode cm4-baseboard, the printed circuit board in 3D

    Scalenode cm4-baseboard

    antmicro/scalenode-cm4-baseboard

    Baseboard for Raspberry Pi 4 Compute Module optimized for clustering

    146 parts152Apache-2.0
  • 6 layers100 × 70 mmSa800u baseboard hw, the printed circuit board in 3D

    Sa800u baseboard hw

    antmicro/snapdragon-845-baseboard

    https://antmicro.com/blog/2022/04/open-source-snapdragon-845-baseboard/

    616 parts70Apache-2.0

Questions

How big is the DPSin Board WiFi Triac PCB?

It measures 66.6 × 86.6 mm and has 4 copper layers, 1.6 mm thick.

What parts does the DPSin Board WiFi Triac use?

62 parts, built around the ESP32-WROOM-32E-N4, HLK-5M05, BTB16Q-600BW and LD1117S33CTR-HXY. 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 DPSin Board WiFi Triac KiCad files?

From the gmeirelles-ops/esp32-DPTri repository on GitHub, at the commit this page was made from: the board is hardware/Board WiFi Triac/DPSin Board WiFi Triac.kicad_pcb and its schematic hardware/Board WiFi Triac/Connectors.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the DPSin Board WiFi Triac design in my own project?

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