1. Technical Field
The disclosure relates to electronic devices with an input function and, particularly, to an electronic device with infrared touch input function.
2. General Background
It is well known that an infrared input system comprises a circuit board having a first pair of opposed sides positioned parallel to a first axis and a second pair of opposed sides positioned parallel to a second axis, the second axis being perpendicular to the first axis, each of the second pair of sides connecting the first pair of sides, all four sides defining a generally rectangular touch input area, a linear array of light emitting devices along each side, and a light detection device positioned at each corner of the circuit board; and a controller coupled to the light emitting devices and the light detection devices, wherein the controller sequentially activates each linear array and activates the light detection devices positioned at corners of the circuit board opposed to the activated array of light emitting devices. The system can discern the location of a touch within the information display area by implementing an algorithm on x, y coordinates detected by the detectors, which is complicated and time consuming.
Therefore, it is necessary to provide a electronic device with infrared touch input function to implement the functions in a simpler way.
Referring to
The infrared input device 1 may include a circuit board 12 having two pairs of oppositely disposed sides (L1, L2, L3, and L4) defining an open area corresponding in size and shape to the information display area. The circuit board 12 includes at least one light emitting device 10 and a linear array of light detecting devices 11 (Q1-Q8). In an exemplary embodiment, the light emitting devices 10 are organic light emitting diodes that emit light in the infrared (IR) range (D1), and the light detecting devices 11 are light phototransistors (Q1-Q8). The light detecting devices 11 can be positioned on one side or two adjacent sides of the circuit board 12. The light emitting device 10 is positioned at one corner of the circuit board 12 and faces the light detecting devices 11. The light detecting devices 11 are used for detecting infrared light emitted by the light emitting device 10. For example, in the exemplary embodiment, the light emitting device 10 is positioned at the top right corner of the circuit board 12.
The CPU 2 is configured to control the display unit 3 to display a plurality of menu options corresponding to the light detecting devices 11. The number of the menu options displayed will be the same as the number of the light detecting devices 11. As shown in
When none of the menu options is being touched, the infrared light paths between the light emitting device 10 and the light detecting devices 11 are unobstructed, and all the light detecting devices 11 detect the infrared light, thereby the node S is grounded via R1-R8. Voltage across the node S equals Vcc*(R1* . . . R7*R8)/(R0*(R1+ . . . R7+R8)+R1* . . . R7*R8). When one menu option is touched, take menu option A for example, the infrared light path between Q1 and D1 is obstructed, thereby R1 is not connected to ground. The voltage across the node S is then equal to Vcc*(R2* . . . R7*R8)/(R0*(R2+ . . . R7+R8)+R2* . . . R7*R8). The A/D converter 14 converts the voltage across the node S into digital values and sends the digital values to the micro-processor 13. R0-R8 may be set to different values to make the digital values different for different conditions of different menu option being touched. The micro-controller 13 is further configured to determine which infrared light path is obstructed according to the digital value.
In step S11, the micro-controller 13 detects whether the digital values are changed. If yes, the procedure goes to step S12, if no, the micro-controller 13 continues to detect. In step S12, the micro-processor 13 determines the infrared light path being obstructed according to the digital value sent to the CPU 2. For example, the micro-processor 13 looks up a table that records relationship of the digital values and corresponding infrared light paths, and determines the infrared light path according to the table. In step S13, the CPU 2 determines which menu option is touched corresponding to the infrared light path being obstructed, and sends a control signal to the CPU 2. In step S14, the CPU 2 performs functions corresponding to the menu option being touched according to the control signal.
In order to avoid misoperation, only when the time of the changed digital values remaining same lasts for a predetermined time, the micro-processor 13 sends the control signal to the CPU 2 to perform the functions corresponding to the menu option.
Although the present disclosure has been specifically described on the basis of an exemplary embodiment thereof, the disclosure is not to be construed as being limited thereto. Various changes or modifications may be made to the embodiments without departing from the scope and spirit of the disclosure.
Number | Date | Country | Kind |
---|---|---|---|
200810305420.5 | Nov 2008 | CN | national |
This application is related to copending applications entitled, “ELECTRONIC DEVICE WITH INFRARED TOUCH INPUT FUNCTION”, filed ______ (Atty. Docket No. US 23304); “ELECTRONIC DEVICE WITH INFRARED TOUCH INPUT FUNCTION”, filed ______ (Atty. Docket No. US23305); and “ELECTRONIC DEVICE WITH INFRARED TOUCH INPUT FUNCTION”, filed ______ (Atty. Docket No. US24653).