CN214125265U - Scanning circuit and remote control device - Google Patents

Scanning circuit and remote control device Download PDF

Info

Publication number
CN214125265U
CN214125265U CN202022975118.XU CN202022975118U CN214125265U CN 214125265 U CN214125265 U CN 214125265U CN 202022975118 U CN202022975118 U CN 202022975118U CN 214125265 U CN214125265 U CN 214125265U
Authority
CN
China
Prior art keywords
circuit
electrically connected
key
interface
triode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202022975118.XU
Other languages
Chinese (zh)
Inventor
张迪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Haikang Huiying Technology Co ltd
Original Assignee
Hangzhou Haikang Huiying Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Haikang Huiying Technology Co ltd filed Critical Hangzhou Haikang Huiying Technology Co ltd
Priority to CN202022975118.XU priority Critical patent/CN214125265U/en
Application granted granted Critical
Publication of CN214125265U publication Critical patent/CN214125265U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

The application provides a scanning circuit and remote control equipment, belongs to wireless technology field. The scanning circuit includes: the key structure comprises a first IO interface, MxN keys, N second IO interfaces, M first diodes, M second diodes and a first triode, wherein the MxN keys are arranged in an array structure, the ith second IO interface is electrically connected with each key in the ith row of keys, the positive electrode of the jth first diode and the positive electrode of the jth second diode are respectively electrically connected with each key in the jth row of keys, the negative electrode of the jth second diode is electrically connected with the N-j +1 second IO interfaces, the negative electrode of the jth first diode is electrically connected with the base electrode of the first triode, the collector electrode of the first triode is grounded, and the first IO interface is respectively electrically connected with the emitter electrode of the first triode and a power supply. The control circuit can determine whether the key is pressed or not according to the level output by the first IO interface, and timing scanning is not needed.

Description

