Skip to the content
2 layers77.5 × 45 mmMotion activated night light, the printed circuit board in 3D

Motion activated night light

Norbixix/motion-activated-night-light1

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

3

README

README.md

Motion-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.

PCB 3D view

Built Prototype

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

Assembled motion-activated night light PCB

The board during a motion-triggered lighting test:

Motion-activated night light switched on

Key Parameters

ParameterValue
Input supply12 V DC
Power connectorPC-GK2.5/SMD, 5.5/2.5 mm DC barrel jack
Protection1812L050/30PR resettable PTC fuse
Power switchCL-SB-22A-01T slide switch
5 V converterRECOM ROF-78E5.0-0.5SMD-R
Motion sensorplug-in HC-SR501 PIR module in a 1x3 2.54 mm socket
LED switchingAO3400A low-side N-MOSFET
LEDs5x OSM54P57E1A 5 mm LEDs
LED resistors680 ohm, 1206
PCB2 layers, approx. 77.5 x 45 mm, 4x M3 mounting holes

How It Works

  1. A 12 V DC adapter feeds the J1 barrel jack.
  2. The 12 V rail passes through the F1 PTC fuse and S1 ON/OFF switch.
  3. The PS1 converter generates 5 V for the HC-SR501 PIR module.
  4. When the PIR detects motion, PIR_OUT drives the MOSFET gate through R8.
  5. Q1 conducts and completes the LED current path to ground.
  6. D1-D5 turn on through their individual current-limiting resistors R1-R5.

Simplified current/control path:

text
12V -> F1 -> S1 -> LED + resistor -> Q1 -> GND
                         PIR_OUT -> R8 -> Gate Q1
                         R9: Gate Q1 -> GND

Repository Contents

File/folderDescription
Motion-Activated Night Light.kicad_proKiCad project
Motion-Activated Night Light.kicad_schSchematic
Motion-Activated Night Light.kicad_pcbPCB layout
gerber/Exported manufacturing files
gerber.zipGerber/drill archive for PCB fabrication
bom/motion_activated_night_light_bom.csvMachine-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 pinFunction
1GND
2PIR_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/ and gerber.zip.

Parts

26
QtyValueFootprintReferences
5680Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR1, R2, R3, R4, R5
5OSM54P57E1ALED_THT:LED_D5.0mmD1, D2, D3, D4, D5
21uFCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC3, C4
1100Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR8
1100kResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR9
1100nFCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC2
110uFCapacitor_SMD:C_1210_3225Metric_Pad1.33x2.70mm_HandSolderC1
11812L050_30PR1812L050_30PR:1812L010DRF1
1AO3400AAO3400A:SOT95P280X125-3NQ1
1CL-SB-22A-01TCL-SB-22A-01T:CLSB22A01TS1
1Conn_01x03_SocketConnector_PinSocket_2.54mm:PinSocket_1x03_P2.54mm_VerticalJ2
1PC-GK2.5_SMDZłącze zasilające DC PC-GK2.5/SMD:PCGK25SMDJ1
1ROF-78E5.0-0.5SMD-RROF-78E5.0-0.5SMD-R:ROF78E5005SMDRPS1

The 22 most common of 26 parts.

Similar boards

  • 4 layers149 × 95 mmMobo, the printed circuit board in 3D

    Mobo

    opulo-inc/lumenpnp

    The LumenPnP is an open source pick and place machine.

    399 parts3.7k
  • 4 layers40 × 23 mmPixl.js, the printed circuit board in 3D

    Pixl.js

    solosky/pixl.js

    An emulator for Amiibo!

    45 parts1.4kGPL-2.0
  • 4 layers81.2 × 96.6 mmKv4p ht PANEL, the printed circuit board in 3D

    Kv4p ht PANEL

    VanceVagell/kv4p-ht

    Open source handheld ham radio project KV4P-HT

    174 parts828GPL-3.0
  • 4 layers42 × 42 mmHuvud, the printed circuit board in 3D

    Huvud

    bondus/KlipperToolboard

    A 3D printer tool head controller board

    126 parts373GPL-3.0
  • 4 layers98 × 75 mmPiFinder4, the printed circuit board in 3D

    PiFinder4

    brickbots/PiFinder

    A plate solving telescope finder based around a Raspberry PI and RPI HQ Camera

    157 parts257GPL-3.0
  • 2 layers240 × 240 mmKfchess, the printed circuit board in 3D

    Kfchess

    misprit7/real-time-chess

    A physical chess board without the concept of turns

    235 parts254MIT
  • 2 layers141.5 × 83 mmRolio, the printed circuit board in 3D

    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.