

Motion activated night light
Hardware-only PIR-triggered PCB night light
- Size
- 77.5 × 45 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 26
- Nets
- 19
- Pads
- 60
- Tracks, vias
- 91, 7
- Pours
- 1
- Routed
- Yes
- KiCad
- KiCad 9.0 (file 20241229)
- Created
- 1 Aug 2026
- Updated
- 8 Aug 2026
Overview
Motion activated night light is an open-source printed circuit board by Norbixix, from the Norbixix/motion-activated-night-light repository on GitHub. It is a 2-layer board of 77.5 × 45 mm with 26 parts on 19 nets, routed with 91 tracks and 7 vias.
It is built around the ROF-78E5.0-0.5SMD-R, AO3400A and CL-SB-22A-01T. Its parts include 7 resistors, 5 diodes, 4 capacitors, 2 connectors and 1 transistor.
Main components
3ROF-78E5.0-0.5SMD-R
SMD-4P-40°C ~ 75°C 0.53" Length x 0.49" Width x 0.18" Height (13.5mm x 12.5mm x 4.5mm) 1 36V 4-SMD Module 500mA 5V 87% 9V Enable, Active High ITE (Commercial) Non-Isolated PoL Module SCP Surface Mount SMD-4P Power Module/Power Supply ROHSRECOM PowerPower Module/Power SupplyAO3400A
SOT-23-55℃~+150℃ 1 N-channel 1.45V 1.4W 30V 48mΩ@2.5V 5.7A 50pF 630pF 75pF 7nC@10V N-Channel SOT-23 MOSFETs ROHSAlpha & Omega SemiconductorMOSFETsCL-SB-22A-01T
SMD,8.5x3.5mm-40℃~+85℃ 200mA 3.5mm 5.5mm 50V 8.5mm DPDT J-Lead Rectangular Columnar Surface Mount,Vertical White SMD,8.5x3.5mm Slide Switches ROHSNidecSlide Switches
README
README.mdMotion-Activated Night Light
A compact PCB night light triggered by a plug-in HC-SR501 PIR motion sensor module. The board is powered from a 12 V DC wall adapter through a 5.5/2.5 mm barrel jack, includes a resettable PTC fuse, a physical ON/OFF switch, a 12 V to 5 V DC/DC converter for the PIR module, and five LED branches switched by a logic-level N-MOSFET.

Built Prototype
The assembled board with the plug-in HC-SR501 PIR module:

The board during a motion-triggered lighting test:

Key Parameters
| Parameter | Value |
|---|---|
| Input supply | 12 V DC |
| Power connector | PC-GK2.5/SMD, 5.5/2.5 mm DC barrel jack |
| Protection | 1812L050/30PR resettable PTC fuse |
| Power switch | CL-SB-22A-01T slide switch |
| 5 V converter | RECOM ROF-78E5.0-0.5SMD-R |
| Motion sensor | plug-in HC-SR501 PIR module in a 1x3 2.54 mm socket |
| LED switching | AO3400A low-side N-MOSFET |
| LEDs | 5x OSM54P57E1A 5 mm LEDs |
| LED resistors | 680 ohm, 1206 |
| PCB | 2 layers, approx. 77.5 x 45 mm, 4x M3 mounting holes |
How It Works
- A 12 V DC adapter feeds the J1 barrel jack.
- The 12 V rail passes through the F1 PTC fuse and S1 ON/OFF switch.
- The PS1 converter generates 5 V for the HC-SR501 PIR module.
- When the PIR detects motion,
PIR_OUTdrives the MOSFET gate through R8. - Q1 conducts and completes the LED current path to ground.
- D1-D5 turn on through their individual current-limiting resistors R1-R5.
Simplified current/control path:
12V -> F1 -> S1 -> LED + resistor -> Q1 -> GND
PIR_OUT -> R8 -> Gate Q1
R9: Gate Q1 -> GNDRepository Contents
| File/folder | Description |
|---|---|
Motion-Activated Night Light.kicad_pro | KiCad project |
Motion-Activated Night Light.kicad_sch | Schematic |
Motion-Activated Night Light.kicad_pcb | PCB layout |
gerber/ | Exported manufacturing files |
gerber.zip | Gerber/drill archive for PCB fabrication |
bom/motion_activated_night_light_bom.csv | Machine-readable bill of materials |
docs/ | Design, assembly, manufacturing, and reference notes |
hardware/3d-models/ | Local STEP models used by custom KiCad footprints |
Documentation
PIR Module
The board is designed for a ready-made HC-SR501 PIR motion sensor module inserted into J2. The module used for this project is the justPi/Botland HC-SR501:
J2 pinout on the PCB:
| J2 pin | Function |
|---|---|
| 1 | GND |
| 2 | PIR_OUT |
| 3 | +5V |
Always confirm the physical pinout printed on the PIR module before inserting it into the socket.
Project Status
- Simplified hardware-only design: no MCU, no photoresistor, no LM393 comparator.
- Last ERC/DRC check: no reported errors.
- Gerbers are available in
gerber/andgerber.zip.
Parts
26| Qty | Value | Footprint | References |
|---|---|---|---|
| 5 | 680 | Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder | R1, R2, R3, R4, R5 |
| 5 | OSM54P57E1A | LED_THT:LED_D5.0mm | D1, D2, D3, D4, D5 |
| 2 | 1uF | Capacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder | C3, C4 |
| 1 | 100 | Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder | R8 |
| 1 | 100k | Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder | R9 |
| 1 | 100nF | Capacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder | C2 |
| 1 | 10uF | Capacitor_SMD:C_1210_3225Metric_Pad1.33x2.70mm_HandSolder | C1 |
| 1 | 1812L050_30PR | 1812L050_30PR:1812L010DR | F1 |
| 1 | AO3400A | AO3400A:SOT95P280X125-3N | Q1 |
| 1 | CL-SB-22A-01T | CL-SB-22A-01T:CLSB22A01T | S1 |
| 1 | Conn_01x03_Socket | Connector_PinSocket_2.54mm:PinSocket_1x03_P2.54mm_Vertical | J2 |
| 1 | PC-GK2.5_SMD | Złącze zasilające DC PC-GK2.5/SMD:PCGK25SMD | J1 |
| 1 | ROF-78E5.0-0.5SMD-R | ROF-78E5.0-0.5SMD-R:ROF78E5005SMDR | PS1 |
The 22 most common of 26 parts.
Similar boards
- 4 layers149 × 95 mm

- 4 layers40 × 23 mm

- 4 layers81.2 × 96.6 mm

- 2 layers55 × 82.7 mm

- 4 layers42 × 42 mm

- 4 layers98 × 75 mm

PiFinder4
brickbots/PiFinder
A plate solving telescope finder based around a Raspberry PI and RPI HQ Camera
157 parts257GPL-3.0 - 2 layers240 × 240 mm

- 2 layers141.5 × 83 mm

Rolio
MickiusMousius/Rolio46Keyboard
A split wireless keyboard based on the Corne and Sofle
110 parts236MIT
Questions
How big is the Motion activated night light PCB?
It measures 77.5 × 45 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Motion activated night light use?
26 parts, built around the ROF-78E5.0-0.5SMD-R, AO3400A and CL-SB-22A-01T. 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 Motion activated night light KiCad files?
From the Norbixix/motion-activated-night-light repository on GitHub, at the commit this page was made from: the board is Motion-Activated Night Light.kicad_pcb and its schematic Motion-Activated Night Light.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Motion activated night light design in my own project?
Its repository states no licence, so its author keeps all rights: ask Norbixix before reusing the design.