jusman
Newbie level 2
- Joined
- Jun 25, 2003
- Messages
- 2
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Location
- Indonesia
- Activity points
- 51
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 10 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 10th 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 driver like ULN 2003 to drive relays which in turn activate 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 !
Jusman Sulaiman
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 driver like ULN 2003 to drive relays which in turn activate 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 !
Jusman Sulaiman