Skip to the content
2 layersButton board, the printed circuit board in 3D

This repository contains Graphviz DOT diagrams for documenting the fire suppression logic and relay control layout in a Raspberry Pi-controlled laser enclosure project.

Copper layers
2
Thickness
1.6 mm
Parts
30
Nets
46
Pads
130
Tracks, vias
122, 3
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
6 Mar 2025
Updated
10 Jul 2026

Overview

Button board is an open-source printed circuit board by nathan-stewart, from the nathan-stewart/laser-enclosure repository on GitHub. It is a 2-layer board with 30 parts on 46 nets, routed with 122 tracks and 3 vias.

It is built around the ULN2803A. Its parts include 11 connectors, 10 resistors, 3 capacitors and 2 ICs.

Main components

1

README

README.md

Laser Enclosure Fire Control Diagrams

This repository contains Graphviz DOT diagrams for documenting the fire suppression logic and relay control layout in a Raspberry Pi-controlled laser enclosure project.

Included Files

fire_state_machine.dot

  • Describes the FIRE state logic.
  • ARMED: Tank is pressurized (system ready).
  • FIRE: Triggered by pressure drop, CO₂ valve opens, gates close.
  • RESET: Performed via E-stop twist.
  • Use dot -Tpng fire_state_machine.dot -o fire_state_machine.png to render.

power_distribution.dot

  • Updated relay layout with sequential relay numbering:
    • K1: Laser
    • K2: High Pressure Air (HPA)
    • K3: CO₂ Valve
    • K4: Blast Gates (intake/exhaust)
    • K5: Low Pressure Air (LPA)
    • K6: Heater Fan
    • K7: Exhaust Fan
    • K8: PTC Heater (AC)
  • Use dot -Tpng relay_layout_k3_k4_separated.dot -o relay_layout_k3_k4_separated.png to render.

Notes

  • Gates are gravity-closing and do not remain activated after a FIRE event.
  • CO₂ valve remains open until a manual reset is performed.
  • The system arms based on tank pressure and triggers on pressure drop.
  • Relays are powered from 24V, 12V, and AC lines as appropriate.

Rendering

Install Graphviz and run:

bash
dot -Tpng fire_state_machine.dot -o fire_state_machine.png
dot -Tpng power_distribution.dot -o power_distribution.png

Or use online editors like edotor.net or dreampuf.github.io.


Enginerd-built. Fire-tested. 🔥🛠️

Parts

30
QtyValueFootprintReferences
81kResistor_SMD:R_0805_2012MetricR3, R4, R5, R6, R7, R8, R9, R10
8Screw_Terminal_01x04TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-4-5.08_1x04_P5.08mm_HorizontalJ4, J5, J6, J7, J8, J9, J10, J11
3SolderJumper_3_Bridged12Jumper:SolderJumper-3_P1.3mm_Bridged12_RoundedPad1.0x1.5mm_NumberLabelsJP1, JP2, JP3
247uCapacitor_THT:C_Radial_D6.3mm_H11.0mm_P2.50mmC1, C3
24k7Resistor_SMD:R_0805_2012MetricR1, R2
2~SparkFun-Connector:1x04_RA_SMDJ1, J2
10.1uCapacitor_SMD:C_0805_2012MetricC2
1MCP23017_SOPackage_SO:SOIC-28W_7.5x17.9mm_P1.27mmU1
1Screw_Terminal_01x02TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_HorizontalJ3
1SolderJumper_3_Bridged123Jumper:SolderJumper-3_P1.3mm_Bridged123_RoundedPad1.0x1.5mm_NumberLabelsJP4
1ULN2803APackage_SO:SOP-18_7.495x11.515mm_P1.27mmU2

Similar boards

  • 2 layersLM80C R6, the printed circuit board in 3D

    LM80C R6

    leomil72/LM80C

    A Z80-based homebrew computer withTMS9918, AY-3-8910, Z80 CTC, Z80 PIO, and Z80 SIO

    153 parts123GPL-3.0
  • 2 layers128.6 × 81 mmAfterglow, the printed circuit board in 3D

    Afterglow

    bitfieldlabs/afterglow

    Pinball retro afterglow

    203 parts32
  • 4 layers132 × 84.5 mmHamodule, the printed circuit board in 3D

    Hamodule

    crgarcia12/electronics-homeassistant-lightscontroll

    A smart lighting controller PCB that integrates seamlessly with ESPHome and Home Assistant while maintaining full compatibility with traditional mechanical switches.

    207 parts28
  • 2 layers73 × 113 mmFT817 buddy v4, the printed circuit board in 3D

    FT817 buddy v4

    g7uhn/ft817_buddy

    A companion display & controls for the FT-817

    76 parts28CC-BY-SA-4.0
  • 2 layers28 × 36 mmBlisplay driver, the printed circuit board in 3D

    Blisplay driver

    hzeller/blisplay

    A tactile display for the blind.

    17 parts21
  • 4 layers159 × 130 mmRC11, the printed circuit board in 3D

    RC11

    AgOpenGPS-Official/Rate_Control

    106 parts20GPL-3.0

Questions

What parts does the Button board use?

30 parts, built around the ULN2803A. 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 Button board KiCad files?

From the nathan-stewart/laser-enclosure repository on GitHub, at the commit this page was made from: the board is schematic/button-board/button-board.kicad_pcb and its schematic schematic/button-board/button-board.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Button board design in my own project?

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