Fire lamp

I found a lot of intersting ideas on the internet on how to make a fire simulation lamp using WS2812c programmable leds and Arduino. So I had to try this too. Spice up the romance that is 😉

I found a strip with leds very close put together, so the effect would also look nice.  Everything is powered by a 5v power bank, so you can just take it with you wherever you want to set a romantic mood 😉

To do: make a lamp with white glass around the electronics to diffuse the light from the leds so not every single one is visible.

I used the NeoPixel library to program the leds, also I used parts of code I found on the internet and adapted it. Also a Arduino Nano was enough to control all 140 leds alligned in groups of 20.

The electronic layout looks something like this, but I used 7 rows of 20 leds each:

Also if someone is interested in the code, here it is attached. Of course it can be improved a lot. I also plan to make multiple modes of this lamp to be able to select by button fire, lava lamp, snow flakes, etc…