Flame Effect Led bulb

Thread Starter

Indiancircuits

Joined Jul 6, 2023
4
I want to make a project of flame effect led bulb I need help write code for microcontroller chip .I had already two types of flame bulbs but I modify to make DIY it with modify version. I have no idea about types of chip used it.

Please help to complete this.I share more details if required.

(apologies for my lack of any formal terms. I am a newb amongst newbs..so any tidbits of knowledge you have, ill be happy to try and assimilate . Thank you! )
 

Attachments

BobTPH

Joined Jun 5, 2013
11,466
I made one like this.

8-bit random number generator provides duty cycle for PWM control of LED. I think it updated the duty cycle with new random number about 10 times per second. It gave surprisingly good results.

This is the type of random number generator zi used.

Linear feedback shift tegister
 

geekoftheweek

Joined Oct 6, 2013
1,429
The way this site works is YOU write program and others help guide you in the right direction. Pick your microcontroller, write a program, test it, and ask questions.
 

BobTPH

Joined Jun 5, 2013
11,466
Please Help to write program for Flame effect led using PIC microcontroller or Arduino by 8bit pseudorandom patterns generator using LFSR seen more natural realistic its seen below
Okay, I misinterpreted your original post. I thought you were trying to duplicate the effect if a flickering candle flame using a single LED and varying it’s brightness. From the pictures you posted, I guess you are trying to use multiple LEDs to essentially make and animated picture if a flame. That is much more complicated.
 
Top