CN102868392A - Portability key circuit - Google Patents

Portability key circuit Download PDF

Info

Publication number
CN102868392A
CN102868392A CN2011101882602A CN201110188260A CN102868392A CN 102868392 A CN102868392 A CN 102868392A CN 2011101882602 A CN2011101882602 A CN 2011101882602A CN 201110188260 A CN201110188260 A CN 201110188260A CN 102868392 A CN102868392 A CN 102868392A
Authority
CN
China
Prior art keywords
access unit
transplantable
button
electrically connected
key
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.)
Granted
Application number
CN2011101882602A
Other languages
Chinese (zh)
Other versions
CN102868392B (en
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.)
Guangdong Vanward New Electric Co Ltd
Original Assignee
Guangdong Vanward New Electric 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 Guangdong Vanward New Electric Co Ltd filed Critical Guangdong Vanward New Electric Co Ltd
Priority to CN201110188260.2A priority Critical patent/CN102868392B/en
Publication of CN102868392A publication Critical patent/CN102868392A/en
Application granted granted Critical
Publication of CN102868392B publication Critical patent/CN102868392B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electronic Switches (AREA)

Abstract

The invention discloses a portability key circuit which comprises a central control chip, a power supply, a pull-up resistor and a plurality of divider resistors with different resistances, wherein the plurality of divider resistors are connected with each other in parallel; parallel-connected ends of the plurality of divider resistors are electrically connected with the pull-up resistor and an AD (analog-to-digital) port of the central control chip; the portability key circuit is characterized by further comprising a universal key access unit, wherein the universal key access unit is electrically connected with the other ends of the plurality of divider resistors. The universal key access unit is used for acquiring information of touch keys or key switches; and the portability key circuit has the characteristics of good portability and circuit cost saving.

Description

