1. Technical Field
The present disclosure relates to a keyboard.
2. Description of Related Art
A computer may break down in operation. Thus, a user needs to determine the cause of the breakdown. However, it is often inconvenient to determine the cause of the breakdown.
Therefore, it is desirable to provide a means that can overcome the shortcoming mentioned above.
Many aspects of the embodiments can be better understood with reference to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the present disclosure. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.
The disclosure is illustrated by way of example and not by way of limitation in the figures of the accompanying drawings in which like references indicate similar elements. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean “at least one.” The references “a plurality of” and “a number of” mean “at least two.”
The housing 10 includes an operating surface 11. The keys 20 are located on the operating surface 11.
The housing 10 defines a receiving space 12 for receiving the circuit board 30.
The connecting port 40 is configured for electrically connecting the circuit board 30 to a main board 200 of a computer. In this embodiment, the connecting port 40 is a universal serial bus (USB) port.
The main control unit 50 includes a main controller 51 and a voltage converting module 52. The voltage converting module 52 is electrically connected to the main controller 51 and the connecting port 40, and configured for converting an output voltage of the connecting port 40 into a working voltage of the main controller 51. In this embodiment, the main controller 51 is a complex programmable logic device (CPLD), the output voltage of the connecting port 40 is about 5 volts (V), and the working voltage of the main controller 51 is about 3.3 V.
The key control unit 60 includes a processor 61 and a key controlling module 62. The processor 61 is electrically connected to the key controlling module 62 through the main controller 51, and the key controlling module is electrically connected to the keys 20. Because the CPLD has an excess number of input/output (I/O) pins (not shown), if more keys 20 are needed, idle I/O pins can be used to electrically connect to and form new keys 20. The processor 61 does not need to control the keys 20 directly and only needs to control the CPLD, thus, a processing ability of the processor 61 can be reduced.
The analyzing unit 70 includes a signal converting module 71, an analyzing module 72, a display 73, a trigger key 74, and an indicating lamp 75.
The signal converting module 71 is electrically connected to the analyzing module 72 and the connecting port 40, and configured for converting an I/O signal of the main board 200 (a USB signal) into a distinguishable signal of the analyzing module 72. In one embodiment, the distinguishable signal is a low pin count (LPC) signal.
The analyzing module 72 is electrically connected to the main controller 51 and reads breakdown information of the main board 200. The analyzing module 72 displays the breakdown information on the display 73 under the control of the main controller 51. In the illustrated embodiment, the display 73 is a two-piece seven-segment display. For example, the display 73 displays a number, which represents corresponding breakdown information of the main board 200.
The trigger key 74 and the indicating lamp 75 are located on the operating surface 11.
The trigger key 74 and the indicating lamp 75 are electrically connected to the main controller 51. The main controller 51 controls a working state of the analyzing module 72 and of the key control unit 60 according to an input of the trigger key 74. The indicating lamp 75 indicates the working state of the analyzing module 72 and of the key control unit 60. In detail, when the trigger key 74 is pressed a first time, the main controller 51 controls the analyzing module 72 and the key control unit 60 to stop working, which causes the indicating lamp 75 to light up. When the trigger key 74 is pressed a second time, the main controller 51 controls the analyzing module 72 and the key control unit 60 to start working again, which causes the indicating lamp 74 to turn off.
Because the keyboard 100 includes the analyzing unit 70, which can read and display breakdown information of the main board 200, a user can easily see what kind of breakdown occurs in the main board 200 and quickly resolve the breakdown.
It will be understood that the above particular embodiments are shown and described by way of illustration only. The principles and the features of the present disclosure may be employed in various and numerous embodiments thereof without departing from the scope of the disclosure. The above-described embodiments illustrate the scope of the disclosure but do not restrict the scope of the disclosure.
Number | Date | Country | Kind |
---|---|---|---|
2013105096839 | Oct 2013 | CN | national |