Chargeable keyboardTechnical field
The utility model relates to a kind of chargeable keyboard, and particularly a kind of convertible wired, wireless communication mode also utilizes the keyboard of USB interface charging.
Background technology
At present, along with the continuous progress of computer technology, the office and the requirement of entertainment environment are improved constantly, increasing people brings into use the input tool of Wireless Keyboard as computer, comprises blue bud Wireless Keyboard, infrared radio keyboard etc.
Because it is the keyboard of wireless transmission, therefore need be furnished with battery as power supply.For the consideration of saving and environmental protection, adopt the design of rechargeable battery usually.Its charging modes has two kinds usually, and a kind of is to take out rechargeable battery to charge with independent charger, and another kind is that keyboard is built-in with charging circuit, by the line between keyboard and the computing machine rechargeable battery is charged.As only disposing a line, quite show waste for charging.
In addition, equally the transport property by Wireless Keyboard is determined, some the time need transfer Wireless Keyboard to wired keyboard and use.For example, when running down of battery, the place environment is during to the wireless signal serious interference, when the place environment does not allow transmission of wireless signals, presses for this moment and transfers it to wired keyboard and use.
Because existing Wireless Keyboard has above-mentioned limitation, therefore be badly in need of proposing a kind of design that can address the above problem simultaneously, make that the use of Wireless Keyboard is more convenient.
Summary of the invention
The utility model is for solving existing Wireless Keyboard and only be equipped with the charging wire of simple function and be converted to the problem of wired keyboard, the special keyboard that proposes a kind of convertible wired, wireless communication mode and utilize the USB interface charging.
For addressing the above problem, the utility model proposes following technical scheme:
A kind of chargeable keyboard comprises: keyboard matrix circuit, wireless module, reset circuit, USB interface, wire/wireless testing circuit, power selection circuit, rechargeable battery, charging circuit, control chip; Keyboard matrix circuit, wireless module, reset circuit, USB interface, wire/wireless testing circuit and power selection circuit are connected with control chip respectively, USB interface connects charging circuit, charging circuit connects battery, and USB interface connects wired/radio detection circuit, the wire/wireless testing circuit connects power selection circuit, power selection circuit connection rechargeable battery;
Described keyboard matrix circuit is a universal keyboard matrix circuit, is responsible for handling the signal that keyboard produced and being transferred to control chip;
Described wireless module is blue bud module or RF module etc., is made up of control chips such as antenna, blue bud or RF etc., by described control chip control;
Described reset circuit can produce equipment identification number and offer control chip, is used for setting up the wireless transmission relation with external unit;
Described USB interface is used to connect external unit and control chip to communicate and power delivery;
Described wire/wireless testing circuit is used to detect the USB interface connection status to determine that current transmission mode is wired or wireless, and the result is sent to control chip and power selection circuit;
Described power selection circuit provides power supply to control chip according to the testing result of wire/wireless testing circuit;
Described rechargeable battery provides power supply by power selection circuit to control chip;
Described control chip is the keyboard control chip or the single-chip microcomputer of a support Wireless Keyboard function, be responsible for control wireless module, USB interface and outside communicating by letter, managing electrical power is supplied with connected wireless module that power supply could work, reset circuit, the keyboard matrix circuit etc. of needing of periphery;
Described charging circuit also connects other one or more charging inlets, and these rechargeable battery interfaces can be used as external charging inlet, offers the equipment of outside need charging, as the battery of wireless mouse etc.;
Described charging inlet is the rechargeable battery interface;
Described charging inlet is the charging USB interface.
By the technical solution of the utility model, provide a kind of improved Wireless Keyboard structure.That this Wireless Keyboard can be changed flexibly is wired, wireless communication mode and utilize the USB interface charging, has more the convenience of application.
Description of drawings
Below in conjunction with accompanying drawing the utility model is described in further detail.
Fig. 1 is the chargeable keyboard circuit principle schematic of the utility model;
Fig. 2 is the chargeable keyboard circuit wireless transmission method of a utility model synoptic diagram;
Fig. 3 uses novel chargeable keyboard circuit wire transmission mode synoptic diagram for this.
Embodiment
Figure 1 shows that the chargeable keyboard circuit principle schematic of the utility model.By the annexation that can find out the utility model main element among the figure, comprisingcontrol chip 10,keyboard matrix circuit 11,wireless module 12,reset circuit 13,usb 14, wire/wireless testing circuit 15,power selection circuit 16,charging circuit 17,charging inlet 18, rechargeable battery 19.In preferred embodiment of the present utility model,control chip 10 can adopt support Wireless Keyboard control chip commonly used in the industry, also can adopt single-chip microcomputer design voluntarily as required, it is responsible for the external Communication Control of whole keyboard, built-in function control and power management;Keyboard matrix circuit 11 is general design;Wireless module 12 can be chosen for current most popular blue bud module or RF module etc.;Reset circuit 13 is used when setting up wireless telecommunications, is used for recognition of devices, and for blue bud module,reset circuit 13 produces equipment identification number when blue bud module and outside Bluetooth device are set up communication, and offers blue bud module bycontrol chip 10; Wire/wireless testing circuit 15 has or not according to the voltage ofusb 14, export high or low level signal and givecontrol chip 10,control chip 10 is judged wired or wireless transmission mode according to the height of level signal, and then controlpower selection circuit 16, choose the source of power delivery, select simultaneously to send the signal thatkeyboard matrix circuit 11 transmits tousb 14 orwireless module 12;Power selection circuit 16 carries the power supply of choosing to controlchip 10, is transferred to other electricity consumption device bycontrol chip 10; Whenusb 14 is connected with external unit, can be by general 17 pairs ofcharging inlets 18 of charging circuit andrechargeable battery 19 power supplies;Charging structure 18 can be battery interface or USB interface, can be used for external external unit with charging, and as the battery of wireless mouse etc. is charged, thereby person more convenient to use uses wireless device.
Fig. 2 is the chargeable keyboard circuit wireless transmission method of a utility model synoptic diagram, among the figure arrow represent current delivery direction or side signal transmission to.As seen from the figure, owing to adopt wireless communication mode, detect via wire/wireless testing circuit 15, and send testing result to controlchip 10 andpower selection circuit 16 respectively, with the transmission route of determination data and power supply; Under the wireless mode,rechargeable battery 19 power supplies are supplied withcontrol chip 10 bypower selection circuit 16, resupply other and use electric device; Resetcircuit 13 work produce device identification number and offercontrol chip 10, are used forwireless module 12 and set up wireless communication connection with external unit;Keyboard matrix circuit 11 produces data and sendscontrol chip 10 to, sends viawireless module 12 again, finishes whole transmission course.
Fig. 3 uses novel chargeable keyboard circuit wire transmission mode synoptic diagram for this, among the figure arrow represent current delivery direction or side signal transmission to.As seen from the figure, owing to adopt the wire transmission pattern,usb 14 produces voltage, detects via wire/wireless testing circuit 15, and sends testing result to controlchip 10 andpower selection circuit 16 respectively, with the transmission route of determination data and power supply; Have under the ray mode,usb 14 power supplies are supplied withcontrol chip 10 bypower selection circuit 16, resupply other and use electric device;Keyboard matrix circuit 11 produces data and sendscontrol chip 10 to, sends viausb 14 again, finishes whole transmission course; In addition,usb 14 also can be by 17 pairs ofcharging inlets 18 of charging circuit andrechargeable battery 19 chargings.
Certainly, the above only is a better embodiment of the present utility model, and therefore the utility model does not make restriction, and other various realizations embodiment of the present utility model all should be included in the scope that the utility model claim protected.