An Easy to use 30 & 60 Second timer (that uses a PIC)IntroductionThis system was designed to meet a number of needs: - Low cost
- Easy to use
- Audbile indication of time expiry
- Visual indication of timer in use/time up.
- Low power consumption
with all of these in mind I set about designing the system. Design To aid making the unit easy to use, it was intended to be handheld and operate from a PP3 battery. But using a 9V battery meant that a voltage regulator was needed. The standard 3 pin
regulator, the 7805, was fine except for one thing, the standby current of 5mA! Searching through Maplin I found the Holtek HT 1050 Low dropout regulator. This had a standby current of 3.5 uA. The maximum current available was 30 mA at 5V and it will still supply 5 volts with a terminal voltage of 5.1V due to the 100mV dropout voltage. The 30mA current limit and the 5 uA quiescent supply helped in achieving the Low power consumption figures. The other bonus is that the PIC used in the system will only draw 25uA when in Standby mode. The 30mA max current meant that it was necessary to find an audible device that did not draw too much current. again a suitable buzzer was found from Maplin, drawing 20 mA. By referring to the datasheets for the PIC 16F84 I noticed that it was possible to make the PIC sleep easily and awake on a keypress. Either by triggering a change on PORT B 4-7 the devices leaves it's low power standby mode. As the system had a low standby power, only 3 buttons were fitted to the unit, one for selecting a 30 second delay, 1 for 60 second delay and one for Reset. see the
software listing for some more info. The Circuit Enough of me going on click here for the schematic |