Scanning circuit and remote control device
Technical Field
The present application relates to the field of wireless technologies, and in particular, to a scan circuit and a remote control device.
Background
With the progress of the technology level, the application field of the wireless remote control technology is more and more extensive, and the wireless remote control technology can be used in various industries such as automobiles, electric appliances, communication and the like. The bluetooth remote controller is a typical representative in the wireless remote control technology, and due to its strong functionality and pairing convenience, people have more and more demands on it, and the application is more and more popular.
In the related art, the bluetooth remote controller includes an MCU (micro controller Unit) control circuit, a bluetooth circuit, and a key scanning circuit. The MCU control circuit is electrically connected with the Bluetooth circuit and the key scanning circuit respectively. The key scanning circuit comprises a key keyboard, a plurality of keys on the key keyboard are arranged in an array structure, and the MCU control circuit scans the key keyboard at regular time. And responding to the scanning that the button is pressed, the MCU control circuit wakes up the Bluetooth circuit and performs data transmission with the Bluetooth circuit to realize the function of the Bluetooth remote controller.
In the related art, the MCU control circuit scans the keypad in the key scanning circuit at regular time, which increases the loss of the bluetooth remote controller and causes the power consumption of the bluetooth remote controller to be larger.
Disclosure of Invention
The embodiment of the application provides a scanning circuit and remote control equipment, which can reduce the power consumption of a Bluetooth remote controller. The technical scheme comprises the following steps:
in one aspect, the present application provides a scan circuit, the circuit comprising:
the device comprises a first IO interface, M multiplied by N keys, N second IO interfaces, M first diodes, M second diodes and a first triode, wherein M and N are integers which are more than or equal to 1;
the M multiplied by N keys are arranged in an array structure;
the ith second IO interface is electrically connected with each key in the ith row of keys, and i belongs to [1, N ];
the positive electrode of the jth first diode and the positive electrode of the jth second diode are respectively and electrically connected with each key in the jth row of keys, and j belongs to [1, M ]; the negative electrode of the jth second diode is electrically connected with the (N-j + 1) th second IO interface, the negative electrode of the jth first diode is electrically connected with the base electrode of the first triode, and the collector electrode of the first triode is grounded;
the first IO interface is electrically connected with the emitter of the first triode and the power supply respectively.
In one possible implementation, the scan circuit further includes N first resistors;
the first end of the ith first resistor is electrically connected with the ith second IO interface, and the second end of the N first resistors is grounded.
In one possible implementation manner, the scanning circuit further includes a second transistor;
the emitting electrode of the second triode is electrically connected with the second ends of the N resistors respectively, and the collecting electrode of the second triode is grounded;
and the base electrode of the second triode is electrically connected with the base electrode of the first triode.
In one possible implementation, the scan circuit further includes M second resistors;
the first end of the jth second resistor is electrically connected with each key in the jth row of keys, and the second ends of the M second resistors are grounded.
In one possible implementation, the scan circuit further includes a third resistor;
the first end of the third resistor is electrically connected with the first IO interface, and the other end of the third resistor is electrically connected with the power supply.
In another aspect, there is provided a remote control device including: a control circuit, a radio frequency circuit and a scanning circuit of any of the above;
the control circuit is electrically connected with the radio frequency circuit and the scanning circuit respectively.
In one possible implementation manner, the control circuit has N +1 third IO interfaces;
and the N +1 third IO interfaces are respectively connected with the first IO interface and the N second IO interfaces.
In one possible implementation, the control circuit has an input pin and an output pin;
the input pin and the output pin are respectively electrically connected with the radio frequency circuit.
In one possible implementation, the remote control device includes: a power supply circuit;
the control circuit is electrically connected with the power circuit.
In one possible implementation, the control circuit is a CC2640F128 chip.
The technical scheme provided by the embodiment of the application has the beneficial effects that at least:
in the embodiment of the application, a first IO interface in the scanning circuit is electrically connected to a grounded triode, and due to the unidirectional conduction characteristic of the triode, when no key of the scanning circuit is pressed down, the triode is in a disconnected state, and at this time, the output of the first IO interface is a high level; when a key in the scanning circuit is pressed down, the triode is switched from the off state to the on state, and the output of the first IO interface is changed from the high level to the low level. Therefore, the control circuit can determine whether the key is pressed or not according to the level output by the first IO interface, so that the key does not need to be scanned regularly, the key can be determined to be pressed or not, and power consumption is saved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a circuit diagram of a key scanning circuit according to an embodiment of the present disclosure;
FIG. 2 is a circuit diagram of another exemplary embodiment of a key scan circuit;
FIG. 3 is a circuit diagram of another exemplary embodiment of a key scan circuit;
FIG. 4 is a circuit diagram of another exemplary embodiment of a key scan circuit;
FIG. 5 is a circuit diagram of another exemplary embodiment of a key scan circuit;
fig. 6 is a circuit structure diagram of a remote control device according to an embodiment of the present application;
FIG. 7 is a diagram of remote control device transmission logic provided in an embodiment of the present application;
fig. 8 is a logic diagram of key scanning according to an embodiment of the present disclosure.
The reference numerals in the figures are denoted respectively by:
a scanning circuit: 10;
the control circuit: 20;
a radio frequency circuit: 30, of a nitrogen-containing gas;
a power supply circuit: 40;
a first resistance: R1-R4;
a second resistance: R5-R8;
a third resistance: r9;
pressing a key: SW11-SW 44;
a first IO interface: x4;
a second IO interface: X0-X3;
a first diode: D1-D4;
a second diode: D5-D8;
a first triode: q1;
a second triode: q2.
Detailed Description
In order to make the technical solutions and advantages of the present invention clearer, the following will describe embodiments of the present invention in further detail with reference to the accompanying drawings.
The embodiment of the present application provides a scan circuit, and referring to fig. 1, the scan circuit 10 includes,
the keyboard comprises a first IO interface, M multiplied by N keys, N second IO interfaces, M first diodes, M second diodes and a first triode Q1, wherein M and N are integers larger than or equal to 1.
The M multiplied by N keys are arranged in an array structure. The ith second IO interface is electrically connected with each key in the ith row of keys, and i belongs to [1, N ].
The positive electrode of the jth first diode and the positive electrode of the jth second diode are respectively and electrically connected with each key in the jth row of keys, and j belongs to [1, M ]; the negative electrode of the jth second diode is electrically connected with the (N-j + 1) th second IO interface, the negative electrode of the jth first diode is electrically connected with the base electrode of the first triode Q1, and the collector electrode of the first triode Q1 is grounded.
The first IO interface is electrically connected to the emitter of the first transistor Q1 and the power supply, respectively.
In the embodiment of the present application, the first IO interface in the scanning circuit 10 is electrically connected to a grounded triode, and due to the unidirectional conduction characteristic of the triode, when no key is pressed down in the scanning circuit 10, the triode is in a disconnected state, and at this time, the output of the first IO interface is a high level; when a key in the scanning circuit 10 is pressed, the transistor is switched from the off state to the on state, and the output of the first IO interface is changed from the high level to the low level. Therefore, the control circuit 20 can determine whether the key is pressed according to the level output by the first IO interface, so that the key does not need to be scanned regularly, and the key can be determined to be pressed, thereby saving power consumption.
M and N are integers greater than or equal to 1. M and N may be the same or different. For example, M is 1, 2, 3, 4, or 5, etc.; n is 1, 2, 3, 4 or 5, etc. In fig. 1, when M is 4 and N is 4, the 4 × 4 keys are SW11, SW12, SW13, SW14, SW21 … … SW24, SW31 … … SW34, and SW41 … … SW44, respectively.
The keys in the M × N keys are any type of keys, and the type of each key may be the same or different. For example, each key is of the same type and is a membrane key.
The first IO interface is used for realizing interrupt triggering, and the second IO interface is used for scanning key values and determining which key is pressed.
The diode is a Schottky diode and is a unidirectional conducting semiconductor device and used for realizing unidirectional conduction of a circuit.
The first triode Q1 is an electronic switching tube, and is used to detect the interrupt trigger of any key, so as to realize the function of scanning state switch.
When no key is pressed in the scanning circuit 10, the M first diodes, the M second diodes, and the first transistor Q1 are all in a non-conducting state, at this time, the first IO interface is set as input, the state of the first IO interface is high level, the N second IO interfaces are set as output, and the state of the N second IO interfaces is high level.
When a key is pressed down in the scanning circuit 10, the first diode connected with the pressed key is conducted, and because the cathode of the first diode is electrically connected with the base of the first triode Q1, the first triode Q1 is conducted and grounded, and then the first IO interface electrically connected with the first triode Q1 is grounded, and the state of the first IO interface is changed from high level to low level. Meanwhile, as the key is pressed down, the second IO interface connected with the pressed key is output, the state of the pressed key-connected second IO interface is high level, the second diode connected with the pressed key is conducted, the second IO interface electrically connected with the cathode of the second diode is input, the input is high level, the second IO interface not electrically connected with the cathode of the second diode is input, and the input is low level.
Taking the scan circuit 10 of fig. 1 as an example, M is 4 and N is 4. The first IO interface is X4, the 4 second IO interfaces are X0-X3 respectively, the 4 first diodes are D1-D4 respectively, and the 4 second diodes are D5-D8 respectively. When no key in the scanning circuit 10 is pressed, the first IO interface X4 is set as input, the state of the first IO interface is high level, the 4 second IO interfaces X0-X3 are all set as output, and the states of X0-X3 are all high level. For example, when the button SW11 is pressed, the first diode D1 connected to the button SW11 is turned on, and since the cathode of the first diode D1 is electrically connected to the base of the first transistor Q1, the first transistor Q1 is turned on and grounded, and the first IO interface X4 electrically connected to the first transistor Q1 is grounded, so that the state of the first IO interface X4 changes from high level to low level. Meanwhile, as the key SW11 is pressed, the second IO interface X0 connected to the key SW11 outputs a high level, and the second diode D5 connected to the key SW11 is turned on, the second IO interface X3 electrically connected to the cathode of the second diode D5 inputs a high level, and the second IO interface X1-X2 not electrically connected to the cathode of the second diode D5 inputs a low level.
In the embodiment of the present application, the scanning circuit 10 is set to be an mxn array structure, and then the diodes are enabled, so that the N IO interfaces can support mxn keys at most, thereby saving IO resources.
In a possible implementation manner, the scan circuit 10 further includes N first resistors, a first end of an ith first resistor is electrically connected to an ith second IO interface, and a second end of the N first resistors is grounded. When no key is pressed in the scanning circuit 10, the N second IO interfaces are set as outputs, and the states of the N second IO interfaces are high levels, and since the N second IO interfaces are connected with the N first resistors, electric energy is consumed through the N first resistors. When a key is pressed in the scanning circuit 10, the second IO interface not connected to the second diode that is turned on is pulled down to ground through the first resistor connected to the second IO interface, and a low level is input.
In fig. 2, when M is 4 and N is 4, the scan circuit 10 further includes 4 first resistors R1 to R4. Referring to fig. 2, when no key is pressed in the scanning circuit 10, the 4 second IO interfaces X0-X3 are all set as outputs, and the X0-X3 states are all high levels, and since the 4 second IO interfaces X0-X3 are connected to the 4 first resistors R1-R4, the 4 first resistors R1-R4 consume electric energy. When the key SW11 of the scan circuit 10 is pressed, the second IO ports X1 to X2, which are not connected to the turned-on second diode D5, are pulled down to the ground through the first resistors R2 to R3 connected thereto, and a low level is input.
In the embodiment of the present application, the initial input level of the second IO interface is a low level by setting the first resistor electrically connected to the second IO interface, so that the stability of the scanning circuit 10 is improved.
In a possible implementation manner, the scanning circuit 10 further includes a second transistor Q2, the emitters of the second transistor Q2 are electrically connected to the second ends of the N resistors, respectively, the collector of the second transistor Q2 is grounded, and the base of the second transistor Q2 is electrically connected to the base of the first transistor Q1.
The second transistor Q2 is an electronic switch for turning on the first resistor and pulling it down to ground.
When no key in the scanning circuit 10 is pressed, the first transistor Q1 and the second transistor Q2 are both in a non-conducting state, the first IO interface is set as input, and the state of the first IO is high level. When a key in the scanning circuit 10 is pressed, the first transistor Q1 is turned on, so that the second diode connected to it is turned on, and the second IO interface not connected to the turned on second diode is pulled down to ground through the first resistor, and a low level is input.
In fig. 3, taking M-4 and N-4 as an example, the scan circuit 10 further includes a second transistor Q2. See fig. 3. When no key in the scanning circuit 10 is pressed, the first transistor Q1 and the second transistor Q2 are both off, the first IO interface X4 is set as input, and the state of X4 is high. When the key SW11 in the scan circuit 10 is pressed, the first transistor Q1 is turned on, so the second transistor Q2 connected to it is turned on, so that the second IO interface X1-X2 not connected to the turned-on second transistor Q2 is pulled down to ground through the first resistors R2-R3, and a low level is input.
Referring to fig. 2, when the second transistor Q2 is not present, in a standby state, the outputs of the second IO interfaces X0-X3 are all at a high level, and power is consumed through the first resistors R1-R4, even if the first resistors R1-R4 select 100k Ω, the standby current of the scan circuit 10 is (3 ÷ 100k) × 4 ═ 0.12 mA. Referring to fig. 3, when the second transistor Q2 is present, the second transistor Q2 disconnects the first resistors R1-R4 from ground in the standby state of the scan circuit 10, and no more current is consumed.
In the embodiment of the present application, the second transistor Q2 electrically connected to the first resistor is disposed, so that when no key is pressed, the second transistor Q2 disconnects the first resistor from ground, and no current is consumed, and thus the structure can effectively reduce the operating current of the scanning circuit 10.
In a possible implementation manner, the scan circuit 10 further includes M second resistors, a first end of a jth second resistor is electrically connected to each key in a jth row of keys, and second ends of the M second resistors are grounded. The first end of the jth second resistor is electrically connected with the anode of the jth first diode, and when no key is pressed down, the first IO interface electrically connected with the power supply inputs high level.
In fig. 4, when M is 4 and N is 4, the scan circuit 10 further includes 4 second resistors R5 to R8.
In the embodiment of the present application, the initial state of the first IO interface is maintained at a high level by setting the second resistor, so that false triggering is avoided, and the stability of the scanning circuit 10 is improved.
In another possible implementation manner, the scan circuit 10 further includes a third resistor, a first end of the third resistor is electrically connected to the first IO interface, and another end of the third resistor is electrically connected to the power supply.
In fig. 5, when M is 4 and N is 4, the scan circuit 10 further includes a third resistor R9.
In this embodiment of the application, by setting the third resistor, the first IO interface is pulled up to the power supply through the third resistor, and then the first IO interface is kept at a high level, so that the stability of the scanning circuit 10 is improved.
The embodiment of the present application provides a remote control device, referring to fig. 6, the remote control device includes a control circuit 20, a radio frequency circuit 30, and a scanning circuit 10, where the control circuit 20 is electrically connected to the radio frequency circuit 30 and the scanning circuit 10, respectively.
In this embodiment, the control circuit 20 may determine whether the key is pressed according to the level output by the first IO interface, so that it is not necessary to scan the key at regular time to determine whether the key is pressed, thereby saving power consumption.
In the embodiment of the present application, when no key is pressed in the scan circuit 10, the first IO interface X4 of the scan circuit 10 outputs a high level to the control circuit 20; when a key is pressed in the scan circuit 10, the output of the first IO interface X4 of the scan circuit 10 is at a low level. Correspondingly, when the control circuit 20 detects that the output of the first IO interface X4 is at a high level, it is determined that no key is pressed; when the control circuit 20 detects that the output of the first IO interface X4 is at a low level, it determines that a key is pressed, and at this time, the control circuit 20 determines a key identifier that is pressed, determines a first control instruction based on the key identifier, and sends the first control instruction through the radio frequency circuit 30.
Wherein, the radio frequency circuit 30 is an antenna radio frequency circuit, and the protocol of the radio frequency circuit 30 is a bluetooth protocol; correspondingly, the rf circuit 30 converts the first control command into a second control command of the bluetooth protocol, and sends the second control command.
In a possible implementation manner, referring to fig. 6, the control circuit 20 has N +1 third IO interfaces, and the N +1 third IO interfaces are respectively connected to the first IO interface and the N second IO interfaces. The N +1 third IO interfaces are DIO _0, DIO _1, and … DIO _ N, respectively.
A third IO interface is connected to a first IO interface X4 or to a second IO interface. The third IO interface connected to the first IO interface X4 is configured to receive a level signal input by the first IO interface X4, and the N third IO interfaces connected to the N second IO interfaces are configured to receive a key scanning signal input by the N second IO interfaces.
The level signal is high level or low level; when the third IO interface receives a high level signal output by the first IO interface X4, the control circuit 20 determines that no key is pressed; when the third IO interface receives a low level signal output by the first IO interface X4, the control circuit 20 determines that a key is pressed.
When the control circuit 20 determines that a key is pressed, it reads the input signals of the N second IO interfaces through the N third IO interfaces, and determines the identifier of the pressed key based on the input signals of the N second IO interfaces.
The control circuit 20 obtains the input signal of each second IO interface, determines a signal sequence according to the input signal of each second IO interface, and determines a key identifier corresponding to the signal sequence from the key value table based on the signal sequence. Wherein, the corresponding relation between the signal sequence and the key identification is stored in the key value table. For example, the key-value table is shown in table 1 below:
TABLE 1
Figure DEST_PATH_GDA0003176738550000091
For example, if the signal sequence is [ empty, 0,0,1], the control circuit 20 determines that the key SW11 is pressed; if the signal sequence is [1, null, 0,0], the control circuit 20 determines that the key SW42 is pressed.
In this embodiment, by providing N +1 third IO interfaces connected to the first IO interface and the N second IO interfaces of the scanning circuit 10 on the control circuit 20, data transmission between the control circuit 20 and the scanning circuit 10 is facilitated.
In one possible implementation, as shown in FIG. 6, the control circuit 20 has an input pin RF-P and an output pin RF-N, which are electrically connected to the RF circuit 30 respectively.
In the embodiment of the present application, the control circuit 20 is provided with the input pin RF-P and the output pin RF-N connected to the radio frequency circuit 30, so that the control circuit 20 transmits the key signal to the radio frequency circuit 30, transmits the signal through the antenna of the radio frequency circuit 30, and simultaneously transmits the signal received by the antenna of the radio frequency circuit 30 to the control circuit 20.
In one possible implementation, referring to fig. 6, a remote control device includes: the power circuit 40, the control circuit 20 and the power circuit 40 are electrically connected. The control circuit 20 has a power supply pin VCC, and the control circuit 20 is connected to the power supply circuit 40 through the power supply pin VCC. The source circuit 40 is a battery and the output voltage is 1.8V-3.0V.
In the embodiment of the present application, the power supply circuit 40 is provided to supply power to the remote control device.
In one possible implementation, the control circuit 20 is a CC2640F128 chip and its peripheral circuits.
The CC2640F128 belongs to an economical and efficient ultra-low power consumption 2.4GHz RF (Radio Frequency) device, has extremely low active Radio Frequency current, control current and low power consumption mode current consumption, can ensure excellent service life of a battery, and is suitable for power supply application of a small button battery.
In the embodiment of the present application, the control circuit 20 is a CC2640F128 chip and its peripheral circuits, and the chip and the control circuit 20 are integrated, so that the complexity of data transmission between the chip and the control circuit 20 is effectively reduced, and the power consumption is reduced by half.
The working principle of the remote control equipment provided by the embodiment of the application is as follows:
referring to fig. 7, the power circuit 40 is connected, when the remote control device is powered on or powered up, and then the control circuit 20 is initialized. When no key in the scanning circuit 10 is pressed, the remote control device defaults to a low power consumption standby state, and the control circuit 20 and the radio frequency circuit 30 are in a sleep state, that is, in a standby state, and wait for an interrupt. When a key is pressed in the scanning circuit 10, the control circuit 20 acquires a signal sequence, reads a key value table based on the signal sequence to determine a pressed key identifier, and determines a first control instruction based on the key identifier. The radio frequency circuit 30 transmits a first control instruction. If no key is pressed within the preset time period, the control circuit 20 enters the standby state again. The preset duration can be set and changed as required, and in the embodiment of the application, the preset duration is not specifically limited.
The key scanning process provided by the embodiment of the application is as follows:
referring to fig. 8, when no key is pressed in the scanning circuit 10, the control circuit 20 is in a standby state, waits for an interrupt, the N second IO interfaces are set to output, the states of the N second IO interfaces are all at a high level, the first IO interface X4 is set to input, and the state of the first IO interface X4 is at a high level. When any key in the scanning circuit 10 is pressed, the first IO interface X4 changes from high level to low level, the control circuit 20 reads the level change to determine that the key is pressed, interrupts the wake-up control circuit 20, and starts scanning the key. Xi sequentially outputs high level, non-Xi sequentially sets as input, the control circuit 20 obtains a signal sequence, and a key value table is inquired based on the signal sequence to obtain a pressed key identifier; if the first control instruction corresponding to the key identification is valid, the first control instruction is transmitted through the radio frequency circuit 30, and if the first control instruction corresponding to the case identification is invalid, the process returns to continue waiting for interruption.
Taking the key scan circuit 10 in fig. 5 as an example, when SW11 is pressed, the circuit from X0 to diode D5 is connected, the transistor Q1 is turned on up and down, the X4 changes from high level to low level, the control circuit reads the level change to determine that a key is pressed, and then the key scan is started. First, X0 outputs high level, X1-X3 read the pin level at this time to be 001, and the comparison of the key value table determines that SW11 is pressed at this time. For example, when SW12 is pressed, X0 outputs a high level, the pin levels at the time of reading X1 to X3 are 000, the pin levels at the time of reading X1 to X3 need to be set for the second time, X1 outputs a high level, the pin levels at the time of reading X0 and X2 to X3 are 001, and the pin level at the time of reading SW12 is judged to be pressed by comparing the key value table. For example, SW21 is pressed, X0 outputs high level, X1-X3 read the pin level at this time to be 010, respectively, and SW21 is pressed at this time by comparing the key value table. For example, when SW44 is pressed, first X0 outputs a high level, X1 to X3 read the pin level at this time to be 000, at this time, setting is required for the second time, X1 outputs a high level, X0 and X2 to X3 read the pin level at this time to be 000, at this time, setting is required for the third time, X2 outputs a high level, X0 to X1 and X3 read the pin level at this time to be 000, at this time, setting is required for the fourth time, X3 outputs a high level, X0 to X2 reads the pin level at this time to be 100, and it can be determined that SW44 is pressed at this time by comparing the key value table.
The embodiment of the present application takes the scan circuit 10 of fig. 5 as an example, and the electrical characteristics thereof are as follows: the single key current is 5.9mA, and the normal working standby current is 90-120 uA; if no key is pressed within 1 minute, the connection is disconnected, and the deep sleep state is entered. Pressing any key to wake up the keyboard and re-entering the working state; when the keyboard is in deep sleep, the current is 8uA to 11 uA; the normal working voltage is 1.8V-3.0V.
In the embodiment of the present application, the first IO interface in the scanning circuit 10 is electrically connected to a grounded triode, and due to the unidirectional conduction characteristic of the triode, when no key is pressed down in the scanning circuit 10, the triode is in a disconnected state, and at this time, the output of the first IO interface is a high level; when a key in the scanning circuit 10 is pressed, the transistor is switched from the off state to the on state, and the output of the first IO interface is changed from the high level to the low level. Therefore, the control circuit 20 can determine whether the key is pressed according to the level output by the first IO interface, so that the key does not need to be scanned regularly, and the key can be determined to be pressed, thereby saving power consumption.
The present application is intended to cover various modifications, alternatives, and equivalents, which may be included within the spirit and scope of the present application.