Transplantable button circuit
Technical field
The present invention relates to a kind of Transplantable button circuit, relate in particular to a kind of for the key circuit on the household electrical appliance such as water heater, burnt gas wall hanging furnace, smoke exhaust ventilator, gas-cooker, disinfection cabinet.
Background technology
In existing household electrical appliance, key circuit is widely used on all kinds of display control board assemblies, and wherein touch key-press has wide application space and the market demand as a kind of new interface of man-machine interaction.In the existing key circuit, common key switch need to be realized by different circuit structures from the touch key-press switch, therefore if must carry out again wiring to circuit in the time of need to changing the common key-press switching circuit into the touch key-press switch, thereby there is portable poor, the relatively high defective of circuit cost, in order to overcome these defectives, the key circuit of portability is developed.
Summary of the invention
Technical problem to be solved by this invention is that a kind of Transplantable button circuit will be provided, and has stronger portability, characteristics that circuit cost is low.
The technical scheme that the present invention solves its technical problem employing is: it comprises center-control chip, power supply, the pull-up resistor divider resistance different with some resistances, described some divider resistances are connected in parallel to each other, the parallel connected end of some divider resistances is electrically connected with the AD mouth of pull-up resistor and center-control chip, it is characterized in that it also comprises general button access unit, described general button access unit is electrically connected with the other end of some divider resistances, and described general button access unit is used for gathering touch key-press or key switch information.
Described general button access unit comprises power vd D, touch chip IC 1, resistance R 4, capacitor C 4, the current limliting filter branch identical with touch key-press quantity, one end of described current limliting filter branch is electrically connected with touch key-press, the other end is electrically connected with the CS mouth that touches chip IC 1, the output that touches chip IC 1 is electrically connected with the other end of several divider resistances, described limiting filter circuit comprises current-limiting resistance and filter capacitor in parallel, described resistance R 4 one ends are electrically connected with the RBIAS mouth that touches chip IC 1, other end ground connection, described capacitor C 4 is connected on the two poles of the earth of power vd D.
Described general button access unit comprises the key switch identical with divider resistance quantity, an end ground connection of described key switch, and the other end is electrically connected with the other end of described some divider resistances.
Described general button access unit is positioned on the display control board.
The quantity of described key switch and touch key-press is 2~7.
Described power vd D is 3~5V.
The present invention compares the beneficial effect that produces with prior art: because the structure that invention adopts general button place in circuit to be electrically connected with the other end of some divider resistances, thereby when changing the common key-press switch into the touch key-press switch, only the output of touch key-press switch place in circuit need be linked to each other with the other end of some divider resistances and get final product, need not to change the wiring of primary circuit, thereby have the advantages that portability is good, save the circuit development cost.
Further, because general button access unit is the touch key-press treatment circuit, a plurality of buttons only need by a plurality of limiting filter circuits and touch chip just can process touch key-press information, and when increasing or reduce number of keys, the number that only needs correspondingly to increase or reduce the current limliting filter branch gets final product, thereby has simple, the portable strong characteristics of circuit.
Further, because the structure that general button access unit adopts a plurality of key switches to be electrically connected with a plurality of divider resistances respectively, and when increasing or reduce number of keys, the number that only needs correspondingly to increase or reduce divider resistance gets final product, thereby has simple, the portable strong characteristics of circuit.
Description of drawings: Fig. 1 is circuit theory diagrams of the present invention.
Fig. 2 is a kind of embodiment circuit diagram of the present invention.
Fig. 3 is another kind of embodiment circuit diagram of the present invention.
Fig. 4 is workflow diagram of the present invention.
Fig. 5 is the workflow diagram of general button access unit 3 among Fig. 2.
Embodiment: referring to accompanying drawing 1, the present invention includes center-control chip 2, general button access unit 3, power supply, the pull-up resistor divider resistance different with some resistances, described some divider resistances are connected in parallel to each other, the parallel connected end of some divider resistances is electrically connected with the AD mouth of pull-up resistor and center-control chip 2, general button access unit 3 is electrically connected with the other end of some divider resistances, and general button access unit 3 is used for gathering touch key-press or common key switch information.
Referring to accompanying drawing 2, the touch key-press quantity of present embodiment is 3, present embodiment comprises 3 touch key-presss 1, central processing element 2, general button access unit 3, resistance R 5, pull-up resistor R6, divider resistance R7, R8, R9, capacitor C 5, power vd D, divider resistance R7, R8, three dividing potential drop branch roads of R9 formation in parallel, and divider resistance R7, R8, the resistance of R9 is different, mainly obtain different magnitudes of voltage by different resistances, pull-up resistor R6 is mainly used in the effect of drawing high, capacitor C 5 is connected between the AD mouth and earth terminal of center-control chip 2, be used for filtering, capacitor C 5 is positioned near the center-control chip 2 simultaneously, the circuit between C5 and center-control chip 2 can reduce owing to may produce again coupled interference, center-control chip 2 is the single-chip microcomputer with the AD mouth, and model can be: PIC16F73 or PIC16F883 or PIC16F884 or PIC16F886.General button access unit 3 comprises resistance R 1, R2, R3, R4, capacitor C 1, C2, C3, C4, power vd D and touch chip IC 1, resistance R 1 and capacitor C 1 compose in parallel a current limliting filter branch, the parallel end connection of resistance R 1 and C1 is to the CS1 port (input) that touches chip, the other end of resistance R 1 is electrically connected with touch key-press 1, the other end ground connection of capacitor C 1, resistance R 2 and capacitor C 2 in parallel, resistance R 3 and capacitor C 3 form respectively the current limliting filter branch, resistance R 4 is electrically connected with the RBIAS port (Adjustment of sensitivity port) that touches chip IC 1, other end ground connection, resistance R 4 is pull down resistor, namely effective when low level, the two ends that are connected on power vd D of capacitor C 4, capacitor C 4 is filter capacitor, the model of described touch chip IC 1 is: TS04 or TS06 or TS08 or TS16, power vd D is for touching the required voltage of chip IC 1, and power vd D is 3~5V, reduces circuit cost thereby can reduce like this power consumption.
The quantity of touch key-press 1 also can be 2~7, when the touch key-press number is 2, only need reduce in the above-described embodiments that a limiting filter circuit branch road and a divider resistance get final product in the general button access unit 3, and as key number n during greater than 3, only need to increase in the above-described embodiments (n-3) bar limiting filter circuit branch road and (n-3) individual divider resistance get final product, select simultaneously that input port is the model of key number in the touch chip IC 1.
Accompanying drawing 3 is comprised of several common key switches 4 for general button access unit 3, one end ground connection of key switch 4, the other end links to each other with the other end of divider resistance, when any common key switch 4 is pressed, the divider resistance of these key switch 4 correspondences, pull-up resistor and power vd D form the loop, thereby the parallel connected end at divider resistance forms a magnitude of voltage, compares the function that realizes button thereby the AD mouth of central processing element 2 samples the magnitude of voltage of this magnitude of voltage and inner setting.The quantity of the common key-press switch 4 of present embodiment is 3, the quantity of key switch button 4 also can be 2~7, when the key switch number is 2, only need reduce in the above-described embodiments by a divider resistance gets final product, and as key number n during greater than 3, only need to increase in the above-described embodiments (n-3) individual divider resistance and get final product.
Center-control chip 2, pull-up resistor R6, divider resistance R7, R8, R9, capacitor C 5, power vd D are arranged on the control board, general button access unit 3 can be arranged in the master board, also can be arranged on the display control board, in the time of on being arranged on display control board, when general button access unit 3 is changed to touch key-press by common key switch, only need to be arranged on touch key-press unit on the display panel and link to each other with the center-control chip by wire and get final product, can conveniently process like this.
Referring to accompanying drawing 4, the present invention starts from step 200, then enters step 201: the initialization setting, central control chip 2 and touch chip IC 1 are carried out the initialization setting; Then enter step 202: keyboard scan, begin to scan each pin of center-control chip 2, in step 203, if there is not button to press, just enter step 204: counter is carried out zero clearing process and then get back to step 202; If when having button to press (the AD mouth that detects center-control chip 2 has input signal), then enter step 205, be that counter just begins to begin to add 1 by 0, according to the length (generally calculating with Millisecond) of time, button continues not put, and counter just continues to add 1, then enter step 206, if when counting was less than N in the counter, present embodiment N was 2, enters step 204; When counting is more than or equal to N in the counter, center-control chip 2 judges that this button is not to be that shake is pressed for having a mind to press, like this multiple scanning, can remove the erroneous judgement actions such as unnecessary shake-up and buffeting, enter step 207: carry out the A/D conversion, be the discrete digital value with the analog voltage consolidation of different range section, then enter step 208, judge whether the A/D conversion is complete, if do not change complete, then get back to step 207, if change completely, then enter step 209, judged whether to change N1 time that arranges, N1 is 25 in the present embodiment, if also do not reach N1 time of setting, then gets back to step 207, otherwise enter step 210, get N1 time mean value, can reduce like this on the circuit flow-disturbing to the interference of level, reduce the False Rate of 2 pairs of keypress functions of center-control chip.Then enter step 211, the digital quantity corresponding with the function key of setting in the center-control chip 2 by the digital quantity after will changing compares, then enter step 212, realize the function of this button entering at last step 213: process ends according to the button of judging.
Referring to accompanying drawing 5, general button access unit 3 is the course of work of touch key-press processing unit among the present invention: step 300: after powering on, enter step 301: touch chip IC 1 and adjust standard frequency, in step 302, human body (electrified body) touches the touch spring, and capacitance voltage changes, thereby in step 303: be lower than standard frequency, frequency descends, output low level; In step 304: when human body (electrified body) leaves, capacitance voltage changes, and causes step 305: be higher than standard frequency, frequency rises, the output high level; Step 307: level descends and to be considered a touch action with this process of rising, if button is invalid, then enters step 306, search rate again, and get back to step 302 after comparing with standard frequency; If button is effective, then enter step 308: touch chip IC 1 in the output port OUT of correspondence output control signal, this control signal is low level signal.Then enter step 309: the divider resistance that the output port of output low level signal is corresponding, pull-up resistor R6 and power vd D form the loop, thereby the contact at divider resistance and pull-up resistor R6 forms analog voltage, because the resistance of divider resistance is different, thereby the magnitude of voltage that different delivery outlets is corresponding different, enter step 310: the center-control chip carries out the AD conversion, ends at step 311.
The course of work of the workflow of the present invention when the quantity of touch key-press 1 and key switch 4 is 2~7, general button access unit 3 is the same with the accompanying drawing 5 described courses of work with above-mentioned accompanying drawing 4.

