Pursuant to 35 U.S.C. § 119(a), this application claims the benefit of earlier filing date and right of priority to Korean Application No. 2004-0081822, filed on Oct. 13, 2004, the contents of which are hereby incorporated by reference herein in their entirety.
The present invention relates generally to a mobile station and, more particularly, to key sensing in a mobile station.
A mobile station (e.g., mobile phone) uses a key matrix.
Referring to
Referring to
Referring to
In the related art approach, dedicated keys (e.g., a dedicated camera key, etc.) for performing new functions must be allocated to number keys, character keys, and/or direction keys. However, since the number of GPIO pins that may be allocated to the chipset of the mobile station is limited, there may be a shortage of GPIO pins for new mobile station functions.
Accordingly, the present invention is directed to key sensing in a mobile station that substantially obviates one or more problems due to limitations and disadvantages of the related art.
An object of the present invention is to provide key sensing using an applied key matrix.
Another object of the present invention is to provide key sensing by which allocation of general purpose input/output (GPIO) pins may be reduced to enable a mobile station to perform more functions.
Additional advantages, objects, and features of the invention will be set forth in part in the description which follows and in part will become apparent to those having ordinary skill in the art upon examination of the following or may be learned from practice of the invention. The objectives and other advantages of the invention may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
To achieve these objects and other advantages and in accordance with the purpose of the invention, as embodied and broadly described herein, in one embodiment, a key sensing apparatus in a mobile station comprises a keypad comprising a plurality of keys, and a key interrupt block operatively coupled to the keypad, adapted to receive a key interrupt value from the keypad. The key sensing apparatus also comprises a key bit detection unit operatively coupled to the keypad, adapted to receive a voltage value from the keypad. The key sensing apparatus also comprises a processing unit operatively coupled to the key interrupt block and the key bit detection unit, adapted to sense the voltage value in response to receipt of the key interrupt value by the key interrupt block.
The key sensing apparatus may further comprise a key value table adapted to store key values, wherein the processing unit is adapted to compare the voltage value against stored key values in the key value table to identify a depressed key of the plurality of keys in the keypad. The voltage value may be a binary value having a set bit length.
A key of the plurality of keys in the keypad may comprise an external electrode adapted to optionally provide an electrical ground. The key may also comprise a plurality of line electrodes disposed interior to the external electrode, optionally electrically disconnected from the external electrode. The key may also comprise a dome sheet disposed in proximity to the external electrode and the plurality of line electrodes, adapted to provide an electrical connection between the external electrode and the plurality of line electrodes in response to depression of the key.
The key sensing apparatus may further comprise a key interrupt line operatively coupled to a first line electrode of the plurality of line electrodes, adapted to output the voltage value corresponding to the key interrupt value in response to the depression of the key. The key sensing apparatus may further comprise a plurality of bit lines, each respectively coupled to a different line electrode of the plurality of line electrodes aside from the first line electrode, adapted to perform bit operations. The key sensing apparatus may further comprise a first voltage-impression pull-up resistor adapted to provide a resistance corresponding to the key interrupt value, and a plurality of second voltage-impression pull-up resistors adapted to provide resistances corresponding to the voltage value. The first voltage-impression pull-up resistor may be connected in parallel to the key interrupt line. The plurality of second voltage-impression pull-up resistors may be connected in parallel to a corresponding bit line of the plurality of bit lines. The key bit detection unit may receive the voltage value from the plurality of second voltage-impression pull-up resistors in response to the depression of the key.
In another embodiment, a key adapted for use in a mobile station comprises an external electrode adapted to optionally provide an electrical ground, and a plurality of line electrodes disposed interior to the external electrode, optionally electrically disconnected from the external electrode. The key also comprises a dome sheet disposed in proximity to the external electrode and the plurality of line electrodes, adapted to provide an electrical connection between the external electrode and the plurality of line electrodes in response to depression of the key.
In yet another embodiment, a method for key sensing in a mobile station having a keypad comprising a plurality of keys comprises receiving a key interrupt value from the keypad in response to depression of a key, and receiving a voltage value from the keypad in response to output of the key interrupt value by the keypad. The method also comprises comparing the voltage value against stored key values, and identifying a depressed key based on the comparing of the voltage value against the stored key values. The voltage value may be a binary value having a set bit length. The stored key values may be stored in a key value table.
The foregoing and other objects, features, aspects and advantages of the present invention will become more apparent from the following detailed description of the present invention when taken in conjunction with the accompanying drawings. It is to be understood that both the foregoing general description and the following detailed description of the present invention are exemplary and explanatory and are intended to provide further explanation of the invention as claimed.
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention.
Reference will now be made in detail to the preferred embodiments of the present invention, examples of which are illustrated in the accompanying drawings. Wherever possible, the same reference numbers will be used throughout the drawings to refer to the same or like parts.
Referring to
One of the line electrodes 345 may be connected to the key interrupt line 365, while the remaining line electrodes 345 are connected to the bit lines 355 by a one-to-one correspondence.
The key 315 may further include a dome sheet. The dome sheet provides contact between the external electrode 335 and the line electrodes 345 when a key is pressed. That is, when a key is pressed, the dome sheet is pressed, and the pressed dome sheet brings the external electrode into contact with the line electrodes.
Thus, a load is placed on the voltage-impression internal pull-up resistor of the key interrupt such that a voltage corresponding to a value of the corresponding key interrupt (e.g., key interrupt0) is outputted. Furthermore, a load is placed on each of the voltage-impression internal pull-up resistors, and a voltage value (e.g., a binary voltage value having a prescribed bit length) is outputted. To this end, one of the line electrodes 345 is connected to the key interrupt line 365 and the remaining line electrodes 365 are respectively connected to the bit lines 355 by a one-to-one correspondence. Binary voltage values having 4-bit length each, for example, may be outputted by the voltage-impression internal pull-up resistors. In such case, sixteen different key values may be generated.
A procedure for generating sixteen different key values is further described below. If the dome sheet is not initially pressed, a voltage value of the key interrupt pin Key interrupts is ‘high’ and a value of each of the bit lines Bit0, Bit1, Bit2 and Bit3 is ‘high’. However, if the dome sheet is pressed, i.e., if the key is pressed, the line electrode connected to the key interrupt line 365 and the remaining (e.g., four) line electrodes connected one-to-one to the bit lines, respectively, are brought into contact with the external electrode 335. A voltage value of the key interrupt line Key interrupt0 is accordingly dropped to ‘low’.
Referring to
The below Table 1 shows a preferred key value table. Referring to Table 1, when the line electrodes connected to the bit lines Bit0, Bit1, Bit2 and Bit3, respectively, are brought into contact with the external electrode as a ground electrode, different binary values having a 4-bit length each may be generated from the voltage values outputted via the bit lines. Such operation may be performed by configuring different values of the internal pull-up resistors connected in parallel to the bit lines.
For example, when the dome sheet is pressed, if the voltage value placed on the internal pull-up resistor of the first bit line Bit0 is ‘low’ and if the voltage value of each of the internal pull-up resistors of the second to fourth bit lines Bit1 to bit 3 is ‘high’, the combination of the output voltage values of the bit lines becomes ‘low, high, high and high’ to correspond to a binary value ‘1, 0, 0, 0,’.
Hence, the CPU 12 depicted in
The key values stored in the key value table (e.g., Table 1) are determined by the resistances of the internal pull-up resistors provided to the four bit lines of the key, respectively. In particular, the key values, as shown in Table 1, correspond to 4-bit binary values, respectively. Sequentially, the voltage value put on the internal pull-up resistor of the first bit line Bit0 indicates a most significant bit of the 4-bit binary value, the voltage value put on the internal pull-up resistor of the second bit line Bit1 indicates a second bit, the voltage value put on the internal pull-up resistor of the third bit line Bit2 indicates a third bit, and the voltage value put on the internal pull-up resistor of the fourth bit line Bit3 indicates a least significant bit. Therefore, the 4-bit binary value may represent sixteen key values. The CPU 12 may accordingly determine one of the sixteen key values by referencing the key value table. Furthermore, a decoder block 11 shown in
The key sensing apparatus may include the key shown in
When sensing the key interrupt value provided from the key interrupt block 13, the CPU 12 recognizes the pressed key by interoperating with the decoder block 11. To this end, the CPU 12 may be provided with the voltage values of the bit lines of the key from the key bit ALU 11a. The CPU 12 then searches the key value table 11b for the corresponding key value using the provided voltage values. Thus, the CPU 12 may then recognize the current value of the pressed key.
In brief, the CPU 12 may recognize the pressed key as described below. When obtaining the key interrupt value from the key, the CPU 12 may read the voltage values placed on the internal pull-up resistors provided to the bit lines, respectively. Such operation may be performed using the key bit ALU 11a. The CPU 12 then compares the binary value having a prescribed bit length that is determined using the read voltage values against a plurality of the previously stored key values by referencing the key value table. The CPU 12 then identifies the key value corresponding to the binary value using the comparison result. For example, if the value (e.g., voltage level) of the key interrupt Key interrupt0 drops from ‘high’ to ‘low’ (high→low) and if the voltage values of the bit lines Bit0 to Bit3 correspond to ‘1, 1, 0, 0’, the CPU 12 may recognize the key ‘12’ corresponding to ‘1100’ in the key value table.
The key sensing of the present invention may also be used in conjunction with other numbers of key values, such as 25 or 32, that are generated by outputting voltage values corresponding to a binary value having at least 5-bit length by internal pull-up resistors for voltage impression. Such a configuration may be implemented by, for example, adjusting the number of bit lines, internal pull-up resistors, and line electrodes.
In one embodiment, a key sensing apparatus in a mobile station comprises a keypad comprising a plurality of keys, and a key interrupt block operatively coupled to the keypad, adapted to receive a key interrupt value from the keypad. The key sensing apparatus also comprises a key bit detection unit operatively coupled to the keypad, adapted to receive a voltage value from the keypad. The key sensing apparatus also comprises a processing unit operatively coupled to the key interrupt block and the key bit detection unit, adapted to sense the voltage value in response to receipt of the key interrupt value by the key interrupt block.
The key sensing apparatus may further comprise a key value table adapted to store key values, wherein the processing unit is adapted to compare the voltage value against stored key values in the key value table to identify a depressed key of the plurality of keys in the keypad. The voltage value may be a binary value having a set bit length.
A key of the plurality of keys in the keypad may comprise an external electrode adapted to optionally provide an electrical ground. The key may also comprise a plurality of line electrodes disposed interior to the external electrode, optionally electrically disconnected from the external electrode. The key may also comprise a dome sheet disposed in proximity to the external electrode and the plurality of line electrodes, adapted to provide an electrical connection between the external electrode and the plurality of line electrodes in response to depression of the key.
The key sensing apparatus may further comprise a key interrupt line operatively coupled to a first line electrode of the plurality of line electrodes, adapted to output the voltage value corresponding to the key interrupt value in response to the depression of the key. The key sensing apparatus may further comprise a plurality of bit lines, each respectively coupled to a different line electrode of the plurality of line electrodes aside from the first line electrode, adapted to perform bit operations. The key sensing apparatus may further comprise a first voltage-impression pull-up resistor adapted to provide a resistance corresponding to the key interrupt value, and a plurality of second voltage-impression pull-up resistors adapted to provide resistances corresponding to the voltage value. The first voltage-impression pull-up resistor may be connected in parallel to the key interrupt line. The plurality of second voltage-impression pull-up resistors may be connected in parallel to a corresponding bit line of the plurality of bit lines. The key bit detection unit may receive the voltage value from the plurality of second voltage-impression pull-up resistors in response to the depression of the key.
In another embodiment, a key adapted for use in a mobile station comprises an external electrode adapted to optionally provide an electrical ground, and a plurality of line electrodes disposed interior to the external electrode, optionally electrically disconnected from the external electrode. The key also comprises a dome sheet disposed in proximity to the external electrode and the plurality of line electrodes, adapted to provide an electrical connection between the external electrode and the plurality of line electrodes in response to depression of the key.
In yet another embodiment, a method for key sensing in a mobile station having a keypad comprising a plurality of keys comprises receiving a key interrupt value from the keypad in response to depression of a key, and receiving a voltage value from the keypad in response to output of the key interrupt value by the keypad. The method also comprises comparing the voltage value against stored key values, and identifying a depressed key based on the comparing of the voltage value against the stored key values. The voltage value may be a binary value having a set bit length. The stored key values may be stored in a key value table.
The present invention may provide more efficient key sensing and enable increased functionality in a mobile station by reducing the required number of general purpose input/output (GPIO) pins.
Although the present invention is described with reference to mobile stations, the preferred embodiments may also be used in any portable electronic devices.
It will be apparent to those skilled in the art that various modifications and variations may be made in the present invention without departing from the spirit or scope of the inventions. Thus, it is intended that the present invention covers the modifications and variations of this invention provided they come within the scope of the appended claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
10-2004-0081822 | Oct 2004 | KR | national |