Skip to the content
2 layersNightGlow RevA PCB, the printed circuit board in 3D

NightGlow RevA PCB

PrinceOfDuloc/NightGlow

A smart hallway night light with adaptive brightness, ambient-light sensing, and motion detection — documenting the hardware, firmware, and engineering story behind every decision.

Copper layers
2
Thickness
1.56 mm
Parts
92
Nets
67
Pads
213
Tracks, vias
248, 0
Pours
35
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
18 Aug 2026
Updated
20 Aug 2026

Overview

NightGlow RevA PCB is an open-source printed circuit board by PrinceOfDuloc, from the PrinceOfDuloc/NightGlow repository on GitHub. It is a 2-layer board with 92 parts on 67 nets, routed with 248 tracks and 0 vias.

It is built around the ATTINY402-SSN, LMV358 and NCL30076AAD, with the TEMD6200FX01, SL7550-3 and DF10S among its other parts. Its parts include 39 diodes, 17 capacitors, 15 resistors, 5 ICs and 2 connectors. It belongs with the AVR (ATmega, ATtiny) boards of this library.

Main components

9

README

README.md

NightGlow is a smart hallway night light designed from the ground up with a focus on efficiency, reliability, and engineering transparency. Rather than treating it as a simple LED lamp, the project explores every major subsystem—from optical design and power electronics to analog sensing and firmware architecture.

The hardware combines a high-efficiency constant-current LED driver, a mmWave motion sensor, a photodiode-based ambient light measurement circuit, and a custom control board built around an AVR microcontroller. The firmware implements adaptive brightness control, configurable operating modes, automatic standby behaviour, and non-blocking task scheduling while keeping resource usage minimal.

This repository documents the complete engineering process, including design decisions, calculations, simulations, component selection, bench measurements, firmware implementation, PCB design, and validation. The report explains not only what was built, but also why each engineering decision was made and what alternatives were considered.

📖 Start here: Design Walkthrough

Whether you're interested in embedded firmware, analog circuit design, power electronics, PCB development, or simply enjoy seeing how a product is engineered from first principles, the design report is intended to provide a complete and reproducible walkthrough of the project.

Parts

92
QtyValueFootprintReferences
36LEDLED_SMD:LED_PLCC_2835LED1, LED2, LED10, LED11, LED12, LED13, LED14, LED15, LED16, LED17, LED18, LED19, LED20, LED21, LED22, LED23 +20
51uFCapacitor_SMD:C_0603_1608MetricC8, C10, C12, C14, C15
4~Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_HorizontalJP1, JP2, JP3, JP4
34.7uFCapacitor_SMD:C_0805_2012MetricC4, C6, C17
3~Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P15.24mm_HorizontalJP6, JP7, JP8
20.1uFCapacitor_SMD:C_0603_1608MetricC11, C16
21MResistor_SMD:R_0603_1608MetricR10, R12
2DF10SDiode_SMD:Diode_Bridge_OnSemi_SDIP-4LDB1, DB2
1100pFCapacitor_SMD:C_0603_1608MetricC9
1100uFCapacitor_SMD:CP_Elec_6.3x7.7C3
110RResistor_SMD:R_0603_1608MetricR6
110nFCapacitor_SMD:C_0603_1608MetricC5
1150kResistor_SMD:R_0603_1608MetricR3
115uFUser_Global_Library:CP_Radial_D10.0mm_P5.0mm_H22.0mm_HorizontalC1
12.7MResistor_SMD:R_0603_1608MetricR14
1220RResistor_SMD:R_0603_1608MetricR15
1220nFCapacitor_THT:C_Rect_L13.0mm_W8.0mm_P10.00mm_FKS3_FKP3_MKS4C2
12kResistor_SMD:R_0603_1608MetricR13
13.3kResistor_SMD:R_0603_1608MetricR8
133RResistor_SMD:R_1206_3216MetricR1
133pFCapacitor_SMD:C_0603_1608MetricC13
133uFCapacitor_SMD:CP_Elec_5x5.4C7
139kResistor_SMD:R_0603_1608MetricR5
13RResistor_SMD:R_0603_1608MetricR9
14.7MResistor_SMD:R_2010_5025MetricR4
14.7mHInductor_SMD:L_Bourns_SRR1208_12.7x12.7mmL1
1470RResistor_SMD:R_1206_3216MetricR2
147kResistor_SMD:R_0603_1608MetricR11
16.8RResistor_SMD:R_0603_1608MetricR7
1ATtiny402-SSPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU5
1BAT54APackage_TO_SOT_SMD:SOT-23D2
1ES1006FLUser_Global_Library:SOD-123FL_SMED1
1GMOV-EV275K7BL2User_Global_Library:GMOV-EV275K7BL2RV1
1GSFL7004User_Global_Library:SOT-223-3Q1
1Input ConnConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ1
1LMV358Package_SO:SSOP-8_3.9x5.05mm_P1.27mmU4
1NCL30076Package_SO:SOIC-8_3.9x4.9mm_P1.27mmU3
1NetTie_2NetTie:NetTie-2_SMD_Pad2.0mmNT1
1RadarConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ2
1SL7550-3Package_TO_SOT_SMD:SOT-23U2
1TEMD6200FX01LED_SMD:LED_0805_2012MetricD3
1TL431DBZPackage_TO_SOT_SMD:SOT-23U1
1~Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P20.32mm_HorizontalJP5

