Gamepad key automatic switching circuit and gamepad
By introducing an automatic switching circuit into the gamepad and using the MCU to control the motor drive adjustment disk rotation, the key position disorganization problem in the existing technology is solved in the user experience of manual switching of key positions and abnormal situations, and the effect of automatically switching and restoring the correct key position layout is achieved.
Patent Information
- Application Number
- CN202422134576.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2025-08-15
- Estimated Expiration
- 2034-08-30
AI Technical Summary
The key position switching of existing gamepads requires manual operation, which has poor user experience and is prone to key position disorganization in abnormal situations, causing trouble for users.
A handle key automatic switching circuit is designed, including MCU control sub-circuit, motor drive sub-circuit, motor and light source module. The motor drive adjustment disc is controlled by the MCU to automatically switch the key position layout, and automatically recover in abnormal situations.
It realizes that the key position is switched manually without the user, improves the user experience, and automatically restores the correct key position layout in abnormal situations, simplifying the operation process.
Smart Images

Figure CN223220950U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of game handles, and more particularly to a handle button automatic switching circuit and a game handle. Background Art
[0002] The game controller includes a shell, direction keys and ABXY function keys arranged on the shell, and a corresponding circuit board is also provided in the shell to transmit the corresponding control signals. Each button of the ABXY function key has a different function, and the user can control the game character to produce corresponding actions by coordinating multiple buttons. There are two layouts of ABXY key positions of the game controllers currently on the market: ABXY key layout and BAYX key layout. The layout order of the two is different. The ABXY key layout is suitable for XBOX and PC platforms, and BAYX is suitable for NS platform, but the game controller can only meet the needs of a single key layout. If the user uses a game controller with a BAYX layout to play PC games, the key positions are exactly opposite, which will bring a very bad experience to the user. In order to improve the gaming experience, users usually buy game controllers suitable for different game platforms, resulting in a waste of resources.
[0003] The prior art provides a solution for switching ABXY key values, in which a motor drives an adjustment disk to rotate, thereby displaying two key layouts, ABXY and BAYX. However, this technology has the following disadvantages. The motor needs to be switched manually. First, the user experience is not good. Second, during the motor switching process, if an abnormality occurs such as the MCU program running away or the battery is out of power, the adjustment disk will stop in the middle and the ABXY key position display will be disordered. Even if the subsequent abnormality is resolved (such as resetting the single-chip microcomputer, etc.), the adjustment disk will still stop in the middle and the ABXY key position will still be disordered. In order to solve this problem, the user needs to manually switch again, which is very troublesome to adjust, making it psychologically unacceptable to the user. Utility Model Content
[0004] One of the purposes of the present invention is to provide a controller button automatic switching circuit to solve the technical problem that the existing key position switching solution requires manual switching and has poor user experience; the second purpose of the present invention is to provide a game controller with the controller button automatic switching circuit.
[0005] In order to solve the above technical problems, the technical solutions of the present utility model are as follows:
[0006] The first aspect of the present invention provides a handle button automatic switching circuit, comprising an MCU control subcircuit, a motor drive subcircuit, a motor, a light source module, and an adjustment disk, wherein:
[0007] The input end of the MCU control subcircuit is connected to the external server, and the output end of the MCU control subcircuit is electrically connected to the input end of the motor drive subcircuit and the light source module respectively;
[0008] The output end of the motor driving sub-circuit is electrically connected to the motor;
[0009] The output shaft of the motor is fixedly connected to the adjusting disk;
[0010] The adjustment disk is provided with a plurality of light-transmitting areas, and the light emitted by the light source module passes through the plurality of light-transmitting areas of the adjustment disk to display the corresponding key positions.
[0011] In the above technical means, the MCU control subcircuit is responsible for controlling the motor drive subcircuit and controlling the light source module. The motor drive subcircuit is used to drive the motor, and the motor drives the adjustment dial to rotate, so that when the light emitted by the light source module passes through the adjustment dial, different key layouts are displayed. The entire process does not require manual switching by the user. When the MCU control subcircuit is connected to an external server, the key layout can be automatically switched. At the same time, even if an abnormality occurs during the motor switching process, such as the MCU program running away or the battery is out of power, after the abnormality is resolved (such as the MCU is reset, etc.), when the external server is reconnected, the MCU will still automatically control the automatic switching of the key positions without user intervention.
[0012] Furthermore, the input end of the MCU control sub-circuit is connected to the external server via wired or wireless connection.
[0013] Furthermore, the MCU control subcircuit includes an MCU chip U1, a capacitor C4, and a capacitor C5, wherein:
[0014] The USBDP pin and USBDM pin of the MCU chip U1 are connected to the external server by wire;
[0015] The ANT pin of the MCU chip U1 is connected to the antenna, and the antenna is wirelessly connected to the external server;
[0016] The VCC pin of the MCU chip U1 is electrically connected to the external power supply VDD, one end of the capacitor C4, and one end of the capacitor C5 respectively;
[0017] The IO1 pin and the IO2 pin of the MCU chip U1 are electrically connected to the motor drive sub-circuit;
[0018] The IO3 pin of the MCU chip U1 is electrically connected to the light source module;
[0019] The GND pin of the MCU chip U1, the other end of the capacitor C4, and the other end of the capacitor C5 are all grounded.
[0020] Furthermore, the motor driving sub-circuit includes an H-bridge and a driving chip U2. The control end of the H-bridge and the driving chip U2 serves as the input end of the motor driving sub-circuit and is electrically connected to the IO1 pin and the IO2 pin of the MCU chip U1. The output end of the H-bridge and the driving chip U2 is electrically connected to the motor.
[0021] Furthermore, the model of the H-bridge and driver chip U2 is DRV8837DSRG.
[0022] Furthermore, the motor drive subcircuit further includes a capacitor C2, a capacitor C1 and a capacitor C3, wherein:
[0023] The IN1 pin and IN2 pin of the H-bridge and driver chip U2 are electrically connected to the IO1 pin and IO2 pin of the MCU chip U1 respectively;
[0024] The H bridge and driver chip U2 The pin is electrically connected to the external power supply VDD;
[0025] The VCC pins of the H-bridge and driver chip U2 are electrically connected to the external power supply VDD and one end of the capacitor C2 respectively;
[0026] The VM pin of the H-bridge and driver chip U2 is electrically connected to the external power supply VDD, one end of the capacitor C1, and one end of the capacitor C3 respectively;
[0027] The OUT1 pin and the OUT2 pin of the H-bridge and driver chip U2 are electrically connected to the motor as the output ends of the H-bridge and driver chip U2;
[0028] The GND pin, the TPAD pin, the other end of the capacitor C2, the other end of the capacitor C3 and the other end of the capacitor C1 of the H-bridge and driver chip U2 are all grounded.
[0029] Furthermore, at least a first light-transmitting area and a second light-transmitting area are provided on the adjustment disk, and the light emitted by the light source module passes through the first light-transmitting area of the adjustment disk to display the first key position layout, or the light emitted by the light source module passes through the second light-transmitting area of the adjustment disk to display the second key position layout.
[0030] Furthermore, the light source module includes a plurality of driven RGB lamps, and the number of the RGB lamps is the same as the number of keys in the first key layout or the second key layout.
[0031] Furthermore, the light source module further includes a plurality of capacitors, wherein:
[0032] The DI pin of the first RGB lamp is electrically connected to the IO3 pin of the MCU chip U1, the DI pins of other RGB lamps are electrically connected to the DO pin of the previous RGB lamp, and the DO pin of the last RGB lamp is left unconnected;
[0033] The VDD pin of each RGB light is electrically connected to an external power supply VDD and one end of a capacitor;
[0034] The GND pin of each RGB light and the other end of each capacitor are grounded.
[0035] A second aspect of the present invention provides a game controller, comprising the controller button automatic switching circuit.
[0036] Compared with the prior art, the beneficial effects of the technical solution of the utility model are:
[0037] The utility model can realize automatic switching of ABXY keys and automatically switch different key layouts according to different game platforms and game controllers without user intervention, saving MCU resources, improving user experience, and at the same time, the implementation solution is simple and reliable. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 A schematic diagram of a module for a handle button automatic switching circuit provided by an embodiment of the present utility model;
[0039] Figure 2 A schematic diagram of the structure of the MCU control sub-circuit provided in an embodiment of the utility model;
[0040] Figure 3 A schematic diagram of the structure of a motor drive sub-circuit provided in an embodiment of the present utility model;
[0041] Figure 4 This is a structural diagram of a light source module composed of four RGB lamps provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0042] The accompanying drawings are for illustrative purposes only and are not to be construed as limiting this patent;
[0043] In order to better illustrate this embodiment, some parts in the drawings may be omitted, enlarged, or reduced, and do not represent the actual product size;
[0044] It is understandable to those skilled in the art that some well-known structures and descriptions thereof may be omitted in the drawings.
[0045] The technical solution of the present utility model is further described below with reference to the accompanying drawings and embodiments.
[0046] Example
[0047] This embodiment provides a handle button automatic switching circuit, such as Figure 1 As shown, it includes an MCU control subcircuit, a motor drive subcircuit, a motor, a light source module, and an adjustment disk, wherein:
[0048] The input end of the MCU control subcircuit is connected to the external server, and the output end of the MCU control subcircuit is electrically connected to the input end of the motor drive subcircuit and the light source module respectively;
[0049] The output end of the motor driving sub-circuit is electrically connected to the motor;
[0050] The output shaft of the motor is fixedly connected to the adjusting disk;
[0051] The adjustment disk is provided with a plurality of light-transmitting areas, and the light emitted by the light source module passes through the plurality of light-transmitting areas of the adjustment disk to display the corresponding key positions.
[0052] In this embodiment, the external server can be a game platform. When the MCU control sub-circuit is connected to the external server, it can control the motor drive sub-circuit to drive the motor according to different game platforms, so that the adjustment disk rotates to realize the switching of the key layout.
[0053] In a further embodiment, the input end of the MCU control sub-circuit is connected to an external server via wired or wireless connection.
[0054] In the prior art, after the external server is connected to the MCU control subcircuit, the external server will automatically identify the device. The specific identification principle is:
[0055] When the game controller is connected to the game platform via a wired connection, the controller will be described as a specific device through the USB descriptor. The game platform will enumerate the specific device. If the controller does not support the game platform, the enumeration will time out. At this time, the controller will be described as a device that supports another game platform and enumerate with the game platform again. If the enumeration times out, it will be described as a device that supports another game platform until the enumeration is successful. When the enumeration is successful, the controller will know which game platform the current game platform is. At this time, the game controller will use the USB protocol to parse out which platform the connected game platform belongs to. When the game controller is connected to the game platform wirelessly, it will broadcast wirelessly in the mode of the game platform. For example, when connected to the NS host, it will broadcast wirelessly in NS mode.
[0056] When the game controller knows which specific game platform it is connected to, the MCU controls the sub-circuit and automatically controls the motor drive circuit to drive the motor to rotate. The motor will drive the adjustment dial to rotate, thereby displaying the ABXY key layout adapted to the game platform.
[0057] Even if anomalies occur during the motor switching process, such as the MCU program running away or the battery is dead, after the anomaly is resolved (such as the MCU is reset, etc.), when the game controller is reconnected to each game platform, the MCU will still automatically control the ABXY key distribution without user intervention.
[0058] In a further embodiment, the MCU control subcircuit is as follows Figure 2 As shown, it includes MCU chip U1, capacitor C4 and capacitor C5, where:
[0059] The USBDP pin and USBDM pin of the MCU chip U1 are connected to the external server by wire;
[0060] The ANT pin of the MCU chip U1 is connected to the antenna, and the antenna is wirelessly connected to the external server;
[0061] The VCC pin of the MCU chip U1 is electrically connected to the external power supply VDD, one end of the capacitor C4, and one end of the capacitor C5 respectively;
[0062] The IO1 pin and the IO2 pin of the MCU chip U1 are electrically connected to the motor drive sub-circuit;
[0063] The IO3 pin of the MCU chip U1 is electrically connected to the light source module;
[0064] The GND pin of the MCU chip U1, the other end of the capacitor C4, and the other end of the capacitor C5 are all grounded.
[0065] like Figure 2 As shown, Figure 2 The D+ and D- of the MCU control sub-circuit are used for wired connection with the game platform, the RF connection antenna is used for wireless connection with the game platform, PWM1 and PWM2 are used to control the motor drive sub-circuit, and RGB is used to drive the light source module.
[0066] In a further embodiment, the motor drive subcircuit is as follows Figure 3 As shown, it includes an H-bridge and a driver chip U2. The control end of the H-bridge and the driver chip U2 serves as the input end of the motor driving sub-circuit and is electrically connected to the IO1 pin and the IO2 pin of the MCU chip U1. The output end of the H-bridge and the driver chip U2 is electrically connected to the motor.
[0067] In a further embodiment, Figure 3As shown, the model of the H-bridge and driver chip U2 is DRV8837DSRG. DRV8837DSRG is a chip that integrates an H-bridge and a driver. Its control terminals IN1 and IN2 are connected to the MCU control sub-circuit. Through the control of the MCU control sub-circuit, the output terminals OU1 and OUT2 can output PWM waveforms, which can be directly used to drive the motor to rotate.
[0068] In a further embodiment, Figure 3 As shown, the motor drive sub-circuit further includes capacitor C2, capacitor C1 and capacitor C3, wherein:
[0069] The IN1 pin and IN2 pin of the H-bridge and driver chip U2 are electrically connected to the IO1 pin and IO2 pin of the MCU chip U1 respectively;
[0070] The H bridge and driver chip U2 The pin is electrically connected to the external power supply VDD;
[0071] The VCC pins of the H-bridge and driver chip U2 are electrically connected to the external power supply VDD and one end of the capacitor C2 respectively;
[0072] The VM pin of the H-bridge and driver chip U2 is electrically connected to the external power supply VDD, one end of the capacitor C1, and one end of the capacitor C3 respectively;
[0073] The OUT1 pin and the OUT2 pin of the H-bridge and driver chip U2 are electrically connected to the motor as the output ends of the H-bridge and driver chip U2;
[0074] The GND pin, the TPAD pin, the other end of the capacitor C2, the other end of the capacitor C3 and the other end of the capacitor C1 of the H-bridge and driver chip U2 are all grounded.
[0075] In a further embodiment, at least a first light-transmitting area and a second light-transmitting area are provided on the adjustment disk, and the light emitted by the light source module passes through the first light-transmitting area of the adjustment disk to display the first key position layout, or the light emitted by the light source module passes through the second light-transmitting area of the adjustment disk to display the second key position layout.
[0076] In this embodiment, the first key layout corresponding to the first light-transmitting area is an ABXY key layout. At this time, the light emitted by the light source module passes through the first light-transmitting area of the adjusting disk, displaying the ABXY key layout; the second key layout corresponding to the second light-transmitting area is a BAYX key layout. At this time, the light emitted by the light source module passes through the second light-transmitting area of the adjusting disk, displaying the BAYX key layout.
[0077] In a further embodiment, the light source module includes a plurality of driven RGB lamps, and the number of the RGB lamps is the same as the number of keys in the first key layout or the second key layout.
[0078] In this embodiment, the RGB lights with drivers are controlled by the MCU. The drivers of multiple RGB lights only occupy one IO port of the MCU, which greatly saves MCU resources. The RGB lights are used to emit lights of various colors. When the lights pass through the adjustment dial, different key positions show different lighting effects.
[0079] In a further embodiment, the light source module further comprises a plurality of capacitors, wherein:
[0080] The DI pin of the first RGB lamp is electrically connected to the IO3 pin of the MCU chip U1, the DI pins of other RGB lamps are electrically connected to the DO pin of the previous RGB lamp, and the DO pin of the last RGB lamp is left unconnected;
[0081] The VDD pin of each RGB light is electrically connected to an external power supply VDD and one end of a capacitor;
[0082] The GND pin of each RGB light and the other end of each capacitor are grounded.
[0083] like Figure 4 As shown, the key layout is ABXY key layout or BAYX key layout, and the corresponding RGB lights are 4, and 4 capacitors are set accordingly: capacitor C6, capacitor C7, capacitor C8 and capacitor C9. Taking 4 RGB lights as an example, the following is the connection relationship of the light source module when there are 4 RGB lights:
[0084] The DI pin of the RGB lamp D1 is electrically connected to the IO3 pin of the MCU chip U1, the VDD pin of the RGB lamp D1 is electrically connected to the external power supply VDD and one end of the capacitor C6 respectively, the GND pin of the RGB lamp D1 and the other end of the capacitor C6 are grounded, and the DO pin of the RGB lamp D1 is electrically connected to the DI pin of the RGB lamp D2;
[0085] The VDD pin of the RGB lamp D2 is electrically connected to the external power supply VDD and one end of the capacitor C7, respectively. The GND pin of the RGB lamp D2 and the other end of the capacitor C7 are both grounded. The DO pin of the RGB lamp D2 is electrically connected to the DI pin of the RGB lamp D3.
[0086] The VDD pin of the RGB lamp D3 is electrically connected to the external power supply VDD and one end of the capacitor C8, respectively. The GND pin of the RGB lamp D3 and the other end of the capacitor C8 are both grounded. The DO pin of the RGB lamp D3 is electrically connected to the DI pin of the RGB lamp D4.
[0087] The VDD pin of the RGB lamp D4 is electrically connected to the external power supply VDD and one end of the capacitor C9 respectively. The GND pin of the RGB lamp D4 and the other end of the capacitor C9 are both grounded. The DO pin of the RGB lamp D2 is left unconnected.
[0088] This embodiment also provides a game controller, including the controller button automatic switching circuit.
[0089] The same or similar reference numerals correspond to the same or similar components;
[0090] The terms used in the drawings to describe positional relationships are for illustrative purposes only and should not be construed as limiting this patent;
[0091] Obviously, the above embodiments of the present invention are merely examples for the purpose of clearly illustrating the present invention, and are not intended to limit the implementation methods of the present invention. A person skilled in the art will be able to make other variations or modifications based on the above description. It is not necessary and impossible to enumerate all implementation methods here. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention shall be included within the scope of protection of the claims of the present invention.
Claims
1. A handle button automatic switching circuit, characterized in that: It includes MCU control subcircuit, motor drive subcircuit, motor, light source module and adjustment disk, among which: The input end of the MCU control subcircuit is connected to the external server, and the output end of the MCU control subcircuit is electrically connected to the input end of the motor drive subcircuit and the light source module respectively; The output end of the motor driving sub-circuit is electrically connected to the motor; The output shaft of the motor is fixedly connected to the adjusting disk; The adjustment disk is provided with a plurality of light-transmitting areas, and the light emitted by the light source module passes through the plurality of light-transmitting areas of the adjustment disk to display the corresponding key positions.
2. The handle button automatic switching circuit according to claim 1, characterized in that: The input end of the MCU control subcircuit is connected to the external server via wired or wireless connection.
3. The handle button automatic switching circuit according to claim 2, characterized in that: The MCU control subcircuit includes an MCU chip U1, a capacitor C4, and a capacitor C5, wherein: The USBDP pin and USBDM pin of the MCU chip U1 are connected to the external server by wire; The ANT pin of the MCU chip U1 is connected to the antenna, and the antenna is wirelessly connected to the external server; The VCC pin of the MCU chip U1 is electrically connected to the external power supply VDD, one end of the capacitor C4, and one end of the capacitor C5 respectively; The IO1 pin and the IO2 pin of the MCU chip U1 are electrically connected to the motor drive sub-circuit; The IO3 pin of the MCU chip U1 is electrically connected to the light source module; The GND pin of the MCU chip U1, the other end of the capacitor C4, and the other end of the capacitor C5 are all grounded.
4. The handle button automatic switching circuit according to claim 3, characterized in that: The motor driving sub-circuit includes an H-bridge and a driving chip U2. The control end of the H-bridge and the driving chip U2 serves as the input end of the motor driving sub-circuit and is electrically connected to the IO1 pin and the IO2 pin of the MCU chip U1. The output end of the H-bridge and the driving chip U2 is electrically connected to the motor.
5. The handle button automatic switching circuit according to claim 4, characterized in that: The model of the H-bridge and driver chip U2 is DRV8837DSRG.
6. The handle button automatic switching circuit according to claim 5, characterized in that: The motor drive subcircuit further includes capacitor C2, capacitor C1 and capacitor C3, wherein: The IN1 pin and IN2 pin of the H-bridge and driver chip U2 are electrically connected to the IO1 pin and IO2 pin of the MCU chip U1 respectively; The H bridge and driver chip U2 The pin is electrically connected to the external power supply VDD; The VCC pins of the H-bridge and driver chip U2 are electrically connected to the external power supply VDD and one end of the capacitor C2 respectively; The VM pin of the H-bridge and driver chip U2 is electrically connected to the external power supply VDD, one end of the capacitor C1, and one end of the capacitor C3 respectively; The OUT1 pin and the OUT2 pin of the H-bridge and driver chip U2 are electrically connected to the motor as the output ends of the H-bridge and driver chip U2; The GND pin, the TPAD pin, the other end of the capacitor C2, the other end of the capacitor C3 and the other end of the capacitor C1 of the H-bridge and driver chip U2 are all grounded.
7. The handle button automatic switching circuit according to claim 6, characterized in that: At least a first light-transmitting area and a second light-transmitting area are provided on the adjustment disk. The light emitted by the light source module passes through the first light-transmitting area of the adjustment disk to display the first key layout, or the light emitted by the light source module passes through the second light-transmitting area of the adjustment disk to display the second key layout.
8. The handle button automatic switching circuit according to claim 7, characterized in that: The light source module includes a plurality of driven RGB lamps, and the number of the RGB lamps is the same as the number of keys in the first key layout or the second key layout.
9. The handle button automatic switching circuit according to claim 8, characterized in that: The light source module further includes a plurality of capacitors, wherein: The DI pin of the first RGB lamp is electrically connected to the IO3 pin of the MCU chip U1, the DI pins of other RGB lamps are electrically connected to the DO pin of the previous RGB lamp, and the DO pin of the last RGB lamp is left unconnected; The VDD pin of each RGB light is electrically connected to an external power supply VDD and one end of a capacitor; The GND pin of each RGB light and the other end of each capacitor are grounded.
10. A game controller, characterized in that: The invention comprises the handle button automatic switching circuit according to any one of claims 1 to 9.