Skip to the content
2 layers66.9 × 34.2 mmNight Light PCB, the printed circuit board in 3D

A motion-activated LED PCB with user-adjustable environmental light sensitivity and output delay via two onboard potentiometers. Detects motion only under desired lighting conditions (from full daylight to 0 lumens), with LED on-time adjustable from 0 to 72 seconds. No microcontroller required.

Size
66.9 × 34.2 mm
Copper layers
2
Thickness
1.6 mm
Parts
42
Nets
30
Pads
112
Tracks, vias
170, 6
Pours
2
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
4 Aug 2025
Updated
15 Aug 2025

Overview

Night Light PCB is an open-source printed circuit board by Electrical-Projects, from the Electrical-Projects/Energy-Efficient-Night-Light-with-Motion-and-Ambient-Light-Detection repository on GitHub. It is a 2-layer board of 66.9 × 34.2 mm with 42 parts on 30 nets, routed with 170 tracks and 6 vias.

It is built around the EEA-GA1A101B. Its parts include 17 resistors, 13 capacitors, 4 ICs, 3 connectors and 2 transistors.

Main components

1

README

README.md

Energy-Efficient Night-Light with Motion and Ambient-Light Detection

System Block Diagram

Description

A simple and affordable motion-activated LED circuit designed for environments where activation should depend on both motion and ambient light levels. The circuit uses a PIR motion sensor and a light-dependent resistor (LDR) to allow users to define the lighting conditions under which motion will trigger the LED. Two onboard potentiometers independently adjust: (1) the environmental light threshold (from full daylight to complete darkness) and (2) the LED on-time delay (0 – 72 seconds). The design is entirely analog, requiring no microcontroller, programming, or complex setup, making it easy to replicate and modify. The circuit is open source under GNU GPL 3.0 and may be freely used, modified, and shared.

Overview

The system operates by combining PIR motion detection with ambient light sensing. The LDR and potentiometer form an adjustable voltage divider that biases a transistor, determining whether motion detection is enabled based on current light conditions. A TLV8544 low-power comparator stage processes the sensor signals and feeds them into a SN74LVC1G00 NAND gate for signal inversion and logic control before triggering a 555 timer configured in monostable mode. The second potentiometer adjusts the RC time constant of the 555 timer, allowing precise control over the LED on-time from near-instant to over one minute.

Most of the circuit is built with through-hole components for ease of assembly, modification, and long-term serviceability. The PIR sensor section, however, is a compact, self-contained module using mostly SMD components, as it continuously processes and conditions the sensor output — a task that benefits from a smaller, integrated, and more energy-efficient layout.

A series of resistors and filtering capacitors ensure noise immunity and stable operation even in fluctuating lighting or high-EMI environments. Bulk decoupling capacitors stabilize the 6 V nominal supply for reliable performance.

Unlike microcontroller-based solutions, this analog approach offers instant startup, minimal standby current, and long-term reliability without software maintenance. Potential applications include indoor lighting control, battery-powered motion lamps, and outdoor security lights with dusk-to-dawn control.

Assembly & Modification

All necessary PCB design files, schematics, and a complete Bill of Materials (BOM) are included. Users can order parts directly from the BOM and have the PCB fabricated using the provided Gerber files. The prototype was entirely hand-soldered, using a mix of wire solder for through-hole components and solder paste for select SMD parts in the PIR section. The board includes outputs for two LEDs, allowing for multiple lighting configurations. Since all PCB design files are provided, users are free to modify layouts, adjust footprints, or expand the design for their own applications.

Enclosure & Use Case

An enclosure design is included, sized to house the PCB and powered by four AAA batteries. In the reference build, this enclosure was used for an indoor novelty night light, shaped like a cat ornament, where the LEDs served as the cat’s eyes

Parts

