1. Technical Field
The present disclosure relates to keyboards for electronic devices, and particularly to a keyboard and an electronic device using the same.
2. Description of the Related Art
Electronic devices, such as personal computers (PCs) or servers usually have a connection state indicator to monitor and inform a connection state of a network. The connection state indicator is usually electrically connected to a RJ-45 port of the electronic device. However, in assembly of the electronic device, the RJ-45 port and the connection state indicator are together assembled at a back of the electronic device, which is difficult to view and monitor the connection state between the electronic device and the network.
Therefore, there is room for improvement within the art.
Many aspects of the present 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 embodiments. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views. Wherever possible, the same reference numbers are used throughout the drawings to refer to the same or like elements of an embodiment.
Also referring to
The network host 21 is designed to receive a motherboard and other components (not shown) of the electronic device 200, such as memory, connectors, hard drives, and power supplies. In this embodiment, the network host 21 includes a network interface card (NIC) microchip 211 and a signal converting module 213. The NIC microchip 211 is designed to allow and carry out communication and data transmission between the network host 21 and the LAN. The NIC microchip 211 can be a network adapter. In this embodiment, the NIC microchip 211 includes a connection state pin LED. The NIC microchip 211 outputs a corresponding command signal through the connection state pin LED to indicate a connection state between the NIC microchip 211 and the LAN. For example, when the NIC microchip 211 outputs a first command signal (e.g., logic 1) through the connection state pin LED, which indicates that a connection between the NIC microchip 211 and the LAN is not established. When the NIC microchip 211 outputs a second command signal (e.g., logic 0) through the connection state pin LED, which indicates that a connection between the NIC microchip 211 and the LAN is established.
The signal converting module 213 is electrically connected to the NIC microchip 211. The signal converting module 213 processes the command signal output by the connection state pin LED and converts the command signal into a control signal which can be received by the keyboard port 233. In detail, the signal converting module 213 converts a first voltage (e.g., about 3 volts) from the connection state pin LED into a second voltage (e.g., about 5 volts) and provides the second voltage to the keyboard port 233. The signal converting module 213 further converts the analog command signal from the connection state pin LED into a digital control signal and outputs the digital control signal to the keyboard port 233.
The keyboard port 233 can be a Universal Serial Bus (USB) interface and includes a power pin VCC, a first data pin D+, a second data pin D−, and a grounding pin GND. The power pin VCC is connected to a +5V power source. The first and second data pins D+, D− are both connected to the signal converting module 213 and receive the command signal from the connection state pin LED through the signal converting module 213 (i.e. the control signal). The grounding pin GND is connected to ground.
In this embodiment, the signal demodulating module 235 can be a demodulator and is electronically connected to the first and second data pins D+, D−. Due to the keyboard port 233 needing to receive both a typical USB bus signal and the control signal from the signal converting module 213, thus the signal demodulating module 235 processes the two signals received by the keyboard port 233 (i.e., USB bus signal and the control signal) to demodulate and divide the control signal from the USB bus signal and only output the demodulated control signal to the signal processing module 237.
The signal processing module 237 is positioned inside of the main body 231 and can be an EM78448A/B Single-Chip Microcomputer (SCM). The signal processing module 237 includes a data receiving pin DATA and a plurality of idle pins P92-P94. The data receiving pin DATA is connected to the signal demodulating module 235 and receives the demodulated control signal from the signal demodulating module 235. One of the idle pins P92-P94 (e.g., idle pin P92) is connected to a cathode of the connection state indicator 239. The other idle pins (e.g., idle pins P93-P94) are floating. An anode of the connection state indicator 239 is connected to the +5V power source through a resistor R.
When the data receiving pin DATA of the signal processing module 237 receives the control signal from the signal demodulating module 235, the signal processing module 237 outputs a drive signal according to the control signal to the idle pin P92, thereby indicating a connection state between the NIC microchip 211 and the LAN. For example, when the data receiving pin DATA of the signal processing module 237 obtains a first control signal corresponding to the first command signal, the signal processing module 237 outputs a first driving signal (e.g., logic 1) through the idle pin P92. In this way, the connection state indicator 239 turns off to indicate that a connection between the NIC microchip 211 and the LAN is not established.
When the data receiving pin DATA of the signal processing module 237 obtains a second control signal corresponding to the second command signal, the signal processing module 237 outputs a second driving signal (e.g., logic 0) through the idle pin P92. In this way, the connection state indicator 239 turns on (e.g., lights) to indicate that a connection between the NIC microchip 211 and the LAN is established.
In use, the keyboard port 233 of the keyboard 23 is electrically connected to the network host 21. In this way, the first and second data pins D+, D− are both connected to the signal converting module 213 and receive the command signal from the connection state pin LED through the signal converting module 213. Then, when the NIC microchip 211 has not established a connection with the LAN, the NIC microchip 211 outputs a first command signal through the connection state pin LED. The first command signal is received by the signal converting module 213 and is converted into a first control signal. The keyboard port 233 receives the first control signal and a USB bus signal and sends the two signals to the signal demodulating module 235. The signal demodulating module 235 receives the two signals and demodulates the first control signal from the two signals. The signal processing module 237 receives and processes the first control signal and outputs a first driving signal through the idle pin P92. Thus, the connection state indicator 239 turns off to indicate a connection between the NIC microchip 211 and the LAN is not established.
Similarly, when the NIC microchip 211 establishes a connection with the LAN, the NIC microchip 211 outputs a second command signal through the connection state pin LED. The second command signal is received by the signal converting module 213 and is converted into a second control signal. The keyboard port 233 receives the second control signal and the USB bus signal, and sends the two signals to the signal demodulating module 235. The signal demodulating module 235 receives the two signals and demodulates the second control signal from the two signals. The signal processing module 237 receives and processes the second control signal and outputs a second driving signal through the idle pin P92. Thus, the connection state indicator 239 turns on to indicate a connection between the NIC microchip 211 and the LAN is established.
In summary, in the keyboard and the electronic device of this embodiment of the disclosure, the connection state indicator 239 is positioned on outside surface of the keyboard 23, therefore, the NIC microchip 211 can output different command signals to control and change the connection state indicator 239. Thus, users can easily view, inform and monitor a connection state between the network host 21 and the LAN by identifying the connection state indicator 239.
In the present specification and claims, the word “a” or “an” preceding an element does not exclude the presence of a plurality of such elements. Further, the word “comprising” does not exclude the presence of elements or steps other than those listed.
It is to be also understood that even though numerous characteristics and advantages of exemplary embodiments have been set forth in the foregoing description, together with details of the structures and functions of the embodiments, the disclosure is illustrative only, and changes may be made in detail, especially in matters of arrangement of parts within the principles of this disclosure to the full extent indicated by the broad general meaning of the terms in which the appended claims are expressed.
Number | Date | Country | Kind |
---|---|---|---|
201210129047.9 | Apr 2012 | CN | national |