Candle simulator
[ Cliccare quì per la versione in Italiano ]



A very simple project, without PCB, using only one active component and three LEDs. Its effect is extremely realistic and requires one hour to build it up. A paper roll over the circuit completes the gadget. The only complication is given by the need to program the PIC with the Hex file present in the bottom of this page. You should have a programmer or a friend shall offer you this service. 

The code is also published, in order to shown how to implement a "Software PWM" on one or more output pin. 

Hereafter the circuit and my layout realised on a DIP14 socket for integrated circuits: 8 pin host the PIC12F683, while the other 6 are useful to try the more convenient lights effect replacing the three LEDs with your preferred colours. I used two Yellow 5 mm leds, and a big Red one 10 mm sized.


   

The 2 x 1,5V AAA batteries holder is put upside down to serve as solid support, offering its plate side to attach the circuit by means of a biadhesive band. The paper roll may be fixed with some scotch strips. A couple of alkaline AAA batteries make the circuit well working for two consecutive days. You may use also Ni-Mh ones, since the circuit may operate down to 2 V.




     


CLICK HERE TO SEE A VIDEO

On board firmware 

Right-Click here to save the HEX file ready for PIC programming.

I am also available to share the source, if you contact me via e-mail.