CN107231157A - The controller of key scanning method and low-voltage electrical apparatus - Google Patents
The controller of key scanning method and low-voltage electrical apparatus Download PDFInfo
- Publication number
- CN107231157A CN107231157A CN201610167935.8A CN201610167935A CN107231157A CN 107231157 A CN107231157 A CN 107231157A CN 201610167935 A CN201610167935 A CN 201610167935A CN 107231157 A CN107231157 A CN 107231157A
- Authority
- CN
- China
- Prior art keywords
- key
- key value
- value
- button
- scanning
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M11/00—Coding in connection with keyboards or like devices, i.e. coding of the position of operated keys
- H03M11/20—Dynamic coding, i.e. by key scanning
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Input From Keyboards Or The Like (AREA)
Abstract
The controller of key scanning method and low-voltage electrical apparatus, the key value that relatively more double scanning is obtained if identical key value, then will scan the key value of acquisition and be compared with above acquired twice key value in the follow-up stipulated time;If the key value that once key scan is obtained within the follow-up stipulated time is differed with above acquired twice key value, acquired push-button type is short-press key operation;If the acquired key value of scanning is identical with above acquired twice key value every time within the follow-up stipulated time, acquired push-button type is long-press key operation.The controller of low-voltage electrical apparatus is using key scanning method of the invention.
Description
Technical field
The present invention relates to Low Voltage Electrical Apparatus, the control of more particularly to a kind of key scanning method and low-voltage electrical apparatus
Device.
Background technology
Existing intelligent low-voltage electrical apparatus, includes the control of breaker, frequency converter, contactor, relay etc.
Device, in the scan mode of matrix keyboard, common scan mode is divided into interrupt scanning and timing scan mode,
Interrupt scanning is using keys interrupt signal as scanning entrance, and timing scan is using timing services as scanning entrance.Existing
In some key scans, button disappears, and to tremble all be by the way of the time exhausts disappear trembling;When key value is scanned
Only carry out single progressive scan;When button increases and deletes, it is required for modifying to software, transplants
Property is poor.
In addition, the matrix keyboard of low-voltage electrical apparatus is limited due to space, excessive button can not be generally set,
And each button can only realize single function when in use, lead to not the need for meeting application, or
Need user to carry out multi-pass operation selection, cause user's operation excessively complicated.
The content of the invention
, can be with area it is an object of the invention to overcome the defect of prior art there is provided a kind of key scanning method
Divide the short-press key operation and long-press key operation of same button so that same button can realize different functions,
Additionally provide a kind of controller of low-voltage electrical apparatus.
To achieve the above object, present invention employs following technical scheme:
A kind of key scanning method, the key value that relatively more double scanning is obtained, if identical button
Value, then will scan the key value of acquisition and compared with above acquired twice key value in the follow-up stipulated time;
If the key value that once key scan is obtained within the follow-up stipulated time is pressed with above acquired twice
Key assignments is differed, then acquired push-button type is short-press key operation;If within the follow-up stipulated time every time
The acquired key value of scanning is identical with above acquired twice key value, then acquired push-button type
For long-press key operation.
Further, then it is combination button operation in same time detecting to when having multiple key values simultaneously effective.
Further, when button is long-press key operation, after the key scan time reaches, system continues to button
It is scanned, when the key value scanned changes, then it is assumed that the long keying has been released, this
When acquired push-button type discharge operation for long keying.
Further, each key scan includes preventing the checking of key jitter from scanning, and each key scan includes
Following steps:
Whether a, judgement time of trembling that disappears exhausts, if exhausted, into step b, otherwise repeat step a;
B, obtains specific key value;
C, judges whether the key value obtained is effective;If scanning arrives key value for effective key value,
Step d is carried out, if the key value scanned is invalid key value, then it represents that do not get key value,
The end of scan;
D, judges the touch potential scanned:It is right when the touch potential scanned is not first time
The touch potential scanned carries out reset operation, into step e, when the touch potential scanned is first time,
The key value currently obtained is then preserved, touch potential is identified and setting disappears the time of trembling, into step a;
E, judges the key value currently obtained:When the key value and the last button obtained of acquisition
When being worth identical, the key value scanned, if the key value obtained is different from the key value that the last time obtains,
Then represent that acquisition key value is invalid.
Further, in step e, if the key value obtained is different from the key value that the last time obtains,
For invalid button operation.
A kind of controller of low-voltage electrical apparatus, including key circuit and the control unit that is connected with key circuit, institute
Control unit is stated according to the timing of default sweep time using any described key scan sides of claim 1-5
Method is scanned acquisition key value to key circuit.
Further, the key circuit sends interrupt signal when button is pressed to control unit, and control is single
Member is entered after interrupt signal is received using any described key scanning methods of claim 1-5 to key circuit
Row scanning obtains key value.
Further, the key circuit includes interrupt signal circuit and keyboard circuit, and the keyboard circuit includes
The matrix keyboard of N*N button of arrangement is arranged by N rows N, interrupt signal circuit is used for the output of key value,
The often row button of the matrix keyboard of the N*N button is connected by a horizontal scanning line respectively, and each column is pressed
Key is connected by a column scan line respectively, and the interrupt signal circuit includes first that N number of diode is constituted
Group switching diode and in addition second group of switching diode of N number of diode composition;Second group of switch two
The positive pole of N number of diode of pole pipe is connected with N column scans line respectively, second group of switching diode it is N number of
The one end of the negative pole of diode respectively with resistance R302 is connected, resistance the R302 other end and triode Q301
Base stage connection, triode Q301 colelctor electrode is connected to the N+1 I/O ports KEY_INT, button
Circuit is sent to control unit by the N+1 I/O ports KEY_INT when button is pressed and interrupts letter
Number, triode Q301 grounded emitter;One end of N column scan lines and the N of first group of switching diode
The positive pole connection of individual diode, negative pole and the N horizontal scanning lines of N number of diode of first group of switching diode
Connection, N horizontal scanning lines are connected with N number of I/O ports (KEY_P1 ... ..., KEY_Pn).
Further, when obtaining key value, the I/O ports for needing the corresponding line scanned are first set to output, and
High level is configured to, then remaining I/O port is set to input, the value of each I/O ports is then detected,
Again by value of the numerical value plus the sequence number value, as corresponding line of the row;The key value of N rows is obtained successively, then
The N row key values got are combined into a value, you can obtain multirow key value.
Further, each column scan line of the interrupt signal circuit passes through N number of resistance eutral grounding, described
The controller that N+1 I/O ports KEY_INT passes through the N+1 resistance eutral grounding low-voltage electrical apparatus;In described
Break signal circuit also includes resistance R301, and resistance R301 one end is connected with triode Q301 colelctor electrode,
The other end is connected with power supply.
It is an object of the invention to the defect for overcoming prior art, there is provided a kind of key scanning method and low tension
The controller of device, can distinguish the short-press key operation and long-press key operation of same button so that same button can
To realize different functions, a kind of controller of low-voltage electrical apparatus is additionally provided.
Brief description of the drawings
Fig. 1 is the FB(flow block) of interrupt scanning mode of the present invention;
Fig. 2 is timing scan mode FB(flow block) of the present invention;
Fig. 3 is the flow chart that key scanning method of the present invention obtains key value;
Fig. 4 is the flow chart of another key scanning method of the invention;
Fig. 5 is the circuit diagram of keyboard circuit of the present invention;
Fig. 6 is the circuit diagram of interrupt signal circuit of the present invention.
Embodiment
The embodiment provided below in conjunction with accompanying drawing 1 to 6, further illustrate the present invention key scanning method and
The embodiment of the controller of low-voltage electrical apparatus.The control of the key scanning method and low-voltage electrical apparatus of the present invention
Device is not limited to the following description.
A kind of key scanning method of the present invention, comprises the following steps:
Whether a, judgement time of trembling that disappears exhausts, if exhausted, into step b, otherwise repeat step a;
B, obtains specific key value;
C, judges whether the key value obtained is effective;If scanning arrives key value for effective key value, enter
Row step d, if the key value scanned is invalid key value, then it represents that do not get key value, is scanned
Terminate;
D, judges the touch potential scanned:When the touch potential scanned is not first time, to sweeping
The touch potential and the time of trembling that disappears retouched carry out reset operation, and into step e, the touch potential of scanning is first
When secondary, then the key value currently obtained is preserved, identify touch potential and setting disappears the time of trembling, into step a;
E, judges the key value currently obtained:When the key value and the last key value obtained of acquisition
When identical, the key value scanned, if the key value obtained is different from the key value that the last time obtains,
Then represent that acquisition key value is invalid.
Key scanning method of the present invention, by carrying out double scanning to button, and is confirmed, only
When the key value of double scanning is consistent, button is just thought effectively, sweep interval twice, which is more than, to be pressed
Key shaky time, so that realizing that button disappears trembles function.Here touch potential refers to that internal system is scanned
Touch potential, but be not necessarily that user is actual by multiple button, because using scan mode (every
Every certain time run-down, detected whether that button is pressed), thus the time pushed button when user's single compared with
When sweep interval (exceed) and system actual scanning to touch potential and differed when long.
As shown in figure 1, the first embodiment of the key scanning method of the present invention:Interrupt scanning mode.
(1) after keys interrupt signal is detected, interrupt flag bit is put.
(2) judge whether button time of trembling that disappears exhausts:Exhausted if exhausted when button time of trembling that disappears, scanning tool
The key value of body;Otherwise repeat step (2).
(3) specific key value is obtained.
(4) judge whether the key value obtained is effective:If the key value scanned is effective key value,
Then carry out effective touch potential judgement;If the key value scanned is invalid key value, then it represents that do not obtained
Key value is got, reset operation is carried out to touch potential, scanning flag, interrupt identification.
(5) number of times for carrying out button judges:Button is not when pressing for the first time, to touch potential, scanning
Mark, interrupt identification carry out reset operation;If button preserves pressing of currently obtaining to press for the first time
Key assignments, and scanning flag and interrupt identification resetted, the time of trembling that disappears resets, touch potential plus one, Ran Houjin
Row step (2).
(6) key value currently obtained is judged:When the key value and the last button obtained of acquisition
When being worth identical, key value is cached, in case being used during keystroke handling;If obtain key value with it is upper
The key value once obtained is different, then it represents that obtain key value invalid.
(7) pin function is reconfigured, the pin beyond interrupt pin is all configured to high level output state.
No matter get key value effectively, or it is invalid, it is required for reconfiguring pin function.
(8) now one-touch interrupt scanning terminates.
After keys interrupt signal is detected, interrupt flag bit is put, firm time started T=0 directly carries out first
Secondary key scan, after, it is necessary to which button disappears, the time of trembling exhausts when button confirms scanning again, scanning is specific
Key value.When the key value scanned is effective key value, then the number of times for carrying out button judges that button is simultaneously
It is not when pressing for the first time, reset operation to be carried out to touch potential, scanning flag, interrupt identification, button is
Press for the first time, then preserve the key value currently obtained, and scanning flag, interrupt identification are resetted, disappears and trembles
Time is reset, the confirmation of progress again is scanned.The key value of acquisition is identical with the key value that the last time obtains
When, key value is cached, in case being used during keystroke handling.Get to reconfigure after key value and draw
Pin function, high level output state is all configured to by the pin beyond interrupt pin, and now one-touch is interrupted
The end of scan.
In button acquisition process, when being pressed for one-time detection to button, it is necessary to preserve currently obtain by
Key assignments, and scanning flag and interrupt identification resetted, the time of trembling that disappears resets, touch potential plus one.Lead to afterwards
Cross and carry out one-touch scanning again, play a part of a button in this process and disappear to tremble.
As shown in Fig. 2 second of embodiment of the key scanning method of the present invention:Timing scan mode.
(1) timing scan starts, and system enters scheduled service routines.
(2) judge whether the timing scan time reaches:After reaching the time, specific key value is scanned;If
Time is also not up to, then repeat step (2).
(3) specific key value is obtained.
(4) judge whether the key value obtained is effective:If the key value scanned is effective key value,
The number of times for then carrying out button judges;If the key value scanned is invalid key value, then it represents that do not obtained
To key value.
(5) touch potential judgement is carried out:If button preserves the button currently obtained to press for the first time
Value, and touch potential is added one, then carry out step (2);Button is not for the first time when pressing, to by
Key number of times carries out reset operation, and the effective key value got is judged.
(6) key value currently obtained is judged:When the key value and the last button obtained of acquisition
When being worth identical, key value is cached, used in case being recalled during keystroke handling;If the key value obtained
It is different from the key value that the last time obtains, then it represents that acquisition key value is invalid, reset behaviour is carried out to touch potential
Make.
(7) no matter getting key value effectively, or it is invalid, and now one-touch timing scan processing terminates.
Set Timing Processing service routine in system configuration, timing services start scanning after starting, when by
After the key scanning time reaches, the specific button state of value of scanning is entered.If the key value scanned is effective
During key value, then the number of times for carrying out button judges;If the key value scanned is invalid key value, table
Show and do not get key value.If button is not that when pressing for the first time, reset behaviour is carried out to touch potential
Make, and the effective key value got is judged.When the key value and the last button obtained of acquisition
When being worth identical, key value is cached, used in case being recalled during keystroke handling;If the key value obtained
It is different from the key value that the last time obtains, then it represents that acquisition key value is invalid, reset behaviour is carried out to touch potential
Make.
In button acquisition process, by carrying out one-touch scanning again, play in this process one by
Key disappears the effect trembled.
As shown in figure 3, in the specific acquisition process of key value, key value acquisition process, can obtain wherein
The key value of any a line, can also obtain the key value of wherein several rows, can also obtain pressing for all line numbers
Key assignments, exemplified by obtaining the key value of four rows, as shown in Figure 3:
Obtain the first row key value:First by tetra- I/O ports of KEY-P2, KEY-P3, KEY-P4 and KEY-INT
Be set to input, by KEY-P1 I/O port be set to output, KEY-P1 is set to high level, then detect KEY-P1,
The value of this five I/O ports of KEY-P2, KEY-P3, KEY-P4 and KEY-INT, then the numerical value is added 1, it is
The key value of the first row;
Obtain the second row key value:First by tetra- I/O ports of KEY-P1, KEY-P3, KEY-P4 and KEY-INT
Be set to input, by KEY-P2 I/O port be set to output, KEY-P2 is set to high level, then detect KEY-P1,
The value of this five I/O ports of KEY-P2, KEY-P3, KEY-P4 and KEY-INT, then the numerical value is added 2, it is
The key value of second row;
Obtain the third line key value:First by tetra- I/O ports of KEY-P1, KEY-P2, KEY-P4 and KEY-INT
Be set to input, by KEY-P3 I/O port be set to output, KEY-P3 is set to high level, then detect KEY-P1,
The value of this five I/O ports of KEY-P2, KEY-P3, KEY-P4 and KEY-INT, then the numerical value is added 3, it is
The key value of the third line;
Obtain fourth line key value:First by tetra- I/O ports of KEY-P1, KEY-P2, KEY-P3 and KEY-INT
Be set to input, by KEY-P4 I/O port be set to output, KEY-P4 is set to high level, then detect KEY-P1,
The value of this five I/O ports of KEY-P2, KEY-P3, KEY-P4 and KEY-INT, then the numerical value is added 4, it is
The key value of fourth line;
By the four row key values got, a value is combined into, is the key value finally got.
It is clear that during key value scanning, can be scanned to any one row, or advanced to wherein several
All rows can also be scanned by row scanning.
As shown in figure 4, present invention also offers another key scanning method:Compare continuous scanning twice
The key value of acquisition, if identical key value, then will scan the key value of acquisition in the follow-up stipulated time
Compared with above acquired twice key value;If once key scan is obtained within the follow-up stipulated time
Key value differed with above acquired twice key value, then acquired push-button type is short-press key behaviour
Make;If the acquired key value of scanning is pressed with above acquired twice every time within the follow-up stipulated time
Key assignments is identical, then acquired push-button type is long-press key operation.Key scanning method of the present invention, can be with area
Divide the short-press key operation and long-press key operation of same button so that same button can realize different functions,
Button is saved, cost is reduced.
Because hardware possesses primary condition, the initial key press value when not any button is pressed is used as a nothing
Button is imitated, it, without button operation, is also by detecting that the key value is used as similarly that now corresponding button class, which is,
One of Rule of judgment whether detection button has been released.Similarly, when acquired in the double scanning of system
Though to key value be not belonging to invalid key value, double key value is different, and (explanation is in scanning
Interior button is changed), now, corresponding push-button type is invalid button operation.
Especially, then it is combination button operation in same time detecting to when having multiple key values simultaneously effective.
More various button form can be brought using combination button, so as to realize more functions.
Especially, when button is long-press key operation, after the key scan time reaches, system continues to button
It is scanned, when the key value scanned changes, then it is assumed that the long keying has been released, this
When acquired push-button type discharge operation for long keying.
Present invention also offers a kind of controller for the low-voltage electrical apparatus for realizing above-mentioned key scanning method.Including by
Key circuit and the control unit being connected with key circuit, described control unit is according to the timing of default sweep time
Acquisition key value is scanned to key circuit using above-mentioned key scanning method.The key circuit by
Interrupt signal is sent to control unit when key is pressed, control unit is after interrupt signal is received using above-mentioned
Key scanning method is scanned acquisition key value to key circuit.
As shown in Figure 5,6, the key circuit includes interrupt signal circuit and keyboard circuit, the keyboard electricity
Road includes arranging the matrix keyboard of N*N button of arrangement by N rows N, and interrupt signal circuit is used for key value
Output, the often row button of the matrix keyboard of the N*N button is connected by a horizontal scanning line respectively, often
Row button is connected by a column scan line respectively, and the interrupt signal circuit includes what N number of diode was constituted
First group of switching diode and in addition second group of switching diode of N number of diode composition;Described second group is opened
The positive pole for closing N number of diode of diode is connected with N column scans line respectively, the N of second group of switching diode
The one end of the negative pole of individual diode respectively with resistance R302 is connected, resistance the R302 other end and triode Q301
Base stage connection, triode Q301 colelctor electrode is connected to the N+1 I/O ports KEY_INT, and button is electric
Road sends interrupt signal by the N+1 I/O ports KEY_INT when button is pressed to control unit,
Triode Q301 grounded emitter;One end of N column scan lines and N number of two pole of first group of switching diode
The positive pole connection of pipe, the negative pole of N number of diode of first group of switching diode is connected with N horizontal scanning lines, N rows
Scan line is connected with N number of I/O ports (KEY_P1 ... ..., KEY_Pn).Embodiment interrupt signal in figure
Circuit and keyboard circuit are linked together by line bank between the two to be independently arranged.
Specifically, each column scan line of the interrupt signal circuit passes through N number of resistance eutral grounding, described
N+1 I/O ports KEY_INT passes through the N+1 resistance eutral grounding.The interrupt signal circuit also includes resistance
R301, resistance R301 one end are connected with triode Q301 colelctor electrode, the other end and 3.3v positive sources
Connection.
Specifically, the key value scanned be invalid key value after, pin function is reconfigured, by I/O ends
I/O ports (KEY_P1 ... ..., KEY_Pn) beyond mouth KEY_INT are all configured to high level output shape
State.
Above content is to combine specific preferred embodiment further description made for the present invention, no
It can assert that the specific implementation of the present invention is confined to these explanations.For the common of the technical field of the invention
For technical staff, without departing from the inventive concept of the premise, some simple deductions can also be made or replaced
Change, should all be considered as belonging to protection scope of the present invention.
Claims (10)
1. a kind of key scanning method, it is characterised in that:
Compare the key value that double scanning is obtained, if identical key value, then when will subsequently provide
In the key value that obtains of scanning compared with above acquired twice key value;
If within the follow-up stipulated time once key scan obtain key value with it is above acquired twice
Key value differ, then acquired push-button type be short-press key operation;
If within the follow-up stipulated time every time the acquired key value of scanning with it is above acquired twice
Key value is identical, then acquired push-button type is long-press key operation.
2. key scanning method according to claim 1, it is characterised in that:Arrived in same time detecting
Then it is that combination button is operated when having multiple key values simultaneously effective.
3. key scanning method according to claim 1, it is characterised in that:When button is grasped for long keying
When making, after the key scan time reaches, system continues to be scanned button, when the key value scanned
When changing, then it is assumed that the long keying has been released, now acquired push-button type is released for long keying
Put operation.
4. key scanning method according to claim 1, it is characterised in that:
Each key scan includes preventing the checking of key jitter from scanning, and each key scan comprises the following steps:
Whether a, judgement time of trembling that disappears exhausts, if exhausted, into step b, otherwise repeat step a;
B, obtains specific key value;
C, judges whether the key value obtained is effective;If scanning arrives key value for effective key value,
Step d is carried out, if the key value scanned is invalid key value, then it represents that do not get key value,
The end of scan;
D, judges the touch potential scanned:It is right when the touch potential scanned is not first time
The touch potential scanned carries out reset operation, into step e, when the touch potential scanned is first time,
The key value currently obtained is then preserved, touch potential is identified and setting disappears the time of trembling, into step a;
E, judges the key value currently obtained:When the key value and the last button obtained of acquisition
When being worth identical, the key value scanned, if the key value obtained is different from the key value that the last time obtains,
Then represent that acquisition key value is invalid.
5. key scanning method according to claim 4, it is characterised in that:In step e, if
The key value of acquisition is different from the key value that the last time obtains, then is invalid button operation.
6. a kind of controller of low-voltage electrical apparatus, it is characterised in that:Connect including key circuit and with key circuit
The control unit connect, described control unit is any using claim 1-5 according to the timing of default sweep time
Described key scanning method is scanned acquisition key value to key circuit.
7. the controller of low-voltage electrical apparatus according to claim 6, it is characterised in that:The key circuit
Interrupt signal is sent to control unit when button is pressed, control unit is after interrupt signal is received using power
Profit requires that any described key scanning methods of 1-5 are scanned acquisition key value to key circuit.
8. the controller of low-voltage electrical apparatus according to claim 7, it is characterised in that:The key circuit
Including interrupt signal circuit and keyboard circuit, the keyboard circuit includes N*N that arrangement is arranged by N rows N
The matrix keyboard of button, interrupt signal circuit is used for the output of key value, the matrix of the N*N button
The often row button of keyboard is connected by a horizontal scanning line respectively, and each column button passes through a column scan line respectively
Connection, the interrupt signal circuit includes the first group of switching diode and other N that N number of diode is constituted
Second group of switching diode of individual diode composition;N number of diode of second group of switching diode is just
Pole is connected with N column scans line respectively, the negative pole of N number of diode of second group of switching diode respectively with resistance
R302 one end connection, the resistance R302 other end is connected with triode Q301 base stage, triode Q301
Colelctor electrode be connected to the N+1 I/O ports KEY_INT, key circuit passes through when button is pressed
The N+1 I/O ports KEY_INT sends interrupt signal, triode Q301 transmitting to control unit
Pole is grounded;One end of N column scan lines is connected with the positive pole of N number of diode of first group of switching diode, the
The negative pole of N number of diode of one group of switching diode is connected with N horizontal scanning lines, N horizontal scanning lines with it is N number of
I/O ports (KEY_P1 ... ..., KEY_Pn) are connected.
9. the controller of low-voltage electrical apparatus according to claim 8, it is characterised in that:When obtaining key value,
The I/O ports that will first the corresponding line scanned be needed are set to output, and are configured to high level, then by remaining I/O
Port is set to input, then detects the value of each I/O ports, then by sequence number value of the numerical value plus the row,
The as value of corresponding line;The key value of N rows is obtained successively, then the N row key values got are combined into
One value, you can obtain multirow key value.
10. the controller of low-voltage electrical apparatus according to claim 8, it is characterised in that:It is described to interrupt letter
Each column scan line of number circuit passes through N number of resistance eutral grounding, the N+1 I/O port KEY_INT
Pass through the controller of the N+1 resistance eutral grounding low-voltage electrical apparatus;The interrupt signal circuit also includes resistance R301,
Resistance R301 one end is connected with triode Q301 colelctor electrode, and the other end is connected with power supply.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610167935.8A CN107231157A (en) | 2016-03-23 | 2016-03-23 | The controller of key scanning method and low-voltage electrical apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610167935.8A CN107231157A (en) | 2016-03-23 | 2016-03-23 | The controller of key scanning method and low-voltage electrical apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107231157A true CN107231157A (en) | 2017-10-03 |
Family
ID=59932291
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610167935.8A Pending CN107231157A (en) | 2016-03-23 | 2016-03-23 | The controller of key scanning method and low-voltage electrical apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107231157A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110086457A (en) * | 2019-03-18 | 2019-08-02 | 南京御弟哥哥电气有限公司 | It is a kind of for mechanical key stabilization and the processing method of obstruction |
CN115378439A (en) * | 2022-08-03 | 2022-11-22 | 河南翔宇医疗设备股份有限公司 | Key reuse control method and device, electronic equipment and medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2669264Y (en) * | 2004-01-02 | 2005-01-05 | 广东科龙电器股份有限公司 | Keyboard scanning circuit |
CN1867133A (en) * | 2006-03-08 | 2006-11-22 | 华为技术有限公司 | Method for preventing mobile terminal earphone keystroke mis-operation and mobile terminal |
CN201656956U (en) * | 2010-02-01 | 2010-11-24 | 广东欧珀电子工业有限公司 | A/D type key circuit |
CN103279197A (en) * | 2013-06-08 | 2013-09-04 | 湖南工业大学 | Keyboard scanning positioning method |
CN103546165A (en) * | 2013-10-15 | 2014-01-29 | 深圳市凌启电子有限公司 | Key sampling method and system and related equipment |
CN203683950U (en) * | 2013-12-25 | 2014-07-02 | 绍兴文理学院 | Anti-shake system |
CN104184479A (en) * | 2014-07-31 | 2014-12-03 | 山东神戎电子股份有限公司 | De-jittering button detection method capable of avoiding omission of events |
-
2016
- 2016-03-23 CN CN201610167935.8A patent/CN107231157A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2669264Y (en) * | 2004-01-02 | 2005-01-05 | 广东科龙电器股份有限公司 | Keyboard scanning circuit |
CN1867133A (en) * | 2006-03-08 | 2006-11-22 | 华为技术有限公司 | Method for preventing mobile terminal earphone keystroke mis-operation and mobile terminal |
CN201656956U (en) * | 2010-02-01 | 2010-11-24 | 广东欧珀电子工业有限公司 | A/D type key circuit |
CN103279197A (en) * | 2013-06-08 | 2013-09-04 | 湖南工业大学 | Keyboard scanning positioning method |
CN103546165A (en) * | 2013-10-15 | 2014-01-29 | 深圳市凌启电子有限公司 | Key sampling method and system and related equipment |
CN203683950U (en) * | 2013-12-25 | 2014-07-02 | 绍兴文理学院 | Anti-shake system |
CN104184479A (en) * | 2014-07-31 | 2014-12-03 | 山东神戎电子股份有限公司 | De-jittering button detection method capable of avoiding omission of events |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110086457A (en) * | 2019-03-18 | 2019-08-02 | 南京御弟哥哥电气有限公司 | It is a kind of for mechanical key stabilization and the processing method of obstruction |
CN115378439A (en) * | 2022-08-03 | 2022-11-22 | 河南翔宇医疗设备股份有限公司 | Key reuse control method and device, electronic equipment and medium |
CN115378439B (en) * | 2022-08-03 | 2024-04-16 | 河南翔宇医疗设备股份有限公司 | Control method and device for key multiplexing, electronic equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20110316725A1 (en) | Scanning circuit and method for keyboard | |
CN102185613B (en) | Membrane keyboard scanning circuit, scanning method thereof and keyboard | |
CN102594362A (en) | Key circuit based on analog-digital conversion | |
CN107231157A (en) | The controller of key scanning method and low-voltage electrical apparatus | |
CN104360814A (en) | Electronic equipment and unlocking method thereof | |
CN103901791A (en) | Response key touch operating method and device and electronic device | |
CN105071816B (en) | A kind of high efficiency quick key scan method | |
CN109998180A (en) | Electronic cigarette | |
CN2669264Y (en) | Keyboard scanning circuit | |
CN104251971A (en) | Button detection circuit | |
CN108768364A (en) | A kind of power switch button circuit | |
CN101192760A (en) | Remote digital switch control system and method | |
CN107231156A (en) | The controller of key scanning method and low-voltage electrical apparatus | |
CN103414574B (en) | PoE equipment and output power control method thereof | |
CN107529057B (en) | Television set stews machine test method, system and storage medium | |
CN209046611U (en) | A kind of power switch button circuit | |
CN109117400A (en) | A kind of interface automatic switching control equipment and method | |
WO2017016200A1 (en) | Standby control circuit and display device | |
CN210867651U (en) | Three-line key scanning device for T-type scanning key expansion | |
WO2015172502A1 (en) | Monitoring circuit and electronic device | |
CN214473649U (en) | Detection circuit and electronic equipment | |
CN102857231A (en) | Key testing circuit | |
CN211528666U (en) | Line switcher and line switching device | |
CN203399090U (en) | Indicating lamp/key port-multiplexing circuit | |
CN103686010A (en) | ADC port simulation multi-IO-port key input device, television-system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171003 |