[ List Subjects ][ Post Message ]
Subject: design for sequential lights
[ View Followups ][ Post Followup ]
Date: 06/11/03 at 6:47 PM
Posted by: Jusman Sulaiman
I am building a prayer candle lamps box for a catholic church. The box has 3 slots to insert coin or paper money. After power up, when some one want to pray he/she insert coin(s) into a slot and the first of 50 of candle lamp lights up for 5 minutes. When this period has not been elapsed you can add one more coin, and the second lamp lights up, and so on. So each lamp light will distinguish 5 minutes after it is triggered by coin insertion. After the 50th lamp, coin insert will trigger back the first lamp.
I intend to use PIC micro 16f84, use one of port A as trigger input, use the rest of port A and port B as outputs to be fed to decoders like CD4051 or 74HC154, and to use the decoder's outputs to drive relays which in turn activated the lamps. If anyone has any ideas how to program the timer in the 16f84 for this application I will be very grateful. Thank you very much for your help !
Post a Follow-up: