5 ms·
If you want to see some candle flicker code based on a PIC12F508 or 9 see below. The flicker effect is based on a linear feedback shift register function to pr
by linker3000 3y ago
If you want to see some candle flicker code based on a PIC12F508 or 9 see below.
The flicker effect is based on a linear feedback shift register function to provide a pseudo random effect.
https://github.com/linker3000/CandleFlameSim https://github.com/linker3000/CandleFlameSim
- huppeldepup 3y agoGoing to drop this here: “Reverse engineering” a real candle https://cpldcpu.wordpress.com/2016/01/05/reverse-engineering-a-real-candle/ https://cpldcpu.wordpress.com/2016/01/05/reverse-engineering...
- cmiller1 3y agoThis is great, I wish I could find off the shelf LED candles that more closely approximate the real thing. I'd also like them to be taper candles on a little holder with a loop finger hole so I can grab it to investigate noises in the night.
- rapjr9 3y agoThe best LED candle/flame simulations are the ones that use many LED's such as: https://www.amazon.com/gp/product/B08789LJPS https://www.amazon.com/gp/product/B08789LJPS https://www.amazon.com/gp/product/B07RBPLRPV https://www.amazon.com/gp/product/B07RBPLRPV There used to be a company that made 192 LED rechargeable candles which looked like real flames (when behind frosted glass). They have apparently stopped selling them because of all the cheaper ripoffs with fewer LED's and worse algorithms. The many LED flames look more realistic because the light source actually moves, rather than just varying in intensity. They had a bulb similar to the first link above. It's odd that the cheap LED lights don't use a better algorithm, a brownian motion or fractal algorithm with pseudorandom number generator designed for a long sequence before it repeats wouldn't raise the price, it just takes a little more time to implement.