ProjectsTürkçe

Fitil

My own digital candle, open source

Written and edited by
Caner Ak
Role in the work
Board design and firmware
Filed under
Projects, Technology

I drew my own digital candle board from scratch: 144 amber LEDs, an ESP32-S3, USB-C. It is called Fitil, and the design, the production files and the software are open source.

I wanted to make a digital candle of my own, so I drew the board from scratch. It is called Fitil, Turkish for a candle’s wick.

I published the board, the production files and the software as open source on GitHub. Anyone can download them and have one made.

The board

Fitil is a black circuit board 24 centimetres tall and 2.8 wide. At its top are 144 small amber LEDs in a 9 by 16 grid. A single IS31FL3731 driver runs all of them, and each LED has its own brightness. Its brain is an ESP32-S3 module; power comes over USB-C at 5 volts.

There are two buttons at the bottom: one restarts the board, the other steps the brightness through four levels and remembers the choice. There is also a small Qwiic port for a microphone or a sensor. On the back there are test pads for measuring, and at the bottom two holes for screwing it to a stand.

The flame

The flame is not a video or a recording; the software computes it moment by moment. It sways slowly, stirs now and then and flickers faster at the tip. Most of what makes it feel like a candle comes from that rhythm.

At times it leans as if caught by a draught, and it drifts between calm and lively on its own. And like a real candle, it goes out when you blow on it.

The flame's rhythm

The checks

I did not draw the board by hand. I defined the parts and connections in a single file, and generated the schematic, the layout and the production files from it with scripts. Then I checked everything: no errors in the schematic, not a single point in the layout against the manufacturer’s rules, and the copper in the production files matches the schematic exactly. I also checked, part by part with a script, that each of the 171 parts lands on the right pads in the assembly machine.

These checks caught two mistakes: the USB-C port was turned 180 degrees, and the ESP32 module was shifted by a few millimetres. Both were fixed in the next version. I also changed the 3.3-volt regulator; the first one I chose could oscillate with the ceramic capacitor on the board and restart the ESP32 at random.

Making one

The files are ready for JLCPCB: Gerber, bill of materials and placement file. JLCPCB makes the board with the parts already placed; all that is left is plugging in USB-C and loading the software. At start-up the LEDs light one by one, then the flame begins. Bare LEDs show as dots; frosted acrylic in front of them softens the flame.

Next: a small flame model trained on candle videos, and a 3D-printed stand.

Licence

The hardware is open under CERN-OHL-P v2 and the software under MIT. You can use, change, manufacture and sell it; the only condition is keeping the copyright and licence notices.