I was always used to have an Advent Candle during December, but this year we were not able to buy one in time. So I decided to build an electronic one and control it with Arduino. Indeed it was a lot of work and it was ready only by the 10th of December but, well, next year it will still be working and I can program new effects!
I am controlling 25 LEDs with 10 GPIO pins, so I needed to build a matrix of LEDs and make some multiplexing.
At the beginning, I was thinking to use a Raspberry Pi but I switched soon to Arduino since such a board has been lying in a drawer for a long time. The code is pretty naive at the moment. I hope to have a better understanding of how to manage this kind of "parallel" stuff in Arduino in the future: listening for a button press while controlling a LED animation can be pretty tricky when you don't have threads. Do you? I took inspiration from https://www.arduino.cc/en/Tutorial/BlinkWithoutDelay
1 / 11 • The hardest part was to put the LEDs from the inside... without breaking the soldering
This is actually my first "real" hardware project, involving more than 70 solder joints. I thought I would have never managed such a thing and now I am pretty excited to have accomplished it. I need to thank my uncle Stefano for inspiring, Edo for remembering I had an Arduino and letting me discover Hackster.io, Daniele D.S. for providing the main hardware component, my wife, Julia, for bearing with me while I was playing with this stuff and my nephew Richard for encouragement with his enthusiasm and helping with soldering.