

Motion nightlight
KiCad files for an easy circuit to build a motion nightlight yourself
- Size
- 70.2 × 39.1 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 10
- Nets
- 5
- Pads
- 53
- Tracks, vias
- 12, 38
- Pours
- 5
- Routed
- Yes
- KiCad
- KiCad 6 (file 20211014)
- Created
- 6 Jun 2021
- Updated
- 11 Feb 2022
Overview
Motion nightlight is an open-source printed circuit board by ezcGman, from the ezcGman/motion-nightlight repository on GitHub. It is a 2-layer board of 70.2 × 39.1 mm with 10 parts on 5 nets, routed with 12 tracks and 38 vias.
It is built around the IRL3803S. Its parts include 1 capacitor, 1 resistor, 1 transistor and 1 connector. It belongs with the power and sensors and measurement boards of this library.
Main components
1README
README.md
Motion Nightlight
This is one of my first self designed PCBs in KiCad. It's a very simple circuit which can be utilized to create a motion nightlight with a few low power LED strips. See some examples at the bottom.
Credits
Shoutout to Quindor from QuinLED.info, the LED master himself. He tought me a lot about KiCad, PCB design and some more electrical engineering fundamentals! While I'm still miles away from being perfect, with his help I really feel confident in what I'm doing here!
KiCad dependencies
It might happen that KiCad is missing my custom footprints. You can find and download them here and then add them to KiCad: https://github.com/ezcGman/andys-footprints
Parts list
All these parts can be easily found on AliExpress (except the PCBs ;) ):
- 1x The PCB in this folder, printed e.g. at PCBWay
- 1x 3.2V LiFePO4 battery in AA form factor
- 1x AA battery holder for THT mounting
- The HC-SR501 PIR sensor. And because this also would act at day time, we also need:
- An LDR, a light-dependent resistor, which can be installed into the HC-SR501 to make it only act at night time. See that great video of Clive: https://www.youtube.com/watch?v=2dxhbXHYEG0
- 1x MOSFET. Probably most FETs (ha ha, MOSt FETs... ha ha) are fine, just pay attention that the thermal pad is connected to drain, as the MOSFET bed on the PCB is connected to drain! But I suggest the IRL3803 which has perfect specs for this application:
- Max Drain-Source Voltage of 30V
- Gate Threshold Voltage already of 1V
- 1x 0805 SMD capacitor of 10µF or bigger. But 0805 SMD caps are usually limited to ~40µF. So whatever u have around
- 1x 0805 SMD resistor of 10kΩ
- 4x 2.54mm double row pin headers. I chose angled headers, as it makes the whole thing more flat, so you can hide it behind something
Tools list
Required
- A soldering iron
- Soldering tin
Optional
- For SMD components:
- A hot air soldering/reflow station. However, it's only two and u have space around them, so they can be done with a soldering iron. Also the MOSFET can be technically soldered with an iron.
- Solder paste
- Tweezers
Example installation:

Parts
10| Qty | Value | Footprint | References |
|---|---|---|---|
| 4 | M2 | MountingHole:MountingHole_2.2mm_M2_Pad_Via | H1, H2, H3, H4 |
| 1 | 10kΩ | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R1 |
| 1 | 10µF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C1 |
| 1 | 3.2V | Andys-Footprints:BatteryHolder_Keystone_2460_1xAA-removed-holes | BT1 |
| 1 | Conn_02x04_Odd_Even | Andys-Footprints:PinHeader_2x04_P2.54mm_Horizontal-Less-SilkScreen | J1 |
| 1 | IRL3803 | Package_TO_SOT_THT:TO-220-3_Vertical | Q1 |
| 1 | LOGO | Andys-Footprints:Yoshi-Egg-Small | G*** |
Similar boards
- 2 layers100 × 100 mm

- 2 layers57 × 55.2 mm

LogicAnalyzer
gusmanb/logicanalyzer
24 channel, 100Msps logic analyzer hardware and software
10 parts5.1kGPL-3.0 - 2 layers32.2 × 15.4 mm

Protector
byrantech/laptop
anyon_e, a highly integrated, high end, open source laptop. Attempt the impossible.
10 parts4.3kMIT - 2 layers14.4 × 10.1 mm

Q3Q SWAB A1-00 Temperature + Test Points + OPT3001
joeycastillo/Sensor-Watch
A board replacement for the classic Casio F-91W wristwatch
10 parts2.1k - 2 layers26 × 18 mm

- 2 layers44.3 × 30.5 mm

Lime2-SATA RevA
OLIMEX/OLINUXINO
OLINUXINO is Open Source / Open Hardware, low cost from EUR 24 Linux Industrial grade Single Board Computer capable to operate -25+85C
10 parts1.5k - 2 layers150 × 50 mm

Breakout 55pin 963063-15-Connector
rusefi/rusefi
rusefi - GPL internal combustion engine control unit
10 parts1.2k - 2 layers17.8 × 43.2 mm

Nano Adapter
VoronDesign/Voron-Hardware
Cool Hardware designed by the Voron Design group
10 parts1.1kGPL-3.0
Questions
How big is the Motion nightlight PCB?
It measures 70.2 × 39.1 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Motion nightlight use?
10 parts, built around the IRL3803S. 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 nightlight KiCad files?
From the ezcGman/motion-nightlight repository on GitHub, at the commit this page was made from: the board is MotionNightlight.kicad_pcb and its schematic MotionNightlight.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Motion nightlight design in my own project?
Its repository states no licence, so its author keeps all rights: ask ezcGman before reusing the design.