LED flickering with Arduino
In this LED project, three LEDs and Arduino are used to create realistic fire effect. This device can be used in a fake fireplace, or even in a real one for these hot summer nights where you don't want to heat up the room any further.
Diffused LEDs are preferred for the effect to be more realistic. In case of clear LEDs, you could diffuse the light with a piece of paper like it is shown in the video. Source code is written in C and is available for download on project page.