Claims (10)

1. Transplantable button circuit, it comprises center-control chip (2), power supply, the pull-up resistor divider resistance different with some resistances, described some divider resistances are connected in parallel to each other, the parallel connected end of some divider resistances is electrically connected with the AD mouth of pull-up resistor and center-control chip (2), it is characterized in that it also comprises general button access unit (3), described general button access unit (3) is electrically connected with the other end of some divider resistances, and described general button access unit (3) is used for gathering touch key-press or key switch information.
2. Transplantable button circuit according to claim 1, it is characterized in that described general button access unit (3) comprises power vd D, touch chip IC 1, resistance R 4, capacitor C 4, the current limliting filter branch identical with touch key-press (1) quantity, one end of described current limliting filter branch is electrically connected with touch key-press (1), the other end is electrically connected with the CS mouth that touches chip IC 1, the output that touches chip IC 1 is electrically connected with the other end of several divider resistances, described limiting filter circuit comprises current-limiting resistance and filter capacitor in parallel, described resistance R 4 one ends are electrically connected with the RBIAS mouth that touches chip IC 1, other end ground connection, described capacitor C 4 is connected on the two poles of the earth of power vd D.
3. Transplantable button circuit according to claim 1, it is characterized in that described general button access unit (3) comprises the key switch (4) identical with divider resistance quantity, one end ground connection of described key switch (4), the other end is electrically connected with the other end of described some divider resistances.
4. each described Transplantable button circuit is characterized in that described general button access unit (3) is positioned on the display control board according to claim 1~3.
5. each described Transplantable button circuit is characterized in that the quantity of described touch key-press (1) and key switch (4) is 2~7 according to claim 1~3.
6. Transplantable button circuit according to claim 4 is characterized in that the quantity of described touch key-press (1) and key switch (4) is 2~7.
7. Transplantable button circuit according to claim 1 and 2 is characterized in that described power vd D is 3~5V.
8. each described Transplantable button circuit is characterized in that the model of described center-control chip (2) is: PIC16F73 or PIC16F883 or PIC16F884 or PIC16F886 according to claim 1~3.
9. Transplantable button circuit according to claim 4 is characterized in that the model of described center-control chip (2) is: PIC16F73 or PIC16F883 or PIC16F884 or PIC16F886.
10. Transplantable button circuit according to claim 2 is characterized in that the model of the touch chip IC 1 in the described general button access unit (3) is: TS04 or TS06 or TS08 or TS16.
CN201110188260.2A 2011-07-06 2011-07-06 Portability key circuit Active CN102868392B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110188260.2A CN102868392B (en) 2011-07-06 2011-07-06 Portability key circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110188260.2A CN102868392B (en) 2011-07-06 2011-07-06 Portability key circuit

