Patent ID: 8148998

Claim:
An orientation detection circuit comprising: a processor comprising a first input pin and a second input pin; a first resistor; a second resistor; a third resistor having a resistance value greater than that of the first resistor and the second resistor; a vibration switch comprising a first terminal being grounded, a second terminal connected to the second input pin, a third terminal connected to a power source, a fourth terminal connected via the third resistor to the second terminal and connected to the first input pin, and a conductive ball configured for simultaneously contacting two of the terminals; a first transistor having a first source connected via the first resistor to the power source, a first drain connected to the first input pin, and a first gate connected to the second input pin; a second transistor having a second source being grounded via the second resistor, a second drain connected to the first input pin, and a second gate connected to the second input pin; wherein, the processor identifies signals from the first input pin and the second input pin and outputs a corresponding control signal.