Claims (10)

1. A scan circuit, comprising: the device comprises a first IO interface, M multiplied by N keys, N second IO interfaces, M first diodes, M second diodes and a first triode, wherein M and N are integers which are more than or equal to 1;
the M multiplied by N keys are arranged in an array structure;
the ith second IO interface is electrically connected with each key in the ith row of keys, and i belongs to [1, N ];
the positive electrode of the jth first diode and the positive electrode of the jth second diode are respectively and electrically connected with each key in the jth row of keys, and j belongs to [1, M ]; the negative electrode of the jth second diode is electrically connected with the (N-j + 1) th second IO interface, the negative electrode of the jth first diode is electrically connected with the base electrode of the first triode, and the collector electrode of the first triode is grounded;
the first IO interface is electrically connected with the emitter of the first triode and the power supply respectively.
2. The scan circuit of claim 1, further comprising N first resistors;
the first end of the ith first resistor is electrically connected with the ith second IO interface, and the second end of the N first resistors is grounded.
3. The scan circuit of claim 2, further comprising a second transistor;
the emitting electrode of the second triode is electrically connected with the second ends of the N resistors respectively, and the collecting electrode of the second triode is grounded;
and the base electrode of the second triode is electrically connected with the base electrode of the first triode.
4. The scan circuit of claim 1, further comprising M second resistors;
the first end of the jth second resistor is electrically connected with each key in the jth row of keys, and the second ends of the M second resistors are grounded.
5. The scan circuit of claim 1, further comprising a third resistor;
the first end of the third resistor is electrically connected with the first IO interface, and the other end of the third resistor is electrically connected with the power supply.
6. A remote control device, characterized in that the remote control device comprises: control circuitry, radio frequency circuitry and scanning circuitry as claimed in any one of claims 1 to 5;
the control circuit is electrically connected with the radio frequency circuit and the scanning circuit respectively.
7. A remote control device as claimed in claim 6, characterized in that the control circuit has N +1 third IO interfaces;
and the N +1 third IO interfaces are respectively connected with the first IO interface and the N second IO interfaces.
8. The remote control device of claim 6, wherein the control circuit has an input pin and an output pin;
the input pin and the output pin are respectively electrically connected with the radio frequency circuit.
9. A remote control device as recited in claim 6, wherein the remote control device comprises: a power supply circuit;
the control circuit is electrically connected with the power circuit.
10. The remote control device of claim 6, wherein the control circuit is a CC2640F128 chip.
CN202022975118.XU 2020-12-07 2020-12-07 Scanning circuit and remote control device Active CN214125265U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202022975118.XU CN214125265U (en) 2020-12-07 2020-12-07 Scanning circuit and remote control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202022975118.XU CN214125265U (en) 2020-12-07 2020-12-07 Scanning circuit and remote control device

