Skip to the content
PCBKitNew board
2 layers64.1 × 40 mmWALKIN PIR IF, the printed circuit board in 3D

Battery-Powered PIR Motion Interface (Isolated Dry Contact)

Size
64.1 × 40 mm
Copper layers
2
Thickness
1.6 mm
Parts
24
Nets
13
Pads
52
Tracks, vias
66, 2
Pours
42
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
30 Dec 2025
Updated
25 Jan 2026

Overview

WALKIN PIR IF is an open-source printed circuit board by ThunderSloth, from the ThunderSloth/walkin-pir-interface repository on GitHub, published under the MIT licence. It is a 2-layer board of 64.1 × 40 mm with 24 parts on 13 nets, routed with 66 tracks and 2 vias.

It is built around the AM312, AQY212EH and SMF12CA, with the AO3401A among its other parts. Its parts include 4 resistors, 3 capacitors, 3 diodes, 3 connectors and 2 transistors.

Main components

4

README

README.md

Battery-Powered PIR Motion Interface (Isolated Dry Contact)

Top view PCB render

Overview

Battery-powered PIR interface designed to trigger motion-activated overhead lighting via an isolated dry input on an XWA11V industrial controller. Intended for installation in a walk-in cooler where running mains power to the sensor is undesirable.

The board detects motion using an AM312 PIR and signals the controller by closing a dry contact (DIN ↔ COM) through a PhotoMOS relay. It also provides a pass-through connection for an external NTC temperature probe, allowing temperature sensing to share the same cable run.

All lighting logic and power switching are handled by the controller; this board functions as a low-power, robust peripheral.

3D render of WALKIN_PIR_IF PCB


Design Summary

  • Power: 3×AA battery (targeting multi-month to ~1 year life)
  • Isolation: PhotoMOS relay provides a true dry contact
  • Protection:
    • Reverse polarity protection on battery input
    • TVS diodes on all field wiring (DIN, COM, NTC probe)
  • Environment: Cold (~35–40°F), ~6 ft cable runs
  • Assembly: Hand-solderable THT + simple SMD parts

Design Rationale

  • Battery power avoids mains wiring near the sensor
  • PhotoMOS isolation prevents ground loops with industrial controls
  • TVS protection improves robustness for long, exposed wiring
  • Conservative, low-power design prioritizes reliability over complexity

Hardware Documentation

All design, assembly, and fabrication artifacts are published here:

➡️ WALKIN_PIR_IF Documentation (MkDocs)


Hardware Status

Rev B sent to fabrication ✅
Simplified prototype validated (video below).

  • Rev A: PIR output sags under direct PhotoMOS LED drive → unreliable switching.
  • Rev B: Added NPN low-side driver + LED current-limit resistor to isolate PIR output from load.

https://github.com/user-attachments/assets/d97296ae-1a20-4d2e-b4a4-3fdf33289da8

Parts

24
QtyValueFootprintReferences
4MountingHoleMountingHole:MountingHole_3.2mm_M3H1, H2, H3, H4
3SMF12CADiode_SMD:D_SOD-123FD1, D2, D3
1.1µFCapacitor_THT:C_Disc_D4.3mm_W1.9mm_P5.00mmC1
11.5kΩResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR2
1100kΩResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR4
1100ΩResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR3
110µFCapacitor_THT:C_Disc_D4.3mm_W1.9mm_P5.00mmC2
11MΩResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR1
11nFCapacitor_THT:C_Disc_D4.3mm_W1.9mm_P5.00mmC3
12N7000Package_TO_SOT_THT:TO-92_InlineQ2
1AM312Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalS1
1AO3401APackage_TO_SOT_SMD:SOT-23-3Q1
1AQY212EHPackage_DIP:DIP-4_W7.62mmU1
1Battery TerminalTerminalBlock_Phoenix:TerminalBlock_Phoenix_MPT-0,5-2-2.54_1x02_P2.54mm_HorizontalJ1
1Current TestTestPoint:TestPoint_2Pads_Pitch2.54mm_Drill0.8mmJP1
1LOGOWALKIN_PIR_IF:Repo_URLG***
1Probe TerminalTerminalBlock_Phoenix:TerminalBlock_Phoenix_MPT-0,5-2-2.54_1x02_P2.54mm_HorizontalJ2
1XWA11V TerminalTerminalBlock_Phoenix:TerminalBlock_Phoenix_MPT-0,5-5-2.54_1x05_P2.54mm_HorizontalJ3

The 23 most common of 24 parts.

Questions

How big is the WALKIN PIR IF PCB?

It measures 64.1 × 40 mm and has 2 copper layers, 1.6 mm thick.

What parts does the WALKIN PIR IF use?

24 parts, built around the AM312, AQY212EH, SMF12CA and AO3401A. 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 WALKIN PIR IF KiCad files?

From the ThunderSloth/walkin-pir-interface repository on GitHub, at the commit this page was made from: the board is hardware/pcb/kicad/WALKIN_PIR_IF.kicad_pcb and its schematic hardware/pcb/kicad/WALKIN_PIR_IF.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the WALKIN PIR IF design in my own project?

Its repository publishes it under the MIT 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 layers44.5 × 35.7 mmPaddle bridge, the printed circuit board in 3D

    Paddle bridge

    mlsorensen/Apollo2

    Second generation Micra remote and brew by weight

    23 parts13MIT
  • 2 layers56 × 47 mmReceiver, the printed circuit board in 3D

    Receiver

    abhijithvijayan/wireless-steering-wheel-controls

    Wireless steering-wheel audio controls for a car head unit.

    26 partsMIT
  • 2 layers70 × 45 mmBackpack defender, the printed circuit board in 3D

    Backpack defender

    donaldbell/productspeedrun

    Let's see how quickly we can get a product idea off the ground.

    43 parts
  • 4 layers121.9 × 44.4 mmBurnedHead, the printed circuit board in 3D

    BurnedHead

    justinbalexander/BurnedHead

    A handheld game console

    92 parts45Unlicense
  • 4 layers250.8 × 30 mmLedTubeFixture, the printed circuit board in 3D

    LedTubeFixture

    adamvotocek/Open-Tube-Light

    work in progress

    201 parts
  • 2 layers33 × 46 mmM18-usb interface pcb, the printed circuit board in 3D

    M18-usb interface pcb

    fred314159265/m18-usb-interface

    Isolated USB-C adapter for Milwaukee M18 battery diagnostics. KiCad design and v1.0 fab files. Software: m18-protocol-rs.

    31 partsUnlicense
  • 4 layers68.9 × 112.1 mmRP2350 V2, the printed circuit board in 3D

    RP2350 V2

    Stefan1623/VoidLink_Hardware

    Four-layer RF PCB design files for a wireless communication system

    151 parts
  • 2 layers70 × 110 mmPlaits clone, the printed circuit board in 3D

    Plaits clone

    lennartquerter/euro-rack-synth

    Lenimal Github for DIY for a Eurorack Synth

    150 parts13