Pumpkin – fake candle LED replacement


After getting some inspiration from Hackaday I thought I would have a go at making a LED board to replace the normal candle you put in your pumpkin. A quick Google search bought me to this Instrucables post which seams like the simplest code to get the job done. Well why not stop there so I added a push button to my breadboard and started added different modes

  • Candle mode
  • Pulse mode
  • Police flashing mode
  • Chase mode
  • Strobe mode
  • NIght rider mode
  • Off mode

Here is the layout of my breadboard. I used fritzing to do this layout, really nice piece of cross platform software


After extensive testing and realizing that using Delay() function was not the best idea I moved to using the millis() function. This allowed me to push the button and have it register while it was flashing the LED’s unlike it did with the delay() function.


What I normally do is after breadboarding my design with a full size Arduino I move it to a protoboard which I turn into a Arduino nano shield as seen in the picture above. This makes for a smaller project and it means I can swap my arduino nano between projects so not to ‘waste’ it.

Above is a quick demo of the different modes I managed to code. The code of course is available on my github. Happy Halloween

Added another video but this time with a finished case that I got from hobby craft plus I added a surface mount button to the side.

And I couldn’t leave out a quick video of what it looks like in the dark inside a pumpkin. Hope you have a great halloween

4 responses to “Pumpkin – fake candle LED replacement

  1. Pingback: One button TV remote (Attiny85/Arduino) | Facelesstech·

  2. Pingback: Pumpkin candle replacement 2014 edition (#pumpkin_led) | Facelesstech·

  3. Pingback: #Atmega_eyes animated eyes for pumpkin | Facelesstech·

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s