Publications (2)

Publication Number Publication Date
CN102868392A true CN102868392A (en) 2013-01-09
CN102868392B CN102868392B (en) 2014-11-26

Family

ID=47447028

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110188260.2A Active CN102868392B (en) 2011-07-06 2011-07-06 Portability key circuit

Country Status (1)

Country Link
CN (1) CN102868392B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104080234A (en) * 2013-03-28 2014-10-01 林万炯 Touching and keying integrated LED driver
CN104461035A (en) * 2014-11-10 2015-03-25 深圳市元征科技股份有限公司 MCU keyboard circuit capable of enabling multiple keys to be pressed simultaneously and implementation method thereof
CN106452453A (en) * 2016-09-23 2017-02-22 中国地质大学(武汉) Row/column matrix keyboard interface circuit and row/column matrix keyboard scanning method
CN106936443A (en) * 2017-04-25 2017-07-07 航天科技控股集团股份有限公司 The control circuit of multiple key switches is controlled with A/D modes
CN108768372A (en) * 2018-05-04 2018-11-06 京东方科技集团股份有限公司 A kind of key circuit, printed circuit board and display device
CN109859978A (en) * 2019-03-14 2019-06-07 北京福田戴姆勒汽车有限公司 A kind of rocker switch and the vehicle with it
CN110244874A (en) * 2019-06-17 2019-09-17 深圳创维-Rgb电子有限公司 A kind of voltage conversion system, method, electronic equipment and storage medium
CN113055780A (en) * 2021-04-02 2021-06-29 广东朝阳电子科技股份有限公司 Parallel input port expansion circuit sharing temperature detection port of Bluetooth headset

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201178046Y (en) * 2007-12-29 2009-01-07 深圳和而泰智能控制股份有限公司 Press-key array
CN101795139A (en) * 2010-01-27 2010-08-04 中山市嘉科电子有限公司 Method and circuit for detecting press key
CN101800557A (en) * 2009-02-10 2010-08-11 阿尔派株式会社 Key input device and key input identification method thereof
CN201577081U (en) * 2009-12-18 2010-09-08 宁波舜韵电子有限公司 Capacitive touch induction key circuit
CN201797503U (en) * 2010-08-26 2011-04-13 深圳市瑞来宝科技有限公司 Touch key of partial pressure capacitor
CN201859203U (en) * 2010-11-03 2011-06-08 中航华东光电有限公司 Key detection circuit of a singlechip or microprocessor with an analog-digital converter
CN202210787U (en) * 2011-07-06 2012-05-02 广东万和新电气股份有限公司 Transplantable button circuit

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201178046Y (en) * 2007-12-29 2009-01-07 深圳和而泰智能控制股份有限公司 Press-key array
CN101800557A (en) * 2009-02-10 2010-08-11 阿尔派株式会社 Key input device and key input identification method thereof
CN201577081U (en) * 2009-12-18 2010-09-08 宁波舜韵电子有限公司 Capacitive touch induction key circuit
CN101795139A (en) * 2010-01-27 2010-08-04 中山市嘉科电子有限公司 Method and circuit for detecting press key
CN201797503U (en) * 2010-08-26 2011-04-13 深圳市瑞来宝科技有限公司 Touch key of partial pressure capacitor
CN201859203U (en) * 2010-11-03 2011-06-08 中航华东光电有限公司 Key detection circuit of a singlechip or microprocessor with an analog-digital converter
CN202210787U (en) * 2011-07-06 2012-05-02 广东万和新电气股份有限公司 Transplantable button circuit

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104080234A (en) * 2013-03-28 2014-10-01 林万炯 Touching and keying integrated LED driver
CN104080234B (en) * 2013-03-28 2016-08-17 赛尔富电子有限公司 A kind of touch key-press integral LED driver
CN104461035A (en) * 2014-11-10 2015-03-25 深圳市元征科技股份有限公司 MCU keyboard circuit capable of enabling multiple keys to be pressed simultaneously and implementation method thereof
CN104461035B (en) * 2014-11-10 2017-06-20 深圳市元征科技股份有限公司 Many buttons can be processed while the MCU keyboard circuits pressed and its implementation
CN106452453A (en) * 2016-09-23 2017-02-22 中国地质大学(武汉) Row/column matrix keyboard interface circuit and row/column matrix keyboard scanning method
CN106936443A (en) * 2017-04-25 2017-07-07 航天科技控股集团股份有限公司 The control circuit of multiple key switches is controlled with A/D modes
CN108768372A (en) * 2018-05-04 2018-11-06 京东方科技集团股份有限公司 A kind of key circuit, printed circuit board and display device
CN108768372B (en) * 2018-05-04 2022-04-22 京东方科技集团股份有限公司 Key circuit, printed circuit board and display device
CN109859978A (en) * 2019-03-14 2019-06-07 北京福田戴姆勒汽车有限公司 A kind of rocker switch and the vehicle with it
CN109859978B (en) * 2019-03-14 2024-05-31 北京福田戴姆勒汽车有限公司 Rocker switch and vehicle with same
CN110244874A (en) * 2019-06-17 2019-09-17 深圳创维-Rgb电子有限公司 A kind of voltage conversion system, method, electronic equipment and storage medium
CN113055780A (en) * 2021-04-02 2021-06-29 广东朝阳电子科技股份有限公司 Parallel input port expansion circuit sharing temperature detection port of Bluetooth headset
CN113055780B (en) * 2021-04-02 2023-03-07 广东朝阳电子科技股份有限公司 Parallel input port expansion circuit sharing temperature detection port of Bluetooth headset

