NerdKits - electronics education for a digital generation

You are not logged in. [log in]

NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab.

Project Help and Ideas » Electronic Fire (Led Flickering)

August 04, 2012
by dgikuljot
dgikuljot's Avatar

Hey guys, I needed to create an electronic flame effect using leds. I was wondering how I could do this with the microcontroller. Lets lets just say we were going to use 1 pin for 1 led which was going to represent a candle . Would we use pwm or just turn the pin high/ low at certain speeds. If it is pwm, I have never dealt with that before and can definetly use some example code.

P.S. This led flame is for a project for my neighbor. I am decorating his son's bike for burning man with leds and circuits to do fancy stuff, and I thought some sort of flame effect with leds would match the theme.


August 07, 2012
by pcbolt
pcbolt's Avatar

Check out the "Blinking Valentines Day Heart" project on the tutorial page. Has all the info you need.

Post a Reply

Please log in to post a reply.

Did you know that sound travels via pressure waves in the air, and you can make these with a piezoelectric buzzer? Learn more...