Summerlight

Summary

Summerlight is a simple, robust light controller that makes indoor plants and rooms feel like a summer day. A Raspberry Pi Pico W modulates LED strips over the day using a smooth sine curve (06:00 → 20:30, peak at midday), keeping time via daily NTP sync and running off a monotonic clock between syncs.

Planter with lighting

Power

The power path is intentionally straightforward, reliable, and safe:

USB-C PD trigger @ 12 V → directly supplies the LED strips and the step-down (buck).

USB-C PD trigger

Buck converter → 5 V rail to the Raspberry Pi Pico W through a series diode.

Buck converter

Schematic

Functional overview of the wiring:

Summerlight schematic

Board and Enclosure

A small plastic box for electronic parts was used as the enclosure. It was the perfect size—the Raspberry Pi Pico W fits snugly inside.

Electronics case

The parts were soldered on a small perfboard that was measured to fit the enclosure.

Buck and PD trigger together

The board was left to float in the case; the fit was good enough that the parts did not rattle. This approach also makes it easier to work on in the future.

Pico W inside case

Code

Firmware is in main.py and can be found on my GitHub page here. Key points:

Install

1.4 meters of LED strip were used, with a total of 96 5050 LEDs. They were attached with wide transparent tape to the underside of the cupboards. The strip has its own adhesive, but it wasn't sufficient for a very smooth surface.

LED strips

The electronics sit neatly in a small case with strain relief on power lines. The controller drives LED strips mounted near the planter to provide pleasant ambient light across the day.

Planter installation in kitchen

Before long, the first plants started rising from the soil. The growth rate was noticeably higher.

Small plant growing

Notes