An Arduino infinity mirror tells time and goes dark when someone approaches

Arduino, LEDs, mirror clock

This is the read-only HTML version. For the full Visual Space experience, open the app.

infinity mirror, LED clock — I

infinity mirror, LED clock — I
infinity mirror, LED clock — I

Source: Infinity Mirror Clock on Hackaday.io · Dushyant Ahuja

LED clock, proximity sensing

Dushyant Ahuja’s 2014 clock puts 60 addressable LEDs between mirrors, then switches them off so the display can serve as an ordinary mirror. Getting there meant fixing a mismatched wooden frame and a power supply that faltered during rainbow effects.

❤️ 1

An infinity mirror clock has two jobs that can get in each other’s way: make light worth looking at, and leave a reflection you can actually use. Dushyant Ahuja’s Infinity Mirror Clock on Hackaday.io handles that conflict with an infrared proximity sensor that switches off the LEDs when someone approaches. Shared in 2014, the Arduino project combines a 60-LED clock face with rainbow effects, Bluetooth controls and a few instructive lessons about fitting electronics into a wooden frame.

Ahuja describes it as a follow-up to an earlier Charlieplexed LED clock, prompted by the arrival of WS2812B addressable strips and an infinity-mirror project found online. The resulting build is marked completed, though the August 21, 2014 logs also record unresolved touch-button trouble and plans for a more ambitious smart mirror.

One strip supplies the clock face and the spectacle

The optical assembly pairs a circular mirror with a one-way mirror in a wooden frame. Light from the LEDs reflects between the surfaces, with some escaping through the front to produce the familiar receding-light effect. Ahuja lists filmed glass as an alternative to a purpose-made one-way mirror.

A one-metre strip carrying 60 individually addressable RGB LEDs provides the clock display. Rather than move mechanical hands, the controller assigns colours to the hour, minute and second indicators. An RTC module supplies timekeeping, while a Bluetooth serial connection lets the user change settings without reaching behind the clock.

The Bluetooth command log, dated August 21, 2014, documents controls such as HOUR 255 0 0 for a red hour indicator and SETRAIN 5 for rainbow effects every five minutes. Separate day and night brightness settings allow the display to go completely dark overnight; the code’s default night period runs from midnight to 7 a.m.

Bluetooth also serves a second purpose: firmware updates. The project describes connecting a breakout from the Bluetooth module to the Arduino’s DTR pin so the controller can be programmed without taking the clock off the wall. That’s distinct from sending colour and brightness commands to the firmware already running.

The mirror changed the power requirements

The most useful part of the build may be the problems log. Ahuja initially expected a heatsink-equipped 7805 regulator to power the clock, based on experience with a previous circuit. But the LEDs needed more brightness behind the one-way mirror, and the first trial suffered processor hangs and Bluetooth disconnections when rainbow effects started.

Ahuja reports resolving those problems by powering the LED strip separately through an LM2596 step-down module. The distinction matters: the light show wasn’t just a different animation; it placed a different demand on the supply.

There was still a stated limit. Ahuja rated the module at 3 A with a heatsink, below the strip’s quoted 3.6 A at full white, and relied on the software never requesting that all-white state. That makes the animation behaviour part of the power budget. Anyone adapting the firmware would need to revisit that assumption rather than treat the reported fix as capacity for every possible pattern.

A metre of LEDs leaves little room for rounding

The enclosure produced a separate set of problems. Ahuja specified dimensions in millimetres, but the carpenter worked in inches, introducing rounding into the hand-cut circles. The inner mounting circumference needed to match the 1,000 mm strip; it came out too large, requiring padding with double-sided tape. Elsewhere, the glass wouldn’t fit its openings, so Ahuja filed the plywood.

The practical recommendation was straightforward: have the glass cut first, then bring it along when the wood is cut. That gives the enclosure maker a physical reference, not just another set of converted measurements.

Sensor placement also changed during assembly. Ahuja reports that the infrared proximity sensor didn’t work behind the glass in this build, so it ended up below the clock. The touch button, intended to toggle between clock and rainbow modes, remained troublesome. Ahuja suspected household earthing and planned a test elsewhere, but the supplied logs don’t establish the cause.

The smart-mirror extension remained a plan

In the TFT module log, also dated August 21, 2014, Ahuja had bought a 2.4-inch LCD and proposed driving it with another Arduino behind the one-way mirror. The idea was to turn the screen on when the decorative LEDs went off, showing weather, messages or other information through the front surface. That entry describes a proposed extension, not a demonstrated working display.

Phone integration had one concrete foothold: the Android connection log says the clock already blinked its LEDs on receiving MISSED and returned to normal on MISSEDOFF. The phone-side software was another matter. An earlier Android application had stopped working, and Ahuja was seeking a Tasker-plugin approach for sending Bluetooth commands and periodic time updates.

The lasting lesson is in the finished clock’s interfaces, not the proposed extra screen. The mirror affects required brightness, brightness affects power demand, and the exact LED-strip length affects the frame. For a similar build, testing the intended light patterns behind the actual front material—and checking the glass against the frame before final assembly—would address two of the problems Ahuja had to solve after construction began.

Source: Infinity Mirror Clock

Hardware

3 Followers

A workshop for electronics and physical computing. Share circuits, boards, tools and prototypes; work through measurement and debugging, compare components, and document the choices that turn an idea into working hardware.

Visual Space is built for projects like this—where creators collaborate, organize goals, and grow communities around real work.