

WALKIN PIR IF
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
4AM312
TO-5-3-30℃~+70℃ 3x4mm Rectangle TO-5-3 Human Body Sensing Sensor ROHSSenba Sensing TechHuman Body Sensing SensorAQY212EH
DIP-4-40℃~+85℃ 1.25V 1000MΩ 1ms 50mA 50us 550mA 550mW 5kV 60V 850mΩ AC,DC One set normally open: 2A (SPST - normally open) DIP-4 Solid State Relays (MOS Output) ROHSPanasonicSolid State Relays (MOS Output)SMF12CA
SOD-123FLESD And Surge Protection (TVS/ESD)hongjiachengAO3401A
SOT-231 P-Channel 14nC@10V 30V 47mΩ@10V、60mΩ@4.5V、85mΩ@2.5V 4A 55pF 645pF 80pF 900mV SOT-23 MOSFETs ROHSAlpha & Omega SemiconductorMOSFETs
README
README.mdBattery-Powered PIR Motion Interface (Isolated Dry Contact)

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.

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| Qty | Value | Footprint | References |
|---|---|---|---|
| 4 | MountingHole | MountingHole:MountingHole_3.2mm_M3 | H1, H2, H3, H4 |
| 3 | SMF12CA | Diode_SMD:D_SOD-123F | D1, D2, D3 |
| 1 | .1µF | Capacitor_THT:C_Disc_D4.3mm_W1.9mm_P5.00mm | C1 |
| 1 | 1.5kΩ | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R2 |
| 1 | 100kΩ | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R4 |
| 1 | 100Ω | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R3 |
| 1 | 10µF | Capacitor_THT:C_Disc_D4.3mm_W1.9mm_P5.00mm | C2 |
| 1 | 1MΩ | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R1 |
| 1 | 1nF | Capacitor_THT:C_Disc_D4.3mm_W1.9mm_P5.00mm | C3 |
| 1 | 2N7000 | Package_TO_SOT_THT:TO-92_Inline | Q2 |
| 1 | AM312 | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | S1 |
| 1 | AO3401A | Package_TO_SOT_SMD:SOT-23-3 | Q1 |
| 1 | AQY212EH | Package_DIP:DIP-4_W7.62mm | U1 |
| 1 | Battery Terminal | TerminalBlock_Phoenix:TerminalBlock_Phoenix_MPT-0,5-2-2.54_1x02_P2.54mm_Horizontal | J1 |
| 1 | Current Test | TestPoint:TestPoint_2Pads_Pitch2.54mm_Drill0.8mm | JP1 |
| 1 | LOGO | WALKIN_PIR_IF:Repo_URL | G*** |
| 1 | Probe Terminal | TerminalBlock_Phoenix:TerminalBlock_Phoenix_MPT-0,5-2-2.54_1x02_P2.54mm_Horizontal | J2 |
| 1 | XWA11V Terminal | TerminalBlock_Phoenix:TerminalBlock_Phoenix_MPT-0,5-5-2.54_1x05_P2.54mm_Horizontal | J3 |
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 mm

- 2 layers56 × 47 mm

Receiver
abhijithvijayan/wireless-steering-wheel-controls
Wireless steering-wheel audio controls for a car head unit.
26 partsMIT - 2 layers70 × 45 mm

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 mm

- 4 layers250.8 × 30 mm

- 2 layers33 × 46 mm

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 mm

RP2350 V2
Stefan1623/VoidLink_Hardware
Four-layer RF PCB design files for a wireless communication system
151 parts - 2 layers70 × 110 mm
