lightbox

lightbox

2025
fusion360arduinomicrocontrollerstemperature sensorslasercuttinginkscape

a lightbox that changes color based on temperature. it uses an attiny84 microcontroller reading a temperature sensor to shift the led between shades of blue — colder temperatures produce a deeper blue, while warmer temperatures shift toward lighter tones.

how it works

the attiny84 reads the temperature sensor on a timer and maps the value to an rgb color. the color smoothly transitions as the temperature changes, so the lightbox gives a subtle visual cue of the room temperature at a glance.

design

the full build in 3d

orbit the complete final assembly below. drag to rotate, scroll or pinch to zoom.

tech details

the attiny84 was programmed via arduino ide. the code maps the sensor's analog reading to a color range, applying a simple smoothing filter to avoid abrupt shifts. the whole circuit runs off a small usb power supply.

← back to projects source