Skip to the content
2 layers12.8 × 12.8 mmLedholder, 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
12.8 × 12.8 mm
Copper layers
2
Thickness
1.6 mm
Parts
2
Nets
4
Pads
10
Tracks, vias
17, 0
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
26 Apr 2025
Updated
15 Oct 2026

Overview

Ledholder is an open-source printed circuit board by Rocco83, from the Rocco83/kinderlight repository on GitHub. It is a 2-layer board of 12.8 × 12.8 mm with 2 parts on 4 nets, routed with 17 tracks and 0 vias.

Its parts include 1 diode and 1 connector.

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

2
QtyValueFootprintReferences
1JSTConnector_JST:JST_PH_S4B-PH-SM4-TB_1x04-1MP_P2.00mm_HorizontalJ1
1LED_5mm_RABGLED_THT:LED_D5.0mm-4_RGB_nopackageLED1

More from Rocco83/kinderlight

1
  • 2 layers52.5 × 30.5 mmKinderLight, the printed circuit board in 3D

    KinderLight

    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.

    22 parts

Similar boards

  • 2 layers37 × 19 mmPassive rpi hub75-adapter, the printed circuit board in 3D

    Passive rpi hub75-adapter

    hzeller/rpi-rgb-led-matrix

    Controlling up to three chains of 64x64, 32x32, 16x32 or similar RGB LED displays using Raspberry Pi GPIO

    2 parts4.4kGPL-2.0
  • 2 layersDiode template, the printed circuit board in 3D

    Diode template

    adamws/kicad-kbplacer

    KiCad plugin for automatic keyboard's key placement and routing

    2 parts547GPL-3.0
  • 2 layers20.3 × 15.2 mmL0 button, the printed circuit board in 3D

    L0 button

    Luos-io/luos_engine

    Open-source and real-time orchestrator for cyber-physical-systems, to easily design, test and deploy embedded applications and digital twins.

    2 parts546MIT
  • 2 layers35.1 × 46.8 mmSDEX2M2 Breakout Board, the printed circuit board in 3D

    SDEX2M2 Breakout Board

    NVNTLabs/switch2-SDEX2M2

    Micro SD Express to M.2 NVME Adapter for Nintendo Switch 2

    2 parts542GPL-3.0
  • 2 layers59.3 × 36.6 mmExpansionBoardTemplate, the printed circuit board in 3D

    ExpansionBoardTemplate

    BlueSCSI/BlueSCSI-v2

    BlueSCSI v2/Ultra - an open source, open hardware, SCSI emulator using the Pi Pico PR2040 and Pico 2 RP2350

    2 parts459GPL-3.0
  • 2 layersAlpha.9mm.wire, the printed circuit board in 3D

    Alpha.9mm.wire

    ohmtech-rdi/eurorack-blocks

    Software to Hardware Prototyping for Eurorack using C++, Max/Gen~ or Faust

    2 parts410
  • 2 layers26.7 × 64 mmGpu power, the printed circuit board in 3D

    Gpu power

    dennisss/dacha

    Monorepo for awesome tools/projects/libraries

    2 parts397Apache-2.0

Questions

How big is the Ledholder PCB?

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

What parts does the Ledholder use?

2 parts. 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 Ledholder KiCad files?

From the Rocco83/kinderlight repository on GitHub, at the commit this page was made from: the board is hardware/kicad-LedHolder/ledholder.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 Ledholder design in my own project?

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