Abstract:
A camera apparatus can be mounted on an endoscope to enable a picture to be taken of the interior of a coeliac cavity. The apparatus comprises a detecting device which detects whether the apparatus is or is not mounted on an endoscope. When the apparatus is mounted, the detecting device operates to supply power to an electrical circuit of the apparatus which requires energization only during a photographing operation, which power may be drawn from either an internal battery or an external power supply, thus minimizing the power dissipation of the internal battery.

Description:
BACKGROUND OF THE INVENTION 
     The invention relates to a camera apparatus for an endoscope, and more particularly, to a camera apparatus detachably mounted on an endoscope and having its various functions associated with photographing operations to be electrically driven and controlled. 
     As is well known, cameras manufactured for use with an endoscope are adapted to be mounted on an endoscope to take a picture of the interior of a coeliac cavity. A camera of this kind is known in which a series of functions including a shutter release and a film winding associated with a photographing operation are electrically driven and controlled. A camera which is electrically driven and controlled in this manner contains a variety of electrical components and electrical circuits, which can be categorized in a manner described below, depending on the magnitude of their power dissipation and the timing when they require a power supply. 
     1. Electrical components having an increased power dissipation and which need be supplied with power only during a photographing operation: 
     (a) an electric motor which effects a film winding as well as a charging operation for operating a mirror shutter release; 
     (b) an electromagnet which controls the operation of the mirror shutter; 
     (c) light emitting assembly comprising a combination of segment-shaped elements such as photodiodes and which is utilized to enter various data such as picture number, date, time of day and the number of film frames onto a film; and 
     (d) detection and display means formed by light emitting diodes or the like for detecting and displaying the film speed and the voltage of an internally housed battery; 
     2. Electrical circuits which exhibit a reduced power dissipation and which need be supplied with power only during a photographing operation: 
     (a) a control circuit associated with the motor; 
     (b) a control circuit associated with the electromagnet; 
     (c) a control circuit associated with the light emitting assembly; and 
     (d) a control circuit associated with the detection and display means; 
     3. Electrical components and circuits which must be normally supplied with power: 
     (a) a sequence control circuit for controlling the sequence of operation of the motor control circuit, the electromagnet control circuit, the light emitting assembly control circuit, the detection and display means control circuit, and a display control circuit to be described later; 
     (b) a display formed by a combination of segment-shaped elements such as liquid crystal elements for providing a display, externally of the camera apparatus, of various data including picture number, date, time of day and the number of film frames; and 
     (c) a control circuit associated with the display and including a clock circuit which must be maintained in operation to provide a display of the date and the time of day and a storage circuit for storing the number of film frames. 
     In order to reduce the power dissipation of a battery which is internally housed within the camera, and thereby increase the useful life of the battery prior art cameras of the type described above supply power to the components and circuits mentioned under the item 3 which normally require energization, from the internal battery while supplying other components and circuits from an external power source such as the source provided within a light source device of an endoscope used only during a photographing operation. Alternatively, those components and circuits which do not require energization at all times are supplied from the internal battery only during a photographing operation. 
     The components and circuits mentioned under items 1 and 2 which require a power supply only during a photographing operation may be fed by connection with an external source at the desired times. By way of example, an energization of the electrical circuits of the camera apparatus may be started in response to the depression of a shutter release button (see U.S. Pat. No. 4,145,130) or in response to a movement of a film winding lever from its inoperative to its operative position. However, with these known approaches, the energization cannot be started unless a photographing operation is initiated. Consequently, it is impossible to provide an idle, automatic film winding by means of an internally housed motor or to provide a film winding in order to prevent fogging. Even if possible, the resulting operation will be a very troublesome one. 
     SUMMARY OF THE INVENTION 
     It is an object of the invention to provide a camera apparatus for an endoscope which detects that the camera apparatus is mounted on an endoscope to initiate the energization of electrical circuits contained therein which require energization during a photographing operation, from an internally housed battery or an external power source, thus minimizing the power dissipation of the internal battery. 
     In accordance with the invention, there is provided a camera apparatus for an endoscope including a first electrical circuit which must be normally energized, a second electrical circuit which must be energized during a photographing operation, and an internally housed battery which feeds at least the first electrical circuit wherein means is provided to detect that the camera apparatus is or is not mounted on an endoscope, the detecting means being operative to cause the second electrical circuit to be fed from the internal battery or an external power source. 
     In this manner, the first electrical circuit which must be normally energized is normally fed in accordance with the invention, thus maintaining its functioning. At the same time, the second electrical circuit which requires its energization during a photographing operation begins to be fed in response to a mounting of the camera apparatus on an endoscope. In this manner, the power dissipation of the internal battery is minimized. 
     However, when the camera apparatus is mounted on the endoscope, all the electrical circuits of the camera apparatus are energized, and hence the camera apparatus can exercise its full capability, enabling an idle, film winding or a film winding to prevent fogging to be simply performed. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 is a schematic view showing the general arrangement of a camera apparatus for an endoscope according to one embodiment of the invention; 
     FIG. 2 is a block diagram of an electrical control device which is disposed in the camera apparatus of FIG. 1; 
     FIG. 3 is a schematic view of a camera apparatus for an endoscope according to another embodiment of the invention; 
     FIG. 4 is a block diagram of an electrical control device which is disposed in the camera apparatus of FIG. 3; 
     FIGS. 5, 6A and 6B are schematic views of detecting means used with the camera apparatus shown in FIGS. 1, 2 and 3 and 4, respectively; 
     FIG. 7 is a schematic view of a camera apparatus for an endoscope according to a further embodiment of the invention; 
     FIG. 8 is a block diagram of an electrical control device which is disposed in the camera apparatus of FIG. 7; 
     FIG. 9 is a circuit diagram of a specific example of the electrical control device shown in FIG. 2; 
     FIG. 10 is a circuit diagram of one form of the luminescent display shown in FIG. 9; 
     FIG. 11 is a circuit diagram of a timer circuit shown in FIG. 9; and 
     FIG. 12 is a timing chart which illustrates the operation of the camera apparatus of the invention. 
    
    
     DESCRIPTION OF PREFERRED EMBODIMENTS 
     Referring to FIG. 1, there is shown a camera apparatus 1 for an endoscope according to one embodiment of the invention, which is illustrated as mounted on an eyepiece assembly 2a of an endoscope 2. The camera apparatus 1 internally houses detecting means 4 which detects that the apparatus 1 is mounted on the endoscope 2, an electrical control device 5 which includes the essential parts of a control mechanism for the camera apparatus 1, and a connection terminal 6 for connection with an external power source. The terminal 6 is located so as to mate with a supply output terminal 7 which is disposed on the part of the eyepiece assembly 2a of the endoscope, so that when the camera apparatus 1 is mounted on the eyepiece assembly 2a, both terminals 6, 7 mate with each other to establish an electrical interconnection. The output terminal 7 is connected through a light source connection tube 2b of the endoscope 2 with a supply terminal 8 which is provided on the part of a connector assembly 2c, which is in turn adapted to be connected with a feed terminal 11 electrically connected to a power supply 10 of a light source unit 9 whenever the connector assembly 2c is connected to the light source unit 9. In this manner, when the camera apparatus 1 is mounted on the endoscope 2, it is fed from the power supply 10 of the light source unit 9, in addition to the internally housed battery 3. 
     Referring to FIG. 2, which shows the electrical control device 5 in more detail, it essentially comprises a film winding motor 21, a motor control circuit 22, a shutter release electromagnet 23, a control circuit 24 associated with the electromagnet 23, a data entry light emitting assembly 25, a control circuit 26 associated with the light emitting assembly 25 and formed by a decoder, a driver and the like, detection and display means 27 which includes a film speed sensor and a battery checker associated with the battery 3, a control circuit 28 associated with the detection and display means 27, a sequence control circuit 29, a display 30 which is used to provide an external indication of the number of film frames and the date when a picture is taken, and a control circuit 31 associated with the display and formed by a decoder, a driver and the like. 
     The battery 3 is connected to a number of components including detecting means 4 and the sequence control circuit 29 directly, to the motor control circuit 22, the electromagnet control circuit 24, the light emitting assembly control circuit 26, the control circuit 28 associated with the detection and display means and the sequence control circuit 29 through the detecting means 4, and also connected through a series combination of the sequence control circuit 29 and its connected display control circuit 31 to the display 30. The sequence control circuit 29 is connected to the motor control circuit 22, the electromagnet control circuit 24, the light emitting assembly control circuit 26 and the control circuit 28 associated with the detection and display means, respectively. The connection terminal 6 is connected to the motor 21, the electromagnet 23, the light emitting assembly 25 and the detection and display means 27 through their respective control circuits 22, 24, 26, 28, respectively. The detection and display means 27 is also connected to the sequence control circuit 29. 
     In operation, when the camera apparatus 1 is not mounted on the endoscope 2, the battery 3 is connected to only the display 30 and the display control circuit 31 through the sequence control circuit 29. The display 30 provides a display of the number of film frames and the date in accordance with an output from the display control circuit 31. 
     When the camera apparatus 1 is mounted on the endoscope 2, the detecting means 4 detects that it is mounted, and effects a switching operation to connect the battery 3 to other control circuits 22, 24, 26 and 28. In addition, the detecting means 4 produces a signal indicative of the fact that the camera apparatus 1 is mounted on the endoscope 2, which signal is applied to the sequence control circuit 29. As the control circuits 22, 24, 26 and 28 are activated, the power from the power supply 10 (see FIG. 1) which is now supplied through the connection terminal 6 is fed to the motor 21, the electromagnet 23, the light emitting assembly 25 and the detection and display means 27 at the same time as the camera apparatus 1 is mounted on the endoscope 2. As a consequence, in response to a photographing operation such as the depression of a shutter release button, not shown, the sequence control circuit 29 controls the individual control circuits 22, 24, 26 and 28, causing a film winding operation by the motor 21, or causing the electromagnet 23 to effect a shutter release operation. 
     FIGS. 3 and 4 show the general arrangement and an electrical circuit of a camera apparatus for endoscope which is constructed according to another embodiment of the invention. As shown, a camera apparatus 41 is adapted to be mounted on an endoscope 42 of hard type, the eyepiece assembly 42a of which is not provided with a power terminal. Thus the camera apparatus 41 is essentially the same as that shown in FIGS. 1 and 2 except that connection terminals for connection with an external power supply are not provided. Hence, corresponding parts are designated by like reference numerals without repeating their description. 
     The apparatus 41 operates in quite the same manner as the camera apparatus 1 except that the motor 21, the electromagnet 23, the light emitting assembly 25 and the detection and display means 27 are fed from the internal battery 3. 
     FIG. 5 shows a specific example of detecting means 4 which may be preferably used in the camera apparatus 1 or 41 shown in FIGS. 1 to 4. The detecting means 4A comprises a detecting terminal 43 connected to the battery 3 (see FIGS. 1 and 3) and a detecting terminal 44 connected to the sequence control circuit 29 and the individual control circuits 22, 24, 26 and 28 (see FIGS. 2 and 4), both of which are disposed in that portion of the camera apparatus 1 or 41 which is adapted to mate with the eyepiece assembly of the endoscope. When the camera apparatus 1 or 41 is mounted on the endoscope 2 or 42, both detecting terminals 43, 44 of the detecting means 4A are short-circuited by an electrically conductive member 45 which is disposed on the eyepiece assembly 2a and 42a of the endoscope to feed the individual control circuits 22, 24, 26 and 28 from the battery 3. The detecting means 4A also transmits a mounting detected signal to the sequence control circuit 29. 
     FIGS. 6A and 6B show another form of detecting means 4B. Detecting means 4B comprises a light emitting element 46 such as a light emitting diode which is disposed in the eyepiece assembly 2a or 42a of the endoscope 2 or 42 in combination with a light receiving element 47 such as a photodiode or phototransistor which is disposed in the mating portion of the camera apparatus 1 or 41. In this manner, it provides a photoelectric detection of the mounting of the camera apparatus 1 or 41 onto the endoscope 2 or 42. More specifically, in addition to the elements 46 and 47, the detecting means 4B includes a light shield member 48 which is disposed forwardly of the light emitting element 46 on the endoscope, preventing an external leakage of light therefrom when the camera apparatus 1 is not mounted on the endoscope, and another light shield member 49 disposed forwardly of the light receiving element 47 in order to prevent the element 47 from operating in response to an extraneous light such as natural light when the apparatus is not mounted on the endoscope 2 or 42. It will be noted from FIG. 6B that the light shield members 48, 49 retract from their positions located forwardly of the elements 46, 47 whenever the camera apparatus 1 or 41 is mounted on the endoscope 2 or 42 to leave the elements 46, 47 in opposing relationship. 
     Because no electrical contact is used, the detecting means 4B affords the advantage that a more stable operation is achieved as compared with detecting means 4A, free from the problem of poor contact between or the formation of rust on terminals and conductive members. 
     FIGS. 7 and 8 show a camera apparatus for an endoscope according to a further embodiment of the invention. The camera apparatus 51 is a modification of the camera apparatus 1 shown in FIGS. 1 and 2 in that the direct detection of a mounting of the apparatus onto the endoscope 2 by detecting means 4 is replaced by a switch circuit formed by a relay circuit which is operated by power from the external power supply 10 which is fed through the connection terminal 6 whenever the apparatus is mounted on the endoscope 2. Consequently, the camera apparatus 51 is similar to the camera apparatus 1 in that the detecting means 4 is replaced by a switch circuit 54 which is connected to the connection terminal 6. Other parts are designated by like reference characters, and hence will not be described. It should be understood that the switch circuit 54 may be formed by a semiconductor switching element. It will be appreciated that the camera apparatus 51 functions in the same manner as the camera apparatus 1 of FIGS. 1 and 2. 
     FIG. 9 shows a specific electric circuit of the electrical control device shown in FIG. 2. In the electrical circuit shown, the electromagnet control circuit 24 comprises OR circuit OR 1 , switching transistor Q 1 , a pair of resistors R 1 , R 2  and diode D 1 . The transistor Q 1  comprises an NPN transistor having its collector connected through the electromagnet 23 to a supply bus E 1  which is in turn connected to the connection terminal 6, its emitter connected to a common ground line E 0  connected to a ground terminal which is not shown in FIG. 2, and its base connected through resistor R 1  to the output of OR circuit OR 1 , respectively. A bias resistor R 2  is connected across the base and emitter of the transistor Q 1 . The electromagnet 23 is shunted by diode D 1 , which serves to suppress a counter electromotive force developed across the electromagnet 23 as the latter is deenergized. OR circuit OR 1  is connected between a supply bus E 2  and the ground line E 0 . The bus E 2  is adapted to feed an operating voltage during a photographing operation, and is connected to the battery 3 through the detecting means 4. OR circuit has its one input connected to the output of timer circuit TM 2  which controls the duration during which the electromagnet 23 remains energized to allow a mirror shutter, not shown, disposed within the camera apparatus 1 out of a taking light path. The other input of OR circuit is connected to the output of timer circuit TM 4  which controls the duration during which the electromagnet 23 is energized to allow the mirror shutter to move down into the taking light path. Timer circuit TM 2  has its input connected to the output of timer circuit TM 1  which controls the timing when the energization of the electromagnet 23 is initiated to thereby allow the mirror shutter to move up. Timer circuit TM 4  has its input connected to the output of timer circuit TM 3  which controls the timing when the electromagnet 23 is energized in order to allow the mirror shutter to move down. Both timer circuits TM 1  and TM 3  have their input connected in common to one end of a shutter release switch SW 1  through a waveform shaping buffer circuit 41, to be described later. 
     The motor control circuit 22 comprises AND circuit AND 1 , switching transistor Q 2 , three resistors R 3  -R 5 , noise suppressing capacitor C 1  and diode D 2 . The transistor Q 2  comprises an NPN transistor having its collector connected to the supply bus E 1  through the motor 21, its emitter to the ground lines E 0  and its base to the output of AND circuit AND 1  through resistor R 4 . A bias resistor R 5  is connected across the base and emitter of the transistor Q 2 . The diode D 2  serves suppressing a counter electromotive force developed upon interruption of the energization of the motor 21, and hence is connected in shunt therewith. AND circuit AND 1  is connected across the bus E 2  and the ground line E 0 , and has its one input connected to the junction between resistor R 3  and capacitor C 1  which are connected in series across the buses E 2 , E 0 . As mentioned previously, the purpose of capacitor C 1  is to suppress noises, and it also prevents a malfunctioning of the motor 21 when the power is initially turned on. When the bus E 2  is connected to the battery 3, the capacitor maintains an &#34;L&#34; level at one input of AND circuit AND 1  for a given time interval, and supplies an &#34;H&#34; level at the same input terminal subsequently, thus preventing the input from inadvertently assuming an &#34;L&#34; level. The other input of AND circuit AND 1  is connected to the output of timer circuit TM 6  which controls the duration during which the motor 21 is driven in order to wind up a film. The input of timer circuit TM 6  is connected to the output of timer circuit TM 5  which controls the timing when the motor 21 begins to be driven. The input of timer circuit TM 5  is connected to one end of shutter release switch SW 1  through the waveform shaping buffer circuit 41. 
     The light emitting assembly control circuit 26 comprises a switching circuit 26A which turns on or off the power supply to the light emitting assembly 25, a decoder driver circuit 26B (see FIG. 10) for driving a pair of light emitting elements 25a, 26b used for the entry of the number of film frames, and a buffer circuit 26C (see FIG. 10) for driving four light emitting elements 25c-25f for the entry of the date when a picture is taken. The switching circuit 26A comprises a pair of AND circuits AND 2 , AND 3 , a pair of transistors Q 3 , Q 4  and four resistors R 6  -R 9 . The transistors Q 3 , Q 4  comprise an NPN and a PNP transistor. The transistor Q 3  has its emitter connected to the bus E 1 , its collector connected to individual light emitting elements 25a-25f (see FIG. 10) which are disposed in a luminescent display 42, and its base to the collector of the other transistor Q 4  through resistor R 0 . Resistor R 9  is connected between the collector of the transistor Q 4  and the emitter of the transistor Q 3 . The transistor Q 4  has its emitter connected to the ground line E 0  and its base connected through resistor R 6  to the output of AND circuit AND 2  and also connected through resistor R 7  to the output of the other AND circuit AND 3 . A bias resistor R 8  is connected across the base and emitter of the transistor Q 4 . AND circuit AND 2  has its one input connected to the output of timer circuit TM 8  which causes the light emitting elements 25 (25a-25f) to emit light for an increased length of time, and has its other input connected to one end of a film speed establishing switch SW 2  through a combination of polarity inverting inverter IN 3  and diode D 3 . AND circuit AND 3  has its one input connected to the output of timer circuit TM 9  which causes the light emitting assembly 25 to emit light for a reduced length of time, and its other input connected through diodes D 3  to one end of the film speed establishing switch SW 2 . Timer circuits TM 8  and TM 9  have their input connected in common to the output of timer circuit TM 7  which controls the timing when the light emitting assembly 25 begins to emit light. The input of timer circuit TM 7  is connected to one end of shutter release switch SW 1  through the waveform shaping buffer circuit 41. The film speed establishing switch SW 2  has its other end connected to the ground line E 0  while one end is connected through resistor R 10  to the cathode of light emitting diode 27A which operates as a film speed detection and display means. The combination of the switch SW 2  and resistor R 10  constitutes a control circuit 28A for the light emitting diode 27A, which has its anode connected to the bus E 1 . Whenver the bus E 1  is connected to the external power supply 10 and the switch SW 2  is closed, the light emitting diode 27A is illuminated to provide an indication externally of the camera apparatus 1 that the film used is of a low speed. The fact that the light emitting diode 27A is not illuminated indicates that the film used is of a high speed. It is to be noted that the film speed establising switch SW 2  is automatically operated in response to the detection of a film speed indicating mark on the film used. The inverter IN 3  has its input connected to the anode of diode D 3  and functions to invert a switch SW 2  signal that is fed to the other input of AND circuit AND 3  before it is supplied to the other input of AND circuit AND 2 . This prevents AND circuits AND 2  and AND 3  from being enabled simultaneously, selecting either a long or a short duration during which the light emitting assembly 25 emits light for purpose of data entry. 
     The buffer circuit 41 which has its output connected to the input of timer circuits TM 1 , TM 3 , TM 5  and TM 7   comprises a series combination of a pair of inverters IN 1  and IN 2  which is connected across the buses E 2  and E 0 . The input of the buffer circuit 41 is connected to the junction between the shutter release switch SW 1  and resistor R 20  connected in series across the buses E 2 , E 0 , thus effecting a waveform shaping, by the double inversion, of the switch SW 1  close signal which occurs as a shutter release button (not shown) is depressed. 
     Timer circuit TM 1  to TM 9  have an identical circuit arrangement, which is illustrated in FIG. 11. As shown, it comprises a time delay producing, integrated circuit IC 1  (for example, HA17555 manufactured by Hitachi Mfg., Co. or NE555 manufactured by Signestics, Inc.), three capacitors C 2  -C 4  and three resistors R 11  -R 13 , all of which constitute together a monostable multivibrator. Integrated circuit IC 1  has eight terminals t 1  -t 8  including a ground (GND), trigger, output, reset, control voltage, threshold, discharge and supply (Vcc) terminal. Trigger terminal t 2  is connected with one end of a differentiating capacitor C 2  which has its other end connected to the input of timer circuits TM 1  -TM 9 . The trigger terminal t 2  is also connected with supply bus E 2  through a resistor R 11  which forms a differentiator together with capacitor C 2 . Output terminal t 3  represents the output terminal of timer circuits TM 1  -TM 9  for connection with a succeeding circuit. Output terminal t 3  is also connected to ground line E 2  through resistor R 13 . Reset terminal t 4  is connected to ground line E 2  together with supply terminal t 8 . Control voltage terminal t 5  is connected to the ground line E 0  through a stabilizing capacitor C 3 . Threshold terminal t 6  is connected to the line E 0  through a timing capacitor C 4  while discharge terminal t 7  is connected to the line E 2  through a timing resistor R 10 . It will be noted that the both terminals t 6  and t 7  are connected to each other. Ground terminal t 1  is connected to the ground line E 0 . In response to a negative trigger pulse applied to the trigger terminal t 2 , each of timer circuits TM 1  to TM 9  produces an output of &#34;H&#34; level, whereby capacitor C 4  is charged with a time constant determined by its combination with resistor R 12 . When the voltage across capacitor C 4  reaches the threshold voltage, it discharges, returning the output to &#34;L&#34; level. 
     It should be noted that timer circuits TM 1  -TM 9  have individual time constants T 1  -T 9  of different suitable values through a combination of suitable values for the capacitor C 4  and resistor R 12  (see FIG. 12). 
     Returning to FIG. 9, the detection and display means 27 and its associated control circuit 28 include portions 27B and 28B which are utilized to check the voltage of the internal battery 3. At this end, these portions are connected across a supply bus E 3 , which is connected to the positive terminal of battery 3, and the common ground line E 0 . The control circuit portion 28B comprises a comparator CP 1 , a Zener diode ZD 1  which provides a constant voltage, three resistors R 15  -R 17  and a manual switch SW 3 . The switch SW 3  is connected in series with resistors R 15  and R 16  across the buses E 3  and E 0 . The series combination of resistors R 15  and R 16  is shunted by a series circuit of resistor R 7  and Zener diode ZD 1  and also by comparator CP 1 . Comparator CP 1  has its one input connected to the junction between resistors R 15  and R 16  and its other end connected to the junction between resistor R 17  and Zener diode ZD 1 . The output of comparator CP 1  represents the output of the control circuit portion 28B, which is connected through a resistor R 18  to the cathode of light emitting diode 27B which represents detection and display means. Diode 27B has its anode connected to the bus E 3 . These portions operate in response to the closure of the manual switch SW 3 . Specifically, the supply voltage of the internal battery which is applied to the control circuit portion 28B through the switch SW 3  is divided by voltage divider resistors R 15  and R 16  and then applied to one input of the comparator CP 1 . Zener diode ZD 1  provides a given voltage at its cathode which is applied to the other input of comparator CP 1 , which then compares the supply voltage against the latter. When the applied voltage exceeds the given voltage, comparator CP 1  is turned on to cause an illumination of light emitting diode 27B, indicating that a supply voltage above the given value is available from the internal battery. If the supply voltage is less than the given voltage, comparator CP 1  remains off, whereby the failure of light emitting diode 27B to illuminate indicates that the internal battery 3 is exhausted. 
     A detection circuit which detects the number of film frames is connected across the buses E 3  and E 0 . It comprises a detecting switch SW 4 , an inverter IN 4  which serves as a buffer to prevent a chattling of the switch SW 4 , a capacitor C 5  and resistor R 19 . The series circuit of resistor R 19  and capacitor C 5  as well as the inverter IN 4  are connected across the buses E 3  and E 0 , and the capacitor C 5  is shunted by the switch SW 4 . The inverter IN 4  has its input connected to the junction between the resistor R 19  and capacitor C 5 , and its output is connected to the input of a first digit counter 43A which counts the number of frames, as shown in FIG. 10. The detection circuit detects marks such as perforations which are formed in the photographic film in order to permit a number of film frames to be detected. The detecting switch SW 4  is closed for each frame, and provides an input to the inverter IN 4 . The input signal is shaped and inverted by the inverter IN 4 , and is fed to the input of the counter 43A. 
     The luminescent display 42 shown in FIG. 9 is illustrated in more detail in FIG. 10. It includes the light emitting assembly 25 (25A, 25B) and its associated control circuit 26 (26A, 26B, 26C), the display 30 (30A, 30B) and its associated control circuit 31, a timing integrated circuit IC 2  which operates to produce the date when a picture is taken, and film frame counting counters 43A, 43B. 
     The light emitter assemblies 25A, 25B are formed by six light emitting elements 25a-25f such as light emitting diodes which are adapted to display numerals in seven segments. Each of the light emitting elements 25a-25f is connected to the bus E 1  through transistor Q 3  in the switching circuit 26A. The elements 25a-25f are driven by the external power supply 10 for illumination. Two of these elements, 25a, 25b, form light emitting assembly 25A which is used for entry of the number of film frames while the remaining four elements 25c-25f form together the light emitting element 25B which is used for entry of the photographing date. The elements 25a, 25b are connected to respective decoder drivers 26a, 26b through seven input lines which control the illumination of each of the seven segments. The decoder drivers 26a, 26b are connected to a first digit and a second digit counter 43A, 43B through four lines which transmit a single decimal digit. The first digit counter 43A has a carry signal line which is connected to the input of the second digit counter 43B. These counters 43A, 43B are connected across the buses E 3  and E 0 , and thus is normally energized by the internal battery 3. The decoder drivers 26a, 26b are connected across the buses E 2  and E 0 , and hence are rendered into operative condition upon application of a voltage thereto from the internal battery 3 whenever the camera apparatus 1 is mounted on the endoscope 2. The light emitting elements 25c-25f are connected to respective buffers 26c-26f through seven input lines which control the illumination of respective segments. The buffers 26c-26f are connected to the timing integrated circuit IC 2  through respective seven lines which are utilized to input a decode signal. The integrated circuit IC 2  is connected across the buses E 3  and E 0  and is hence normally fed from the internal battery 3 to continue counting the time. The buffers 26c-26f are connected across the buses E 2  and E 0 , and hence are fed from the internal battery whenever the camera apparatus 1 is mounted on the endoscope 2. It is to be noted that the elements 25c, 25d represent the month while the elements 25e, 25f represent the day. 
     The display 30 (30A, 30B) is formed by six display elements 30a-30f, which represent liquid crystal elements, for displaying numerals in seven segments as is well known. Each of the display elements 30a-30f is connected to the bus E 3  through the timing integrated circuit IC 2 , whereby it is normally fed from the internal battery 3 to provide an indication on the exterior of the camera apparatus 1. Two of these display elements, 30a, 30b, form the display unit 30A for indicating the number of film frames while the remaining four display elements 30c-30f form the display unit 30B which indicates the photographing date. The display elements 30a, 30b are connected to decoder drivers 31a, 31b through seven input lines which control the seven individual segments. These decoder drivers 31a, 31b are connected to the first digit and the second digit counter 43A, 43B through four lines which transmit a single decimal digit, these counters counting the number of film frames. The decoder drivers 31a, 31b are connected across the buses E 3  and E 0 , and are normally fed from the internal battery 3. On the other hand, the display elements 30c-30f are directly connected to the timing integrated circuit IC 2  through seven input lines which control the seven segments, respectively. The display elements 30c, 30d represent the month while the display elements 30e, 30f represent the day. 
     The timing integrated circuit IC 2  is formed by a complementary metal-oxide-semiconductor large scale integrated circuit (CMOS-LSI) which is used for liquid crystal driver clock, and is connected across the supply lines E 3  and E 0 , whereby it is normally fed from the internal battery 3 to effect the timing function and also driving the display elements 30c-30f. 
     The above description covers a specific form of an electrical circuit which is contained in the electrical control device 5 shown in FIG. 2. Referring to the timing chart shown in FIG. 12, the operation of the electrical control device 5 will be described briefly together with the operation of the camera apparatus 1. 
     Initially when the camera apparatus 1 is mounted on the endoscope 2, the detecting means 4 detects that the camera apparatus 1 is mounted, feeding the bus E 2  and the various circuits connected therewith from the internal battery 3. At the same time, the connection terminal 6 is brought into electrical contact with the output terminal 7 of the power supply, so that the bus E 1  as well as the various circuits connected therewith are fed from the external power supply 10, rendering the camera apparatus 1 to be capable of taking a picture. 
     When a shutter release button is depressed to close the shutter release switch SW 1 , the resulting signal is shaped by the buffer 41 to be applied to respective timer circuits TM 1 , TM 3 , TM 5  and TM 7 . In response to the signal applied, these timer circuits TM 1  to TM 7  are triggered, producing an &#34;H&#34; level output, causing a delay operation of these timer circuits to be initiated for respective intervals of T 1 , T 3 , T 5  and T 7 . As indicated in FIG. 12, these time delays are chosen such that T 1  &lt;T 7  &lt;T 3  &lt;T 5 , so that after the time delay of T 1 , timer circuit TM 1  is initially turned off, thus producing an &#34;L&#34; level output. In response to this output signal, the succeeding timer circuit TM 2  initiates to operate, producing an &#34;H&#34; level output for a time interval of T 2 . This output signal is fed through OR circuit OR 1  to turn transistor Q 1  on . Thereupon, the electromagnet 23 is energized to cause the mirror shutter to bounce up, initiating an exposure of a film to an image from an object being photographed. 
     Then timer circuit TM 7  is turned off after the time delay of T 7 , causing the succeeding timer circuits TM 8  and TM 9  to operate, which therefore produce output signals of an &#34;H&#34; level. If the film speed presetting switch SW 2  remains open at this time, the other input to AND circuit AND 2  will be &#34;L&#34; level while the other input to AND circuit AND 3  will be an &#34;H&#34; level, so that transistor Q 4  is turned on by AND circuit AND 3  for the time interval T 9  which is determined by timer circuit TM 9 . If the switch SW 2  is closed, the other input to AND circuit AND 2  will be an &#34;H&#34; level while the other input to AND circuit AND 3  will be an &#34;L&#34; level, so that the transistor Q 4  will be turned on through AND circuit AND 2  for the time interval T 8  which is determined by timer circuit TM 8 . When the transistor Q 4   is turned on, this also renders transistor Q 3  conductive, so that the light emitting assembly 25 is fed from the external power supply 10, causing the individual light emitting elements 25a-25f to emit light, allowing a digital entry onto the film to take place. The time interval determined by timer circuits TM 8  and TM 9  is determined so that T 8  &gt;T 9 , as indicated in FIG. 12, so that the data entry onto a film having a higher speed takes place when the switch SW 2  is opened while the data entry onto a film having a lower speed takes place when the switch is closed. 
     When timer circuit TM 3  is turned off after the time interval of T 3 , the succeeding timer circuit TM 4  begins to operate, producing an output of an &#34;H&#34; level for the time interval of T 4 . This output signal is fed through OR circuit OR 1  to turn transistor Q 1  on, whereby the electromagnet 23 is energized. This causes mirror shutter to move down into the taking light path from its upper position, whereby the exposure of the film to the image from an object being photographed is terminated. 
     Subsequently, timer circuit TM 5  is turned off after the time delay of T 5 , whereby the succeeding timer circuit TM 6  begins to operate, producing an output of an &#34;H&#34; level for the time interval of T 6 . This signal is fed through AND circuit AND 1  to turn transistor Q 2  on, whereby the motor 21 is fed from the external power supply 10. During the time interval of T 6 , the motor 21 continues to be driven, effecting a film winding operation. 
     In this manner, a series of operations which are required to take a picture and including the upward movement of the mirror shutter, the exposure of the film, the data entry, the downward movement of the mirror shutter and the film winding operation are electrically controlled in an automatic manner. 
     It should be noted that the electrical circuit of the electrical control device shown in FIGS. 9 to 11 can be directly applied to the camera apparatus 41 of FIGS. 3 and 4 and to the camera apparatus 51 of FIGS. 7 and 8, by slightly modifying the connection of the bus E 1  with the power supply. Specifically, when it is applied to the camera apparatus 41, the bus E 1  is connected through the detecting means 4 to the internal battery 3. In the case of the camera apparatus 51, the bus E 1  may be connected through the relay circuit 54, acting as detecting means, to the connection terminal 6. In this manner, a desired function for the electrical circuit of the electrical control device can be obtained. 
     While in the described embodiments, the detecting means comprises a pair of detection terminals and a conductive member, a combination of light emitting and light receiving element or a relay circuit, any other conventional means such as microswitch or pressure-sensitive element may be used instead. 
     It should be understood that the electrical circuits shown in FIGS. 9 to 11 are exemplary only, and that the invention is not limited to the electrical circuit shown or any other circuit similar thereto.