1. Field
Embodiments of the present disclosure relate to charging systems and methods, and particularly to a charging system and a method for a wireless keyboard.
2. Background
A wireless keyboard is generally used to connect to an electronic device, such as a tablet computer and a mobile phone, to improve inputting efficiency. The wireless keyboard can be removable from a main body of the electronic device to be connected to another electronic device. However, after the wireless keyboard is removed from the main body, a rechargeable battery powers the wireless keyboard. However, because of the limitation of the capacity of the rechargeable battery the wireless keyboard cannot be used long. Therefore, there is room for improvement in the art.
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 embodiments. 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 wireless keyboard 12 includes a determining module 121, a connecting module 122, a wireless module 123, a battery charge module 124, a detecting module 125, and a solar charge module 126. The judging module 121 determines if the wireless keyboard 12 is secured to the main body 11. The connecting module 122 transfers data between the main body 11 and the wireless keyboard 12 when the wireless keyboard 12 is connected to the main body 11. The wireless module 123 can be a BLUETOOTH® module connecting the wireless keyboard 12 to the main body 11 or another electronic device 20 when the wireless keyboard 12 is removed from the main body 11. The battery charge module 124 and the solar charge module 126 power the wireless keyboard 12 when the wireless keyboard 12 is removed from the main body 11. The detecting module 125 detects a power capacity of the battery charge module 124 and then controls the battery charge module 124 or the solar charge module 126 to power the wireless keyboard 12 after being removed from the main body 11. The wireless keyboard 12 further includes a plurality of solar plates 127 for charging the solar charge module 126. The plurality of solar plates 127 are secured to the wireless keyboard 12 and are used for converting the solar energy to electric energy to charge the solar charge module 126.
When the wireless keyboard 12 is secured to the main body 11, the connecting module 122 is connected to the main body 11. When the wireless keyboard 12 is removed from the main body 11, the connecting module 122 is switched off from the main body 11. The judging module 121 judges whether the wireless keyboard 12 is secured to the main body 11 by detecting a connecting state signal from the connecting module 122.
The judging module 121 includes a determining unit 1211 and a switching unit 1212. The judging unit 1211 detects whether the connecting module 122 is connected to the main body 11. The switching unit 1212 switches the wireless module 123 between on or off. When the judging unit 1211 detects the connecting module 122 is connected to the main body 11, the wireless keyboard 12 is secured to the main body 11. In this position, the switching unit 1212 switches off the wireless module 123, and the wireless keyboard 12 is connected to the main body 11 through the connecting module 122. At the same time, the judging module 121 allows the main body 11 to charge the battery charge module 124 using the connecting module, and the detecting unit 1211 switches off the detecting module 125. When the judging unit 1211 detects the connecting module 122 is not connected to the main body 11, the wireless keyboard 12 is removed from the main body 11. In this position, the switching unit 1212 switches on the wireless module 123, and the detecting unit 1211 starts the detecting module 125 to detect an energy dump of the battery charge module 124.
The detecting module 125 includes a measuring unit 1252, a comparing unit 1253, and a controlling unit 1254. The measuring unit 1252 measures the energy dump of the battery charge module 124. The comparing unit 1253 compares the energy dump to a preset energy. The controlling unit 1254 controls the battery charge module 124 or the solar charge module 126 to charge the wireless keyboard 12. The controlling unit 1254 is electronically connected to the battery charger module 124 and the solar charge module 126. When the energy dump is not lower than the preset energy, the comparing unit 1253 sends a first signal to the controlling unit 1254, the controlling unit 1254 switches on the battery charge module 124 and switches off the solar charge module 126, and the battery charge module 124 powers the wireless keyboard 12. When the energy dump is lower than the preset energy, the comparing unit 1253 sends a second signal to the controlling unit 1254, the controlling unit 1254 switches off the battery charge module 124 and switches on the solar charge module 126, and the solar charge module 126 powers the wireless keyboard 12.
In step S1: the judging unit 1211 determines whether the wireless keyboard 12 is secured to the main body 11 according to a signal received from the connecting module 122. If the wireless keyboard 12 is secured to the main body 11, the method returns to step S2. If the wireless keyboard 12 is removed from the main body 11, the method goes to step S3.
In step S2: the wireless keyboard 12 is electronically connected to the main body 11 through the connecting module 122.
In step S21: the main body 11 powers the wireless keyboard 12 and charges the battery charger module 124.
In step S3: the switching module 1212 switches on the wireless module 123.
In step S31: the wireless module 123 is determined if matched with another electronic device 20. If the wireless module 123 is matched with another electronic device 20, the method continues to step S321. If the wireless module 123 is not matched with another electronic device 20, the method returns to step S322.
In step S321: the wireless keyboard 12 is electronically connected to another electronic device 20 by wireless means such as BLUETOOTH®.
In step S322: the wireless keyboard 12 is electronically connected to the main body 11 by wireless means such as BLUETOOTH®.
Referring to
In step S51: the controlling unit 1254 switches on the battery charge module 124, switches off the solar charge module 126, and the battery charge module 124 powers the wireless keyboard 12.
In step S52: the controlling unit 1254 switches off the battery charge module 124, switches on the solar charge module 126, and the solar charge module 126 powers the wireless keyboard 12.
The steps S3 and S4 are performed simultaneously.
It is to be understood, however, that even though numerous characteristics and advantages have been set forth in the foregoing description of embodiments, 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 the matters of shape, size, and the arrangement of parts within the principles of the 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 |
---|---|---|---|
102122598 | Jun 2013 | TW | national |