Skip to the content
2 layers52.5 × 30.5 mmKinderLight, the printed circuit board in 3D

KinderLight RGB is a smart night light based on an ESP32-C6 microcontroller, capable of automatically adjusting brightness and color based on ambient light using a BH1750 sensor.

Size
52.5 × 30.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
22
Nets
30
Pads
71
Tracks, vias
151, 11
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
26 Apr 2025
Updated
15 Oct 2026

Overview

KinderLight is an open-source printed circuit board by Rocco83, from the Rocco83/kinderlight repository on GitHub. It is a 2-layer board of 52.5 × 30.5 mm with 22 parts on 30 nets, routed with 151 tracks and 11 vias.

It is built around the AO3400A. Its parts include 11 connectors, 6 resistors and 3 transistors. It belongs with the ESP32 and RISC-V boards of this library.

Main components

1

README

README.md

KinderLight RGB

KinderLight RGB is a smart night light based on an ESP32-C6 microcontroller, capable of automatically adjusting brightness and color based on ambient light using a BH1750 sensor.

Designed to integrate natively with Home Assistant via ESPHome.


Features

  • Automatic ambient light detection with BH1750 sensor.
  • RGB LED control via PWM (independent channels for Red, Green, Blue).
  • Wi-Fi control and OTA (Over The Air) firmware updates.
  • Web server interface for local diagnostics.
  • Optional manual serial debug connection via JST-SH 5P or Tag-Connect footprint (future).
  • Easy snap-in mount inside a Vimar Plana 14041 cover plate.
  • Input voltage 7–24V regulated to 5V with buck converter.
  • Smooth fade-in and fade-out effects.
  • Automatic activation from sunset to sunrise (future).

Hardware Required

  • ESP32-C6 Supermini
  • BH1750 light sensor module
  • MP1584 DC-DC Stepdown Module
  • RGB LED (common anode)
  • 3D printed snap-in panel for Vimar 14041
  • optionally, the PCB to host the components, otherwise replicate the same BOM

Software

  • ESPHome (latest)
  • Home Assistant (latest)
  • YAML automations provided.

Installation

  1. Flash the ESP32 using provided kinderlight.yaml ESPHome config.
  2. Install the snap-in panel inside a Vimar 14041 (or custom box).
  3. Wire the RGB LED and the BH1750 sensor
  4. Upload automations to Home Assistant.

Configuration

Lux table: 0.0 - 2.0 lx: Danger Zone (High risk of tripping/hitting furniture). 2.0 - 5.0 lx: Deep Twilight (Silhouettes only; no colors or textures visible). 5.0 - 10.0 lx: Twilight (General shapes visible; fine details are lost). 10.0 - 15.0 lx: Low Orientation (Safe to move; colors begin to be distinguishable). 15.0 - 20.0 lx: Dim Orientation (Comfortable for a nightlight; eye starts to adapt). 20.0 - 30.0 lx: Gloomy Interior (Environment feels "dark" but fully visible).

Entities Created

  • light.kinderlight_rgb
  • sensor.ambient_light_lux

(Optional Voltage monitor if configured.)

Automation Logic

  • Turns on at sunset, off at sunrise.
  • During daytime, activates if ambient lux falls below threshold.
  • Full color control from Home Assistant dashboard.

Future Plans

  • Support for multiple KinderLights via groups.
  • Additional effects (color cycling, breathing mode).

License

GPL-3.0 License


Project Structure

plaintext
kinderlight_rgb/
├── README.md
├── LICENSE
├── hardware/
│   └── 3d_models/
│       ├── snapin_14041.stl
│       └── 
├── firmware/
│   ├── kinderlight_rgb.yaml
│   ├── example_automation.yaml
├── bom/
│   ├── bom_front.csv
│   ├── bom_rear.csv
└── tools/
    ├── wiring_diagram.svg
    └── wiring_diagram.png

## Backlog

MP1584 dimensions for kicad has been taken from:

https://components101.com/modules/mini-mp1584-dc-dc-3a-adjustable-buck-module

[docs/MP1584-Dimensions.png]
[docs/MP1584-Pinout.jpg]

Parts

22
QtyValueFootprintReferences
3150RResistor_SMD:R_0805_2012MetricR4, R5, R6
3220RResistor_SMD:R_0805_2012MetricR1, R2, R3
3AO3400APackage_TO_SOT_SMD:SOT-23Q1, Q2, Q3
2GNDConnector_PinSocket_2.54mm:PinSocket_1x02_P2.54mm_VerticalJ2, J6
2MountingHoleMountingHole:MountingHole_3.2mm_M3H1, H2
1+12VCCTerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_HorizontalJ9
1+5VCCConnector_PinSocket_2.54mm:PinSocket_1x02_P2.54mm_VerticalJ1
1ESP32C6 LeftConnector_PinSocket_2.54mm:PinSocket_1x10_P2.54mm_VerticalJ3
1ESP32C6 RightConnector_PinSocket_2.54mm:PinSocket_1x10_P2.54mm_VerticalJ4
1I2C BH1750 JSTConnector_JST:JST_PH_B4B-PH-K_1x04_P2.00mm_VerticalJ11
1I2C BH1750 XHConnector_JST:JST_XH_B4B-XH-AM_1x04_P2.50mm_VerticalJ7
1LED PWMConnector_JST:JST_XH_B4B-XH-AM_1x04_P2.50mm_VerticalJ8
1LED PWM JSTConnector_JST:JST_PH_B4B-PH-K_1x04_P2.00mm_VerticalJ10
1VCCConnector_PinSocket_2.54mm:PinSocket_1x02_P2.54mm_VerticalJ5

More from Rocco83/kinderlight

1
  • 2 layers12.8 × 12.8 mmLedholder, the printed circuit board in 3D

    Ledholder

    Rocco83/kinderlight

    KinderLight RGB is a smart night light based on an ESP32-C6 microcontroller, capable of automatically adjusting brightness and color based on ambient light using a BH1750 sensor.

    2 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 KinderLight PCB?

It measures 52.5 × 30.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the KinderLight use?

22 parts, built around the AO3400A. 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 KinderLight KiCad files?

From the Rocco83/kinderlight repository on GitHub, at the commit this page was made from: the board is hardware/kicad-KinderLight-PCB/KinderLight.kicad_pcb and its schematic hardware/kicad-KinderLight-PCB/KinderLight.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the KinderLight design in my own project?

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