SMD LED with candle flicker?

Does anyone know if there’s an SMD LED in the 1206 form factor that has a candle flicker effect, to replace the LED on a LilyPad?

I know I can buy them in [5mm through-hole, but that won’t easily work on a LilyPad.](5mm Round Top Flickering Candle LEDs)

Hi, which Lilypad board are you using? The LilyPad Arduino 328 Main Board or Lilypad USB Plus or LilyPad Arduino USB - ATmega32U4 Board?

I’m just looking for an SMD LED I can solder onto the LilyPad LED boards to have a flickering candle effect.

The end goal is to make the [Twinkling Trick-or-Treat bag, and have the Cat and Jack-o-lantern with the cat’s eyes blinking (I have the code on the ATTiny for that) and then have the LEDs in the Jack-o-Lantern flickering like a candle (I currently have them on solid, because I’m very new to coding, and I’m having problems getting two sets of LEDs doing two different things at the same time).](Twinkling Trick or Treat Bag - SparkFun Learn)

I don’t really think using different LEDs is required. We carry these:

https://www.sparkfun.com/products/14013

And by using PWM via Arduino code, you can make them phase in and out, and flicker like a flame via trial and error. We use similar code on the LilyTwinkle:

https://www.sparkfun.com/products/11364

Take a look at the firmware here and tweak the values a bit. This code drivers multiple LEDs differently, similar to what I believe you are looking for in your project: https://github.com/sparkfun/LilyTiny_Li … winkle.ino

See the following article to see someone else’s LED candle project in action and maybe consider incorporating similar code: https://create.arduino.cc/projecthub/ma … ght-0166f8

Hope this helps.

Sorry to let this one sit for so long, got busy with other projects.

I was hoping for a hardware solution, because I’m really new to coding and completely self taught (meaning I’ve read a few books and websites, and watched some YouTube videos. So there are some huge gaps in my programming skills and knowledge).

I’ve made the [Twinkling Trick-or-Treat bag for my kids. I also made a little Halloween decoration I call “Monster Eyes” that’s just two LEDs in parallel driven by an ATTiny85 that makes them look like they’re blinking (2-5 seconds on, 1/4-1/2 second off).

The code for the “Monster Eyes” is as simple as you’d imagine, and there’s doubtless better ways to do it, but it’s what I managed to kludge together. The problem I’m running into is making a second set of LED do something at the same time as the first set blinks. My daughter chose the Cat and Jack-o-lantern pattern, and I reprogrammed the ATTiny in the Lilytwinkle to blink the cat’s eyes, but the Jack-o-lantern is just on solid, so I was hoping to swap out those LEDs to candle flicker LEDs, but I can’t find them anywhere.

My son picked the Ghosts pattern, and I would like to get the LEDs for the ghosts eyes blinking separately, but again having a hard time figuring how to make the code do that.

Turns out, code still runs one line at a time, just like when I was learning BASIC back in the 80s! Wish I’d stuck with learning it back then.](https://learn.sparkfun.com/tutorials/twinkling-trick-or-treat-bag/)