Similar boards

  • 2 layers151 × 131 mmRnvm marge, the printed circuit board in 3D

    Rnvm marge

    kitspace-test-repos/kicad6-file-collection

    228 partsMIT
  • 6 layers92.5 × 69 mmSolara Lumina Board, the printed circuit board in 3D

    Solara Lumina Board

    CwbhX/Solara-Lumina

    Creating an artificial sun for my dark apartment

    11 parts
  • 2 layers46 × 46 mmClockRev5, the printed circuit board in 3D

    ClockRev5

    Steinar10/Clock-project

    Wristwatch with RGB LEDs instead of analog hands.

    125 parts
  • 2 layers75.8 × 19.2 mm3S coinCellChargeController, the printed circuit board in 3D

    3S coinCellChargeController

    PocketConcepts/Pocket_PSU

    A variable current & voltage PSU with 3S lipo charging, balancing, and protection circuit using PPS.

    78 parts36
  • 2 layers72 × 47.5 mmPCB avr dx unbricker, the printed circuit board in 3D

    PCB avr dx unbricker

    k-takata/PCB_avr_dx_unbricker

    UPDI High Voltage programmer for AVR Dx/Ex series

    40 parts4
  • 2 layers85 × 53 mmCccamp23 nametag, the printed circuit board in 3D

    Cccamp23 nametag

    HazeCore/Nametag_Hardware

    This is the hardware for out Nametag Badge for Chaos Communication Camp 2023. You can find more information about the Project at https://hazeco.re/cccamp-nametag/.

    34 parts3
  • 2 layers7.4 × 7.3 mmDCC Dekoder Attiny402 1, the printed circuit board in 3D

    DCC Dekoder Attiny402 1

    markusgruen/DccFunctionDecoder

    Open source, Arduino-based DCC function decoder

    17 parts3GPL-3.0

Questions

What parts does the NightGlow RevA PCB use?

92 parts, built around the ATTINY402-SSN, LMV358, NCL30076AAD and TEMD6200FX01. 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 NightGlow RevA PCB KiCad files?

From the PrinceOfDuloc/NightGlow repository on GitHub, at the commit this page was made from: the board is PCB Design/NightGlow RevA PCB/NightGlow RevA PCB.kicad_pcb and its schematic Experiments/Other/PFC using just an inductor/PFC using just an inductor.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the NightGlow RevA PCB design in my own project?

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