Braian Arroyo Braconi
Back
Side project · 2026

Living lamp

A lamp that reacts to its surroundings: ambient light and temperature drive a generative pattern.

Role
Hardware and creative code
Year
2026
Status
Prototype
Stack
ESP32 · Processing
Context

Interaction design without a touchscreen.

An experiment in taking interaction design off the screen: an object that responds to its surroundings without anyone touching it. Ambient light and temperature are the interface.

The same algorithm runs above in your browser. The cursor stands in for the sensors: the horizontal axis is light and the vertical one is temperature.

How it works

From sensor to pattern.

Sensors

An ESP32 reads a photoresistor and an analog temperature sensor.

Calibration

It tracks the minimum and maximum it sees and normalizes within that range, adapting to any room.

Curves

Non-linear curves so small changes are felt: light squared, temperature to the 1.5.

Transport

It sends light and temperature from 0 to 100 over serial every 80 ms.

Pattern

Processing draws an 80 × 80 grid with ten noise and wave patterns.

Behavior

Calm, excitement and color.

  • A calm zone

    In low light the pattern barely moves. Past 50 %, speed grows on a cubic curve: the lamp “wakes up” suddenly.

  • Changes driven by excitement

    The chance of jumping to another of the ten patterns rises with light, and each change blends gradually instead of cutting.

  • Temperature is color

    Hue moves from oranges to blues and violets as temperature rises; under strong light, color washes out.

Specs

Hardware and software.

Board
ESP32
Sensors
Photoresistor and analog temperature
Firmware
Arduino (C++)
Visuals
Processing
Link
Serial, 115,200 baud
Web
JavaScript and canvas port
What's next

Live data on electronic paper.

I am testing the ESP32 with an e-ink display to show live data, such as how many people are playing Pegote at that moment.

Next project Social Monitor

Let's talk.

Write to me