Patent ID: 8378283

Claim:
A photoelectric switch control circuit for being connected with a processing circuit which performs functions corresponding to a logic low (level) or logic high generated by the photoelectric switch control circuit, the photoelectric switch control circuit comprising: a first resistance; a first capacitance; and a photoelectric switch having a plurality of contacts which comprise a first to a fourth contacts; a plurality of light emitting devices, connected between the first contact and the second contact to emit infrared light; a plurality of light detecting devices, connected between the third contact and the fourth contact to detect the infrared light; wherein the first contact is grounded, one end of the first resistance, the second and the third contacts of the photoelectric switch and one end of the first capacitance connect at a node A; the fourth contact is to be connected with the processing unit, and grounded via a second resistance, the other end of the first resistance is to be connected with a voltage source, the other end of the first capacitance is grounded, and wherein after the voltage source is connected to the first resistance and the fourth contact connected with the processing unit, the third contact and the fourth contact are connected together when the infrared light is detected as the existing of the first resistance and the second resistance, thereby the fourth contact generates the logic high, the third and the fourth contacts are disconnected when the infrared light is not detected, the fourth contact is thereby grounded to generate the logic low.