Take a dollar-store "flickering" LED candle, add an AVR ATtiny13 and a little code, and you get an LED candle that looks almost real.
A thumbnail seemed to be the best tool for this job. The casing isn't glued. There's just a friction-fit post that goes into a receiving hole in the cover. Work around the cover edge and the base part will begin to come loose. Don't get into a hurry because the wires connecting to the LED module inside are very fine and easy to break. We'll be re-using these wires, so be careful.
Then, wirelessly control the PS on the cheap by using a low cost RF transceiver pair from Sparkfun or Modern Device (check out the Arduino JeeNode!)
Both millis() and micros() are unsigned long
check for overflow.
int moo;
if (millis() - moo > DELAY)
{
moo = millis();
}
Will lock up on moo overflow.
better:
unsigned long moo;
if (millis() - moo > DELAY)
{
moo = millis();
} else { if (moo > millis(){moo=millis();}}
Can you publish a link for the zener based circuit? (I'm requesting on a year old comment -- sorry about that.)
Subrotos