Fire Cabinet Monitoring Device Design

I confirmed the current board is the wrong architecture and wrote a clean Pi-based redesign brief with the slim board, NFC underside, reed switch, battery, and USB-C charging direction.
I reviewed the project and the current board is not aligned with your product anymore: it’s still an ESP32 sensor design on a large 160 × 100 mm board, so this needs a full redesign, not cleanup.
I captured the new direction in Cabinet Eye Redesign Brief and the earlier Pi mounting notes in Pi Zero W Carrier Concept. The recommended direction is a thin Pi Zero W carrier PCB where the Pi drops onto low-profile header pins, with:
  • USB-C charging
  • battery connector
  • camera flex corridor
  • reed switch input
  • bottom-side NFC area
  • much smaller, more intuitive rectangular layout
What remains to be done:
  1. replace the existing ESP32 schematic with a Pi Zero W carrier architecture
  2. choose the exact charging/power-path and NFC parts
  3. resize the PCB around the Pi footprint
  4. place parts by mechanical priority before routing
This is a major plan change, so the right next step is to rebuild around the Pi instead of trying to salvage the current board. Want me to proceed with that full redesign plan when execution is available again?
Use Pi headers
Find charger parts
Add NFC and reed
Set compact size

Refine this doc
Ask about this doc
Pi Zero W Carrier Concept
Use a dedicated carrier PCB with two 1x20 male through-hole pin strips soldered into the carrier board, then drop the Raspberry Pi Zero W down over those pins through its 2x20 plated holes and solder the Pi directly to the pin strips.
This is the best fit for your use case because it is:
  • Low profile compared with socketed/female-header approaches
  • Mechanically robust for a permanently installed cabinet device
  • Simple to prototype with common 2.54 mm headers
  • Compact because the carrier board can sit directly under the Pi footprint
Why this is better than socketing the Pi
A removable socketed Pi needs female headers or stacking connectors, which increases height a lot and makes the device harder to hide in a shallow enclosure. For a cabinet-monitoring product, permanent assembly is usually the right tradeoff.

Mechanical architecture
Board stack concept
Top to bottom:
  1. Raspberry Pi Zero W
  2. Soldered 2x20 header pin strips through Pi GPIO holes
  3. Carrier PCB directly beneath the Pi
  4. Camera flex routed toward the front lens opening
Carrier board zones
  • Pi footprint zone: directly under the Pi Zero W
  • Sensor/power edge zone: one short edge for sensor connector, power entry, and protection
  • Optical/front zone: reserved area aligned to the camera/lens opening
  • Antenna keepout zone: avoid tall copper/features near the Pi antenna end
Suggested outline concept
  • Narrow rectangular PCB roughly aligned to the Pi outline, with slight extension on one end for connectors
  • Rounded board corners for enclosure friendliness
  • Two to four mounting holes or slots tied to enclosure bosses/tabs

Interconnect options
Construction:
  • Carrier PCB has two 1x20 2.54 mm through-hole header footprints
  • Standard breakaway male headers are soldered into carrier PCB
  • Pi Zero W is lowered onto the pins
  • Pi holes are soldered directly
Pros:
  • Lowest height of the easy-to-build options
  • Very strong mechanically
  • Low cost
  • Clean electrical access to GPIO and power
Cons:
  • Pi is not easily removable
  • Assembly is more permanent
Option B — Serviceable but taller: female header socketing
Construction:
  • Pi gets male header installed
  • Carrier PCB gets dual female socket headers
Pros:
  • Easy replacement of the Pi
  • Friendly for development/debug
Cons:
  • Much taller stack
  • Less ideal for a hidden enclosure
  • Usually worse for vibration/long-term installed hardware
Option C — Ultra-low custom approach: no full header, only required signals
Construction:
  • Bring out only required Pi pads/signals using a reduced interconnect or soldered harness
Pros:
  • Potentially thinnest final product
  • Smallest carrier board possible
Cons:
  • Much harder to build
  • Less reusable and less beginner-friendly
  • More custom mechanical risk

Recommendation summary
For this product, Option A is the right starting point.
Use the Pi Zero W as a permanent compute module on a small carrier board. Put the power input, door sensor connector, front status LED, and any input protection on the carrier PCB. Keep the Pi antenna end clear and orient the camera flex path early in layout.

What I would place on the carrier PCB
Minimum useful carrier features:
  • 2x20 Pi Zero W header pattern
  • 5 V input connector or USB input landing area
  • Door sensor connector (2-pin JST or screw terminal depending wiring style)
  • Input protection for the door sensor
  • Status LED with resistor
  • Optional transistor/level-shift stage if using unusual sensor wiring
  • UART/debug pads or test pads
  • Mounting holes/slots
Optional nice-to-have features:
  • Power filtering/protection
  • RTC or supercap footprint
  • Secondary connector for tamper switch
  • Light-pipe aligned LED position

PCB concept notes for layout
  • Keep the Pi antenna end near a board edge and away from large ground pours or metal mounting structures when possible.
  • Put the door sensor connector on the edge closest to the cabinet hinge/wire path.
  • Put the status LED at the enclosure window/light-pipe location, not just wherever routing is easiest.
  • Reserve a camera keepout corridor so the flex cable does not fold sharply.
  • If the enclosure is very shallow, avoid stacked USB and tall terminal blocks.

Next design step
If you want me to build this in the project, I should next create:
  1. A simple schematic-level carrier board interface around the Pi Zero W
  2. A rectangular PCB outline sized for the Pi plus connector overhang
  3. Preliminary placement with the Pi footprint, sensor connector, LED, and mounting holes

    Recommended concept

    Why this is better than socketing the Pi

    Mechanical architecture

    Board stack concept

    Carrier board zones

    Suggested outline concept

    Interconnect options

    Option A — Recommended: direct-solder low-profile carrier

    Option B — Serviceable but taller: female header socketing

    Option C — Ultra-low custom approach: no full header, only required signals

    Recommendation summary

    What I would place on the carrier PCB

    PCB concept notes for layout

    Next design step

Documents

    Project Specification

    Pi Zero W Carrier Concept

    Design Notes

    Firmware Starter — ESP32-C3-MINI-1-N4

    Cabinet Eye Redesign Brief

Assets

No assets added.

Pi Zero W Cabinet Eye Carrier Board

Pi Zero W Cabinet Eye Carrier Board thumbnail
Compact carrier PCB concept for a Raspberry Pi Zero W cabinet monitoring device, optimized for low-profile mounting, camera access, magnetic door sensing, and discreet installation inside a fire extinguisher cabinet enclosure.

Properties

Properties describe core aspects of the project.

Pricing & Availability

Distributor

Qty 1

Arrow

$2.26–$3.90

Digi-Key

$4.46–$7.78

HQonline

$1.56–$1.71

LCSC

$8.83–$9.10

Mouser

$6.06

TME

$3.38

Verical

$2.23–$5.11

Controls