42
QtyValueFootprintReferences
310nFC315C103K1R5TA7303:CAPRR254W54L381T254H466C7, C9, C10
31MResistor_SMD:R_1210_3225Metric_Pad1.30x2.65mm_HandSolderR3, R12, R14
20.1uFC315C103K1R5TA7303:CAPRR254W54L381T254H466C8, C14
2100kResistor_SMD:R_1210_3225Metric_Pad1.30x2.65mm_HandSolderR8, R9
21uFC315C103K1R5TA7303:CAPRR254W54L381T254H466C5, C13
222kResistor_SMD:R_1210_3225Metric_Pad1.30x2.65mm_HandSolderR11, R13
222uFFG20X7R1C226MRT06:FG20X7R1C226MRT06C3, C11
22N3904Package_TO_SOT_THT:TO-92_InlineQ1, Q3
2300RNMF14FTC300R:STA_RNMF14_STPR17, R20
239kResistor_SMD:R_1210_3225Metric_Pad1.30x2.65mm_HandSolderR16, R18
268kResistor_SMD:R_1210_3225Metric_Pad1.30x2.65mm_HandSolderR5, R19
2691214110003691214110003:691214110003J2, J4
10.01uFC315C103K1R5TA7303:CAPRR254W54L381T254H466C1
11Resistor_SMD:R_1210_3225Metric_Pad1.30x2.65mm_HandSolderR7
110-10M PhotoresistorPDV_P8103:PHODET_PDV-P8103R6
11kResistor_SMD:R_1210_3225Metric_Pad1.30x2.65mm_HandSolderR15
11nFC315C103K1R5TA7303:CAPRR254W54L381T254H466C12
122uFCL32A226MOJNNNE:CAP_CL32_SAM-LC6
12M Pot - Light Sensitivity3314J_1_205E:TRIM_3314J-1-205EVR3
12M Pot - Timer (0-72s)3314J_1_205E:TRIM_3314J-1-205EVR2
133uF - Timer CapEEU_FC1C271:CAPPRD350W60D800H1150C2
147kResistor_SMD:R_1210_3225Metric_Pad1.30x2.65mm_HandSolderR10
1EEAGA1A101EEA_GA1A101:CAPPRD250W45D630H700100uF
1ICM7555xPPackage_DIP:DIP-8_W7.62mmU1
1NOR GateSN74LVC1G02DBVR:SOT95P280X145-5NU4
1PIR Signal ProcessingTLV8544DR:SOIC127P600X175-14NU2
1Power ConnectorB2B_XH_A (1):JST_B2B-XH-AJ3
1Power RegulatorMCP1702_3302E_TO (2):TO-92_MC_MCHU3

Similar boards

  • 2 layers30 × 50 mmModuleV400, the printed circuit board in 3D

    ModuleV400

    stuartpittaway/diyBMSv4

    Version 4 of the diyBMS

    42 parts1.1k
  • 2 layers139.7 × 64.8 mmSprig console, the printed circuit board in 3D

    Sprig console

    hackclub/sprig

    🍃 Learn to code by making games in a JavaScript web-based game editor.

    42 parts1.1kMIT
  • 2 layers90.5 × 50 mmMain control board, the printed circuit board in 3D

    Main control board

    jamro/tiny-engineer

    A small desktop robot that brings an AI coding assistant to life, physically acting out when it reads files, thinks, writes code, and finishes work.

    42 parts1.1k
  • 2 layers67.6 × 30.5 mmRgb to hdmi, the printed circuit board in 3D

    Rgb to hdmi

    hoglet67/RGBtoHDMI

    Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

    42 parts1kGPL-3.0
  • 2 layers190 × 80 mmPcb shield, the printed circuit board in 3D

    Pcb shield

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    42 parts915
  • 2 layers98 × 80 mmMai io, the printed circuit board in 3D

    Mai io

    whowechina/mai_pico

    Pico controller for Maimai

    42 parts475
  • 2 layers50.8 × 90.4 mmOBOGS PANEL, the printed circuit board in 3D

    OBOGS PANEL

    jrsteensen/OpenHornet

    OpenHornet 1:1 F/A-18C Simulator Repository

    42 parts431

Questions

How big is the Night Light PCB PCB?

It measures 66.9 × 34.2 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Night Light PCB use?

42 parts, built around the EEA-GA1A101B. 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 Night Light PCB KiCad files?

From the Electrical-Projects/Energy-Efficient-Night-Light-with-Motion-and-Ambient-Light-Detection repository on GitHub, at the commit this page was made from: the board is Electrical-Design/KiCAD-Project/Night Light PCB.kicad_pcb and its schematic Electrical-Design/KiCAD-Project/Night Light PCB.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Night Light PCB design in my own project?

Its repository states no licence, so its author keeps all rights: ask Electrical-Projects before reusing the design.