Also Published As

Publication number Publication date
CN102868392B (en) 2014-11-26

Similar Documents

Publication Publication Date Title
CN102868392B (en) Portability key circuit
CN103472752A (en) Infrared multiple-gear hand gesture recognition switch and infrared multiple-gear hand gesture recognition method
CN103684407A (en) Otg device
CN202210787U (en) Transplantable button circuit
CN105306038A (en) Capacitive sensing touch control key and key judging method thereof
CN101907961B (en) Realizing method of capacitance type inductive key, inductive key circuit and keyboard
CN200956611Y (en) Keyboard detecting circuit and television receiver with same
CN203708214U (en) One button-type control circuit and display equipment
CN102487277B (en) Induction installation and inducing method
CN105425927B (en) More key reset circuits and electronic product with reset key
CN201904772U (en) Touch-control type button control device for TV set
CN107295333B (en) A kind of display equipment and its control method
CN203102155U (en) Keyboard
CN104992635A (en) Touch control nixie tube
CN205232189U (en) Touch circuit
CN205017293U (en) Electric capacity response touch key
CN207232950U (en) Time-sharing multiplex is connected in series circuit
CN203278792U (en) Structure capable of realizing switching function of mechanical key by means of capacitive touch detection chip
CN209462561U (en) A kind of no key control device and earphone
CN204832862U (en) Touch button's jam -proof circuit
CN207382278U (en) A kind of more key combination hardware reset circuits and electronic product
CN209982462U (en) Network access switch circuit
CN205301900U (en) Switch
CN206542389U (en) A kind of capacitance touch button detects circuit
CN204833939U (en) Touch charactron

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant