I have a arduino nano and 5 meter Led strip.

I have a arduino nano and 5 meter Led strip. And i want to make a fire effect. I have tried fire2012 but i don´t no how to make it for 5 meter long LED strip. Can you help me?

Hi @Sverrir_Marino_Jonss , what issues did you have when running Fire2012 on your 5m strip? The only thing you need to do is adjust the NUM_LEDS constant to match your strip (probably to 150 or 300, depending on the strip).

You can play with the other constants like cooling to change the effect as well.

@Chris_Parton Hi i did try that but it did not work. I did not get the same effect.

@Sverrir_Marino_Jonss I’m not sure that Fire2012 is good for so many LEDs without some modifications. The “sparking” only occurs in the first few LEDs (the “bottom” of the fire), so you’ll want to increase that number. The simulation only looks at nearest neighbors to propagate heat, so the flames will appear to move slowly and cool off quickly on a long strip.

I can’t believe I forgot to mention this, but I have a modified version of Fire2012 that I use on my staircase, which has a four metre LED strip on each side: https://github.com/chrisparton1991/chrislights/blob/master/InteractiveStaircaseV2/FireLightMode.h

You won’t be able to use it directly as it’s designed to be part of an interactive system, but the key changes I made were to diffuse heat in both directions (see line 42) and to allow sparks to begin all along the strip (see line 59).

You can see the effect in action here: https://youtu.be/4Bg3Nlso1b8?t=2m34s