Publications (1)

Publication Number Publication Date
CN214125265U true CN214125265U (en) 2021-09-03

Family

ID=77510302

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202022975118.XU Active CN214125265U (en) 2020-12-07 2020-12-07 Scanning circuit and remote control device

Country Status (1)

Country Link
CN (1) CN214125265U (en)

Similar Documents

Publication Publication Date Title
CN102523402B (en) Intelligent television remote controller and power-saving method thereof
CN109840006B (en) Main control chip power supply device
CN214125265U (en) Scanning circuit and remote control device
US20030160764A1 (en) Power saving device
CN216435165U (en) Key control circuit and remote controller
US20120248894A1 (en) Microcomputer system
CN101201691A (en) Null current button device for arbitrary key
CN215526397U (en) Wake-up circuit of controller and electronic equipment
CN211349294U (en) Power supply control device and electronic apparatus
CN212933759U (en) Intelligent remote controller capable of automatically controlling startup and shutdown
CN112202434A (en) Startup and shutdown self-locking circuit
CN219802313U (en) Low-power consumption key scanning device
CN217404834U (en) Switch control circuit
CN216412359U (en) Single-key wireless remote controller
CN218995923U (en) One-key multifunctional control circuit
CN112738873B (en) Module wake-up protection system and method
CN216356673U (en) Multi-key control circuit
CN212587012U (en) Remote control circuit and remote controller
CN218446409U (en) Movable switch controller and household control system
CN211207135U (en) Power-down control circuit and electronic equipment
KR100314632B1 (en) Circuit for detecting wire/wireless mode and selecting power of wire/wireless keyboard
CN214380666U (en) Household electrical appliance control circuit, system and electrical equipment
CN210836531U (en) Low standby power consumption transmitter powered by single-node one-point five-volt battery
CN215681824U (en) TWS earphone charging system
CN216793506U (en) Power switch chip and device

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant