Key multiplexing circuit and terminal control device
By designing a button multiplexing circuit and using the trigger module and delay module to interface with the control chip, the problem of limited function expansion of the Bluetooth remote control is solved, and functional independence and efficiency are improved.
Patent Information
- Application Number
- CN202420389385.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-29
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2034-02-28
AI Technical Summary
Due to size and cost constraints, existing Bluetooth remote controls cannot add new functions while maintaining basic functions. In particular, due to the limited number of pins and chip pins, functional expansion is limited.
Design a button multiplexing circuit, including a first button, a first trigger module, a second trigger module and a delay module. These modules are connected to the control chip interface to achieve the delay state maintenance and target after the first button is triggered. Level signal transmission ensures the functional independence and reusability of each interface.
It is possible to add new functions and confirm the button triggering status without affecting the original pin function, which improves the function expansion capability and operating efficiency of the Bluetooth remote control.
Smart Images

Figure CN221927076U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the field of equipment control, in particular to a key multiplexing circuit and a terminal control device. Background Art
[0002] In order to better realize taking photos or recording videos with a mobile phone, the prior art provides a method of controlling the shooting function of the mobile phone through a Bluetooth remote control; however, due to the size and cost of the Bluetooth remote control, the number of buttons that can be set in the Bluetooth remote control and the number of pins that can be provided by the chip in the Bluetooth remote control are relatively small. At the same time, some pins, such as power on and off, reset, software debugging and other basic functions, need to be guaranteed. Therefore, how to add new functions on this basis without affecting the original pin functions becomes a problem that needs to be solved. Utility Model Content
[0003] The main purpose of the utility model is to provide a key multiplexing circuit and a terminal control device, aiming to solve the problem of how to add new functions without affecting the original pin functions in the prior art.
[0004] To achieve the above-mentioned purpose, the utility model provides a key multiplexing circuit, which is connected to a control chip; the key multiplexing circuit comprises a first key, a first trigger module, a second trigger module and a delay module; the first key is connected to a first interface of the control chip through the first trigger module, the first key is also connected to a second interface of the control chip through the second trigger module, and the delay module is connected to the second trigger module; wherein:
[0005] The first trigger module is used to send a target level signal to the control chip when the first button is triggered;
[0006] The second trigger module is used to send a target level signal to the control chip when the first button is triggered;
[0007] The delay module is used to maintain the target level state of the second trigger module within the delay time after the first button is triggered.
[0008] Optionally, the first trigger module includes a first pull-up unit and a first low-level trigger unit; the first pull-up unit is connected to the first interface of the control chip, and the first low-level trigger unit is connected between the first interface of the control chip and the first button; wherein:
[0009] The first pull-up unit is used to output a high level to the first interface of the control chip;
[0010] The first low-level trigger unit is used to output a low level to the first interface of the control chip when the first button is triggered.
[0011] Optionally, the pull-up unit includes a first resistor, and the low-level trigger unit includes a first diode; wherein:
[0012] A first end of the first resistor is connected to a power supply, and a second end of the first resistor is connected to a first interface of the control chip;
[0013] The anode of the first diode is connected to the first interface of the control chip, and the cathode of the first diode is grounded through the first button.
[0014] Optionally, the second trigger module includes a second pull-up unit and a second low-level trigger unit; the second pull-up unit is connected to the second interface of the control chip, and the second low-level trigger unit is connected between the second interface of the control chip and the first button; wherein:
[0015] The second pull-up unit is used to output a high level to the second interface of the control chip;
[0016] The second low-level trigger unit is used to output a low level to the second interface of the control chip when the first button is triggered.
[0017] Optionally, the pull-up unit includes a second resistor, and the low-level trigger unit includes a second diode; wherein:
[0018] A first end of the second resistor is connected to a power supply, and a second end of the second resistor is connected to a second interface of the control chip;
[0019] The anode of the second diode is connected to the second interface of the control chip, and the cathode of the second diode is grounded through the first button.
[0020] Optionally, the first diode and the second diode are Schottky diodes.
[0021] Optionally, the delay module includes a first capacitor; wherein:
[0022] A first end of the first capacitor is connected to the second interface of the control chip, and a second end of the first capacitor is grounded.
[0023] Optionally, the button multiplexing circuit further includes a second button and a third trigger module, and the second button is connected to the third interface of the control chip through the third trigger module; wherein:
[0024] The third trigger module is used to send a start signal to the control chip when the second button is triggered.
[0025] Optionally, the third trigger module includes a third resistor, a first end of the third resistor is connected to the power supply, a second end of the third resistor is connected to the third interface of the control chip, and the second end of the third resistor is also grounded through the second button.
[0026] In addition, to achieve the above-mentioned purpose, the utility model also provides a terminal control device, which includes a control chip and the key multiplexing circuit as described above.
[0027] Optionally, the first interface of the control chip is a debugging interface, the second interface of the control chip is a power-on expansion interface, and the third interface of the control chip is a power-on / off interface.
[0028] The utility model proposes a key multiplexing circuit and a terminal control device, wherein the key multiplexing circuit is connected to a control chip; the key multiplexing circuit includes a first key, a first trigger module, a second trigger module and a delay module; the first key is connected to the first interface of the control chip through the first trigger module, the first key is also connected to the second interface of the control chip through the second trigger module, and the delay module is connected to the second trigger module. By setting the delay module, the state of the second interface is different after being triggered by the first key and other keys, thereby realizing the confirmation of the triggering of the first key. At the same time, the delay module is only connected to the second trigger module. Therefore, when the first interface related functions are executed by the first key, the first interface will not be affected by the delay module, thereby realizing the isolation of functions between the first interface and the second interface, realizing key multiplexing, and ensuring the independence of the functions of each interface. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] In order to more clearly illustrate the embodiments of the utility model or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the utility model. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.
[0030] Figure 1 This is a functional module diagram of an embodiment of a key multiplexing circuit of the utility model;
[0031] Figure 2 The utility model key multiplexing circuit is applied in Figure 1 Circuit structure diagram in the embodiment;
[0032] Figure 3 It is a functional module diagram of another embodiment of the key multiplexing circuit of the present invention;
[0033] Figure 4 The utility model is a flow chart of a terminal control method applied to a key multiplexing circuit.
[0034] The realization of the purpose, functional features and advantages of the utility model will be further explained in conjunction with embodiments and with reference to the accompanying drawings.
[0035] Description of Figure Numbers:
[0036] Label name Label name 110 First button R1~R3 First resistor to third resistor 120 Second button D1~D2 First diode to second diode 210 The first trigger module K1~K2 First button~Second button 220 The second trigger module C1 First capacitor 230 The third trigger module 300 Delay Module DETAILED DESCRIPTION
[0037] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0038] The following will be combined with the drawings in the embodiments of the utility model to clearly and completely describe the technical solutions in the embodiments of the utility model. Obviously, the described embodiments are only part of the embodiments of the utility model, not all of the embodiments. Based on the embodiments of the utility model, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the utility model.
[0039] It should be noted that all directional indications (such as up, down, left, right, front, back, etc.) in the embodiments of the present invention are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0040] In addition, the descriptions of "first", "second", etc. in the present utility model are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in this field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present utility model.
[0041] The utility model provides a key multiplexing circuit, which is applied to a terminal control device. Figure 1 , Figure 1This is a functional module diagram of an embodiment of the key multiplexing circuit of the utility model. In this embodiment, the key multiplexing circuit is connected to the control chip; the key multiplexing circuit includes a first key K1, a first trigger module 110, a second trigger module 120 and a delay module 200; the first key K1 is connected to the first interface of the control chip through the first trigger module 110, the first key K1 is also connected to the second interface of the control chip through the second trigger module 120, and the delay module 200 is connected to the second trigger module 120; wherein:
[0042] The first trigger module 110 is used to send a target level signal to the control chip when the first button K1 is triggered;
[0043] The second trigger module 120 is used to send a target level signal to the control chip when the first button K1 is triggered;
[0044] The delay module 200 is used to maintain the target level state of the second trigger module 120 within the delay time after the first button K1 is triggered.
[0045] The specific model of the control chip can be set based on actual application needs, such as the low-power Bluetooth chip DA14531; when the control chip is DA14531, the first interface can be the P05 pin of DA14531, the second interface can be the P07 pin of DA14531, and the third interface described later can be the P02 pin of DA14531.
[0046] Different interfaces of the control chip execute their corresponding functions; specific functions can be set based on actual needs, such as the first interface is used for camera shutter and software debugging, the second interface is used for power-on expansion, and the third interface described later is used for power on, power off and reset; among them, the power-on expansion function is used to trigger the expansion operation set again after the power-on is triggered. If the power-on expansion function specifically includes power-on and photo taking, then after the second interface is triggered, the power-on operation is performed first, and then the photo taking operation is performed, that is, one trigger of the second interface performs two different operations. The above functions will be explained later.
[0047] Based on the specific structure and setting of the first button K1, the corresponding triggering state is different, such as being triggered when the button is pressed, or being triggered when the button is long pressed. This embodiment and subsequent embodiments are described by taking the first button K1 being triggered when being pressed as an example.
[0048] The target level signal is the signal corresponding to when the first key K1 is triggered; if the interface of the control chip is at a high level in an idle state and at a low level when the corresponding key is pressed, the low level is the target level signal.
[0049] The target level state refers to the state of the interface of the control chip outputting the target level signal; for example, when the first button K1 is triggered, the first trigger module 110 and the second trigger module 120 are in the target level state, the first trigger module 110 outputs the target level signal to the first interface of the control chip, and the second trigger module 120 outputs the target level signal to the second interface of the control chip; generally, when the button is released from the trigger state, if the button is pressed, it is triggered, and if the button is released, it is released from the trigger, after the release of the trigger, the corresponding trigger module releases the target level state and stops outputting the target level signal to the control chip; and in this embodiment, a delay module 200 is provided to maintain the target level state of the second trigger module 120, that is, within the delay time after the first button K1 is released, the second trigger module 120 is still in the target level state, and still outputs the target level signal to the second interface of the control chip, and after the delay time has passed, the second trigger module 120 releases the target level state and stops outputting the target level signal to the control chip.
[0050] At the same time, since the delay module 200 is only configured to be connected to the second trigger module 120, the state change of the first trigger module 110 caused by the first button K1 will not be affected by the delay module 200, and the first trigger module 110 can implement single-click, double-click, long press and other operations based on the triggering of the first button K1; that is, in the circuit structure of this embodiment, the first trigger module 110 can still ensure the realization of its own functions.
[0051] This embodiment sets a delay module so that after being triggered by the first button and other buttons, the second interface presents a different state, thereby realizing confirmation of the triggering of the first button. At the same time, the delay module is only connected to the second trigger module. Therefore, when the first interface related functions are executed by the first button, the first interface will not be affected by the delay module, thereby realizing isolation of functions between the first interface and the second interface, realizing button multiplexing and ensuring the independence of the functions of each interface.
[0052] Further, see also Figure 2 , the first trigger module 110 includes a first pull-up unit and a first low-level trigger unit; the first pull-up unit is connected to the first interface of the control chip, and the first low-level trigger unit is connected between the first interface of the control chip and the first button K1; wherein:
[0053] The first pull-up unit is used to output a high level to the first interface of the control chip;
[0054] The first low-level trigger unit is used to output a low level to the first interface of the control chip when the first button K1 is triggered.
[0055] In this embodiment, the high level is set as the signal output by the first trigger unit to the control module in a non-target level state, and the low level is set as the target level signal output by the first trigger unit to the control module in a target level state.
[0056] When the first button K1 is not triggered, the first pull-up unit maintains the first interface of the control chip at a high level; when the first button K1 is triggered, the first low-level trigger unit outputs a low level to the first interface of the control chip.
[0057] Further, the pull-up unit includes a first resistor R1, and the low-level trigger unit includes a first diode D1; wherein:
[0058] A first end of the first resistor R1 is connected to a power supply, and a second end of the first resistor R1 is connected to a first interface of the control chip;
[0059] An anode of the first diode D1 is connected to the first interface of the control chip, and a cathode of the first diode D1 is grounded through the first button K1.
[0060] When the first button K1 is not triggered, the first diode D1 is not conducting, the voltage of the power supply is output to the first interface of the control chip through the first resistor R1, and the first interface presents a high level;
[0061] When the first button K1 is triggered, the first diode D1 is forward-conducted, the first interface of the control chip is grounded through the first diode D1 , and the first interface of the control chip presents a low level.
[0062] Further, the second trigger module 120 includes a second pull-up unit and a second low-level trigger unit; the second pull-up unit is connected to the second interface of the control chip, and the second low-level trigger unit is connected between the second interface of the control chip and the first button K1; wherein:
[0063] The second pull-up unit is used to output a high level to the second interface of the control chip;
[0064] The second low-level trigger unit is used to output a low level to the second interface of the control chip when the first button K1 is triggered.
[0065] In this embodiment, the high level is set as the signal output by the second trigger unit to the control module in a non-target level state, and the low level is set as the target level signal output by the second trigger unit to the control module in a target level state.
[0066] When the second button K2 is not triggered, the second pull-up unit maintains the second interface of the control chip at a high level; when the second button K2 is triggered, the second low-level trigger unit outputs a low level to the second interface of the control chip.
[0067] Further, the pull-up unit includes a second resistor R2, and the low-level trigger unit includes a second diode D2; wherein:
[0068] A first end of the second resistor R2 is connected to a power supply, and a second end of the second resistor R2 is connected to a second interface of the control chip;
[0069] The anode of the second diode D2 is connected to the second interface of the control chip, and the cathode of the second diode D2 is grounded through the first button K1.
[0070] When the second button K2 is not triggered and is in a non-target level state, the second diode D2 is not conducting, the voltage of the power supply is output to the second interface of the control chip through the second resistor R2, and the second interface presents a high level;
[0071] When the second button K2 is triggered, the second diode D2 is forward-conducted, the second interface of the control chip is grounded through the second diode D2, and the second interface of the control chip presents a low level.
[0072] Furthermore, the first diode D1 and the second diode D2 are Schottky diodes.
[0073] It can be understood that although the interface of the control chip is grounded through the diode after the diode is forward grounded, due to the existence of the diode voltage drop, the actual potential of the interface of the control chip is the voltage drop of the diode; it can be understood that the voltage drop of a general diode is 0.7V, that is, if a general diode is used, then when the key is triggered, the interface of the control chip receives a low-level signal of 0.7V; however, in actual applications, terminal control devices such as Bluetooth remote controls are powered by button batteries with a small power supply voltage, and the maximum value of the low level recognized by the control chip is usually 0.3 times the power supply voltage, that is, the low-level voltage generally needs to be less than 0.45V; and the 0.7V voltage drop of a general diode obviously does not meet the low-level requirements, therefore, a Schottky diode is used in this embodiment; Schottky diodes have the characteristics of low voltage drop, generally, the voltage drop of Schottky diodes is 0.07V, which meets the requirements for low-level voltage, that is, when the key is triggered, the corresponding interface of the control chip will be clamped at 0.07V by the Schottky diode.
[0074] Furthermore, the delay module 200 includes a first capacitor C1; wherein:
[0075] A first end of the first capacitor C1 is connected to the second interface of the control chip, and a second end of the first capacitor C1 is grounded.
[0076] When the first button K1 is not triggered, the first capacitor C1 is charged by the power supply. After the charging is completed, the voltage of the first capacitor C1 is the power supply voltage.
[0077] When the first button K1 is triggered, the second diode D2 is turned on, and the second interface of the control chip is clamped to 0.07V, that is, the second trigger module 120 outputs a target level signal, and the first capacitor C1 is discharged to the ground through the second diode D2;
[0078] When the first button K1 is released, the second diode D2 is turned off, and due to the existence of the first capacitor C1, the second interface voltage of the control chip cannot change suddenly. As the first capacitor C1 is charged, the second interface voltage of the control chip gradually rises. When it rises to 0.45V, that is, a high level, the second trigger module 120 releases the target level state and stops outputting the target level signal. The specific values of the voltage in this embodiment are only for example. In actual applications, analog execution can be set based on actual circuit components.
[0079] Further, see Figure 3 , the key multiplexing circuit further includes a second key K2 and a third trigger module 130, the second key K2 is connected to the third interface of the control chip through the third trigger module 130; wherein:
[0080] The third trigger module 130 is used to send a start signal to the control chip when the second button K2 is triggered.
[0081] Based on the specific structure and setting of the second button K2, the corresponding trigger state is different, such as being triggered when the button is pressed, or being triggered when the button is long pressed. This embodiment and subsequent embodiments are described by taking the triggering of the second button K2 when being pressed as an example.
[0082] The start signal is the corresponding signal when the second button K2 is triggered; if the third interface of the control chip is at a high level in the idle state and at a low level when the corresponding button is pressed, the low level is the start signal. The start state refers to the state of the interface that outputs the start signal to the control chip.
[0083] When the second button K2 is triggered, the third trigger module 130 is in an activated state, and the third trigger module 130 outputs an activation signal to the third interface of the control chip.
[0084] Since the second trigger module 120 is provided with a delay module 200, while the third trigger module 130 is not provided with a delay module, the states of the second interface and the third interface are different during the delay time; therefore, the trigger button can be determined by the state of the interface; for example, when the trigger is triggered by the first button K1, the delay module 200 maintains the target level state of the second trigger module 120, so that after the button is released, the control chip can obtain the target level signal from the second interface; and when the trigger is triggered by the second button K2, the first trigger module 110 and the second trigger module 120 are in a state of a predetermined level. 0 will not be triggered, and no target level signal will be output throughout the process. The third trigger module 130 triggers the target level signal to the third interface. After the button is released, since the second trigger module 120 itself is not in the target level state, the delay module 200 cannot maintain the target level state of the second trigger module 120, and the control chip cannot receive the target level signal at the second interface; therefore, when the control chip receives the target level signal at the second interface, it can determine that this trigger is triggered by the first button K1. When the second interface does not receive the target level signal, it can determine that this trigger is triggered by the second button K2.
[0085] Furthermore, the third trigger module 130 includes a third resistor R3, a first end of the third resistor R3 is connected to the power supply, a second end of the third resistor R3 is connected to the third interface of the control chip, and a second end of the third resistor R3 is also grounded through the second button K2.
[0086] When the second button K2 is not triggered, the voltage of the power supply is output to the third interface of the control chip through the third resistor R3, and the third interface of the control chip is at a high level;
[0087] When the second button K2 is triggered, the second end of the third resistor R3 is grounded, and the third interface of the control chip is at a low level.
[0088] The utility model also protects a terminal control device, which includes a control chip and a key multiplexing circuit. The structure of the key multiplexing circuit can refer to the above embodiment and will not be repeated here. As a matter of course, since the terminal control device of this embodiment adopts the technical solution of the key multiplexing circuit, the terminal control device has all the beneficial effects of the key multiplexing circuit.
[0089] Furthermore, the first interface of the control chip is a debugging / camera shutter interface, the second interface of the control chip is a power-on expansion interface, and the third interface of the control chip is a power on / off / reset interface.
[0090] The utility model also provides a terminal control method, see Figure 4, the terminal control method is applied to the terminal control device as described above, and the terminal control method includes:
[0091] Step S10, if the terminal control device triggers wake-up, then obtain the signal state of the second interface of the control chip;
[0092] Step S20, determining whether the trigger button for the current wake-up is the first button or the second button according to the signal state of the second interface;
[0093] Step S30, executing a power-on operation corresponding to the trigger button.
[0094] In this embodiment, on the basis of the first interface and the third interface, the function setting of the second interface is added; specifically, the first interface is a debugging interface and a reset interface, that is, the first interface is used for software debugging and resetting; the third interface is a power on / off interface, that is, the third interface is used for power on and off. On this basis, in this embodiment, a second interface is set, and the second interface is a power on / off expansion interface, that is, the second interface is used to perform power on + expansion operations, that is, trigger the power on and then perform additional operations of expansion, that is, the second interface includes multiple operations including power on and expansion operations.
[0095] The signal status is used to indicate whether the interface receives the target level signal or the start signal; from the above description of the key multiplexing circuit, it can be seen that based on the signal status of the second interface, it can be determined whether the trigger key is the first key or the second key, and the details will not be repeated.
[0096] It can be seen from the function settings of the first interface, the second interface, and the third interface that the present embodiment includes two power-on modes, namely, the functions corresponding to the second interface and the third interface; when the terminal control device is in sleep or powered off, if the first button is pressed, the first interface and the second interface output a target level signal to the control chip. Since the second interface has a power-on function, the control chip is awakened at this time. At the same time, based on the signal state of the second interface, it is determined that the first button is triggered, and the extended operation corresponding to the second interface is executed;
[0097] When the terminal control device is in sleep or shutdown, if the second button is pressed, the third interface outputs a startup signal to the control chip. Since the third interface has a power-on function, the control chip is awakened at this time. At the same time, based on the signal state of the second interface, it is determined that the second button is triggered to complete the power-on operation.
[0098] That is, this embodiment realizes a quick selection between simple startup and startup expansion based on the first button and the second button when the terminal control device is in sleep or shutdown, thereby improving the efficiency of implementing some functions.
[0099] Further, step S20 includes:
[0100] Step S21, determining whether the signal state of the second interface is a high level or a low level;
[0101] Step S22, if the signal state of the second interface is high level, the trigger button is the second button;
[0102] Step S23: if the signal state of the second interface is a low level, the trigger button is the first button.
[0103] Based on the example of the aforementioned key multiplexing circuit, when a low level is used as the target level signal, it can be determined whether the trigger key is the first key or the second key based on the high and low levels.
[0104] Furthermore, the step S30 includes:
[0105] Step S31, if the trigger button is the first button, establishing a communication connection with the associated terminal;
[0106] Step S32: sending a photographing instruction to the associated terminal, so that the associated terminal performs a photographing operation based on the photographing instruction.
[0107] Most existing mobile phones have cancelled the 3.5mm audio interface. Therefore, the general selfie stick that triggers taking pictures through the audio interface cannot be used. In order to solve this problem, a Bluetooth remote control wirelessly connected to the mobile phone can be set to realize the control of shooting. However, when the Bluetooth remote control is dormant or turned off, it is necessary to wake up the Bluetooth remote control first, and then press the photo button to realize taking pictures. Some scenes are fleeting. By the time a series of actions such as pressing the power button, waking up the Bluetooth remote control, pressing the photo button, and executing the photo operation are completed, the best shooting opportunity may have been missed. Therefore, in this embodiment, the function of the second interface is set to automatically take pictures when the power is turned on, that is, when the second interface triggers the terminal control device to wake up, the photo function is automatically triggered after the power is turned on, and the user does not need to wait for wakeup and press the photo button again, thereby realizing the rapid execution of the Bluetooth remote control from dormancy to power on and taking pictures.
[0108] The specific implementation method from powering on to taking pictures can be set based on the actual scenario; in this embodiment, the terminal control device establishes a communication connection with the associated terminal in advance so that automatic connection can be achieved when the device is powered on; after being awakened, the terminal control device automatically establishes a Bluetooth connection with the associated terminal, and after the connection is completed, it sends a picture taking instruction to the associated terminal, and the associated terminal executes the picture taking operation after receiving the picture taking instruction.
[0109] It should be noted that, in this article, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the presence of other identical elements in the process, method, article or system including the element. The serial numbers of the above-mentioned embodiments of the utility model are for description only and do not represent the advantages and disadvantages of the embodiments.
[0110] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the specification and drawings of the present invention, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A key multiplexing circuit, characterized in that: The key multiplexing circuit is connected to the control chip; the key multiplexing circuit includes a first key, a first trigger module, a second trigger module and a delay module; the first key is connected to the first interface of the control chip through the first trigger module, the first key is also connected to the second interface of the control chip through the second trigger module, and the delay module is connected to the second trigger module; wherein: The first trigger module is used to send a target level signal to the control chip when the first button is triggered; The second trigger module is used to send a target level signal to the control chip when the first button is triggered; The delay module is used to maintain the target level state target level signal of the second trigger module within the delay time after the first button is triggered.
2. The key multiplexing circuit according to claim 1, characterized in that: The first trigger module includes a first pull-up unit and a first low-level trigger unit; the first pull-up unit is connected to the first interface of the control chip, and the first low-level trigger unit is connected between the first interface of the control chip and the first button; wherein: The first pull-up unit is used to output a high level to the first interface of the control chip; The first low-level trigger unit is used to output a low level to the first interface of the control chip when the first button is triggered.
3. The key multiplexing circuit as claimed in claim 2, characterized in that: The pull-up unit includes a first resistor, and the low-level trigger unit includes a first diode; wherein: A first end of the first resistor is connected to a power supply, and a second end of the first resistor is connected to a first interface of the control chip; The anode of the first diode is connected to the first interface of the control chip, and the cathode of the first diode is grounded through the first button.
4. The key multiplexing circuit according to claim 1, characterized in that: The second trigger module includes a second pull-up unit and a second low-level trigger unit; the second pull-up unit is connected to the second interface of the control chip, and the second low-level trigger unit is connected between the second interface of the control chip and the first button; wherein: The second pull-up unit is used to output a high level to the second interface of the control chip; The second low-level trigger unit is used to output a low level to the second interface of the control chip when the first button is triggered.
5. The key multiplexing circuit as claimed in claim 4, characterized in that: The pull-up unit includes a second resistor, and the low-level trigger unit includes a second diode; wherein: A first end of the second resistor is connected to a power supply, and a second end of the second resistor is connected to a second interface of the control chip; The anode of the second diode is connected to the second interface of the control chip, and the cathode of the second diode is grounded through the first button.
6. The key multiplexing circuit according to claim 3 or 5, characterized in that: The first diode and the second diode are Schottky diodes.
7. The key multiplexing circuit as claimed in claim 5, characterized in that: The delay module includes a first capacitor; wherein: A first end of the first capacitor is connected to the second interface of the control chip, and a second end of the first capacitor is grounded.
8. The key multiplexing circuit according to claim 1, characterized in that: The key multiplexing circuit further includes a second key and a third trigger module, and the second key is connected to the third interface of the control chip through the third trigger module; wherein: The third trigger module is used to send a start signal to the control chip when the second button is triggered.
9. The key multiplexing circuit as claimed in claim 8, characterized in that: The third trigger module includes a third resistor, a first end of the third resistor is connected to the power supply, a second end of the third resistor is connected to the third interface of the control chip, and the second end of the third resistor is also grounded through the second button.
10. A terminal control device, characterized in that: The terminal control device comprises a control chip and a key multiplexing circuit according to any one of claims 1 to 9.
11. The terminal control device according to claim 10, characterized in that: The first interface of the control chip is a debugging / camera shutter interface, the second interface of the control chip is a power-on expansion interface, and the third interface of the control chip is a power on / off / reset interface.
