← back

a cloud lamp

I drew it, built it and programmed it in 2018 and made some improvements throughout the years.

The first sketch

It has warm white LED strips for regular light

The lamp with its warm-white LEDs on The lamp with its coloured LEDs on as well

... and colored LED strips where all LEDs can be set individually to a specific color (RGB).

By treating the lamp as a low-resolution screen, it can display animations like fireworks:

Or flocking;

And more;

view in fullscreen

How I built it

2018

I built this lamp in 2018. I designed the shape and the circuits, sourced the components, MOSFETs, transformers, transistors, wood, soldered and assembled everything, and wrote the firmware for the ESP8266 that drives it and an Android app to control it. It was the first firmware and the first app I ever wrote, back when you figured everything out from Stack Overflow and tutorials.

It has two kinds of LEDs: RGB ones that can be controlled individually, 109 of them, and warm-white ones that are dimmed together.

Building the lampBuilding the lampBuilding the lampBuilding the lampBuilding the lampBuilding the lampBuilding the lampBuilding the lamp The lamp, off The lamp, on

The app could turn the lamp on and off, set the colour and the brightness, and run a few animations.

The 2018 Android app The 2018 Android app The 2018 Android app

2020

I added a wake-up light: a small Python server on my home network that fades the lamp in in the morning. I did it as a server rather than in the firmware because the firmware had no over-the-air updates, so every change meant plugging in a cable.

The wake-up light page The wake-up light page

2026

I moved over to iPhone a while ago but kept my Android for the lamp because I didn't have time to build an iOS app. But with AI agents this changed; in a short time I was able to create an iOS app and also improve the firmware of the lamp with over-the-air updates, Wi-Fi setup instead of credentials hard-coded in the firmware, and animations. More on these animations below.

The 2026 iOS app The 2026 iOS app The 2026 iOS app

Unlocking more animations

The animations so far were pretty simple; cycle the colours through a rainbow, cycle individual circles through colours, etc. To go further and move animations across the lamp in 2D space, I needed the position of each LED. Turns out this wasn't so difficult to achieve. I took a picture with all LEDs visible and (using a tool an AI agent one-shot) I clicked every LED in the right order.

The 2018 build with every LED marked, colour-coded by disc, and one disc enlarged with its eight LEDs numbered

Animations

With the position of every LED known, an animation can move across the whole lamp: a line scanning from side to side, a flock drifting around like birds, fireworks.