ayershome.org

<<< Back to Eric's Halloween projects

Halloween Faux Candles

Six homemade LED candles

Introduction

This project is used to control a set of LEDs that are put in candles in order to made an interesting halloween display. The controller that lights up the candles also has a proximity sensor connected in order to start a scary sequence with the candles dimming and then activating an animated spooky figure.

Inspiration

The project is based on a Parallax Inc. app note You can download a .pdf file from them with more details and sample code written in BASIC for the BASIC stamp. Mike Lynch of AHRC passed it along to me.

The Halloween night setup

Our house has a driveway leading to a sidewalk that is kind of hidden behind some bushes. Behind the bushes is where I want to setup the spooky stuff.

Diagram of front porch

  • Replace the bulbs in the lamps outside the door with candle flicker type bulbs (they don't give off much light).
  • Line the driveway with Halloween lights from target.
  • At the end of the Halloween lights, setup the Gemmy toys motion activated Beware sign from Target.
  • We have some low voltage lights that line part of the sidewalk. Leave those on for safety.
  • After that, the 7 faux candles will line the rest of the sidewalk and steps.
  • A proximity sensor near the start of the faux candles will trip
  • Pause for a short delay, so trick-or-treater can make it to the steps.
  • Dim the candles, and then put out a series of rapid flashes to the candles.
  • Activate the spook on the rope with a remote control.
  • A limit switch will activate when the spook reaches.


The candles on Halloween night 2005 sitting on the front stoop Larger Image

Hardware

Basic hardware

The appnote calls for a BASIC stamp based controller. Since my current preferred architecture is Atmel AVR chips programmed with 'C', I decided to implement with the ATTINY26. I also had lots of very bright green LEDs that Steve Karg of AHRC brought to a meeting a few months ago. These LEDs are very bright and intended for daylight use. I also had a few ULN2003 ICs from Glitchbuster and a 900ma 7V wall power supply lying around.

Optional Hardware

I wired in a Sharp proximity sensor from the Mark III robot store to start the spooky flashing sequence and a little 315 MHz remote control transmitter from ColdfusionX on eBay. to trigger the spook (which is running on a rope with no wires attached.)

Lessons Learned

Processor

This project went together really quickly, but then its about the 3rd board I have made with the ATTINY26 so I was familiar with it.

LEDs and Candles

The candles are supposed to be drilled into in order to put the LEDs in. In the appnote, they drilled all the way through the candle and the LED is right near the top. I didn't want to see the LED when you looked down, so the first candle we used I drilled into the bottom just a bit and put the LED in the middle of the candle. It had a very nice diffusing effect, as the candle was translucent. Since we needed more, we picked up 2 cheap white candles at Target and I cut them in half. These candles were not translucent, so I had to drill them all the way through. It has a different effect, but still looks cool.

I used these high intensity green LEDs because I had them on hand. These high intensity LEDs can hurt your eyes if you look straight at them for a long time, so I tried to keep them buried in the candle

We tried lighting the first translucent candle with the LED on. The candle was much brighter than the LED, but you could still (barely) see a tinge of green at the bottom.

Schematic and Source code

The following files show the design and some test routines for programming the ATTINY26. I have included some extra parts of the schematic that aren't necessary that I included on my setup (reset push button, debug LED, external remote control output, and programming header.)

Home | Contact Us       Copyright 2008 Eric Z. Ayers
Google