Abstract:
An electronic device comprises means for manually entering information relating to the battery and means for informing the exchange time of the battery in relation to said manual entry means.

Description:
This is a continuation of application Ser. No. 279,958, filed July 2, 1981, now abandoned which was a continuation of prior application Ser. No. 104,843, filed Dec. 18, 1979, also now abandoned. 
    
    
     BACKGROUND OF THE INVENTION 
     1. Field of the Invention 
     The present invention relates to a device for use in a digital information processing electronic apparatus such as an electronic calculator combined with clock or a camera and for informing the user thereof of the replacing time of the battery. 
     2. Description of the Prior Art 
     The clock-combined electronic calculators which have recently become popular in the market employ CMOS large-scale integrated circuit elements for the processing unit and field-effect type liquid crystal elements for the display unit to achieve a low power consumption. Such apparatus working on very small batteries such as button-type silver oxide cell or coin-type lithium cell generally require battery replacement only once a year. Also there is becoming known an air-zinc battery which has a service life of two years or longer in a same size as that of the abovementioned batteries. 
     It is therefore required for a user to maintain a memorandum on the date of replacement, species and capacity of the replaced battery and estimated service life thereof and to thereafter replace the battery according to such data as otherwise the apparatus suddenly becomes unusable because of the battery run-out, thus causing significant inconvenience and uneasiness to the user. 
     SUMMARY OF THE INVENTION 
     In consideration of the above-mentioned drawbacks of the prior art, the object of the present invention is to provide an alarm device capable of automatically informing the user of the replacement time of the battery in response to the information relating thereto to be entered at the loading of said battery, thereby avoiding the uneasiness to the user. 
     The present invention will be clarified in detail by the following description on an embodiment thereof shown in the attached drawings. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 is a block diagram of an embodiment of the present invention; 
     FIGS. 2A and 2B are views of embodiments of the display to be employed in the present invention; and 
     FIG. 3 is a view of an embodiment of the data entry unit of the present invention. 
    
    
     DESCRIPTION OF THE PREFERRED EMBODIMENTS 
     Referring to FIG. 1 showing an embodiment of the present invention in a block diagram, there are shown a logic circuit L composed for example of a CMOS large-scale intergrated circuit, and a battery B for supplying power thereto. The logic circuit L includes an oscillator 1 for generating clock pulses by means of an oscillating element X such as a crystal oscillating element and capacitors C1 and C2, a frequency divider 2 for counting down the frequency of said clock pulses to a pulse per second, a sexagesimal second counter 3 for counting the pulses supplied every second from said frequency divider 2, a sexagesimal minute counter 4 to be advanced every minute by the sexagesimal overflow output of said second counter 3, and a duodecimal hour counter 5 to be advanced every hour by the sexagesimal overflow output of said minute counter 4. The outputs 3&#39;, 4&#39; and 5&#39; of said second counter 3, minute counter 4 and hour counter 5 are supplied to a display decoder driver 7 for display on a display unit 8. A counter 6 for counting the battery using time is advanced by the duodecimal overflow output of said hour counter 5 whereby said counter 6 being advanced twice a day in the present embodiment. 
     Further there is shown in the logic circuit an operation control unit 9 for the calculator and clock and for conducting processing operations in response to the input signals 10&#39; from an input unit 10 such as a keyboard. A battery capacity memory 11 is connected to the control unit 9, and a comparator 12 compares the contents of the counter 6 and said memory 11 and releases an output signal upon coincidence of said contents. Also FIG. 3 shows an example of the keyboard 10, which comprises a numerical key group 20 for entering numerical information and an instruction key group 21 for entering operational instructions, both for processing in the operation control unit. 
     Further there are shown a switch 22 for selecting the clock mode and the calculator mode a key 23 for entering the information relating to the battery loaded, for example the nominal battery capacity in ampere-hours, or the service life of the battery in years, months or days. In the following description it is assumed that the service life in years is taken as said information. In case a new battery of a one-year service life is loaded into the apparatus, the counter 6 is reset by the signal line B&#39;. Upon subsequent entry of the numeral &#34;1&#34; by the numerical key group 20 followed by the actuation of the battery information key 23, the operation control unit 9 performs a calculation 1 year×365 days×2=730 according to a preprogrammed instructions, of which output signal 9&#39; is stored in the battery capacity memory 12. On the other hand the battery using time counter 6 continues to be advanced twice a day. 
     Consequently the output signal 12&#39; is released when the content of said counter 6 becomes equal to that of said battery information memory 12 one year after the loading of said battery B, whereby said display decoder driver 7 activates a battery replacement alarm display 8&#39; in the display unit 8 to inform the user of the need for the battery replacement, as shown in FIG. 2A. Also it is possible to store plural data such as &#34;728, 726, 724, . . . &#34; in said battery information memory 12 or to modify the program for the operation control unit 9 to control the comparator 12 in such a manner as to display the number of remaining days before the battery replacement as shown in FIG. 2B, the illustration showing three days remaining before the replacement. 
     As explained in the foregoing, the present invention allows to inform the user of the battery replacement time by means of a simple additional circuit.