CN202150851U - Button scanning system - Google Patents

Button scanning system Download PDF

Info

Publication number
CN202150851U
CN202150851U CN201120242716U CN201120242716U CN202150851U CN 202150851 U CN202150851 U CN 202150851U CN 201120242716 U CN201120242716 U CN 201120242716U CN 201120242716 U CN201120242716 U CN 201120242716U CN 202150851 U CN202150851 U CN 202150851U
Authority
CN
China
Prior art keywords
button
mouth
group
scanning system
utility
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.)
Expired - Fee Related
Application number
CN201120242716U
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.)
SHENZHEN MAXMADE TECHNOLOGY CO LTD
Original Assignee
SHENZHEN MAXMADE 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 SHENZHEN MAXMADE TECHNOLOGY CO LTD filed Critical SHENZHEN MAXMADE TECHNOLOGY CO LTD
Priority to CN201120242716U priority Critical patent/CN202150851U/en
Application granted granted Critical
Publication of CN202150851U publication Critical patent/CN202150851U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

The utility model discloses a button scanning system, including a controller and a first group of buttons. The controller includes N IO ports, wherein N is not less than 2. The N IO ports include an output IO port for emitting signals and N-1 input IO ports for receiving signals in the first period. Wherein the first terminal of each button in the first group of buttons is respectively connected with the output IO port, and the second terminal of the each button in the first group of buttons is respectively connected with at least one of the N-1 input IO ports. With the enforcement of the technology scheme provided in the utility model, when the buttons required to be used is many, the IO port number of the controller does not required being expanded, thereby hardware is not required being added, the cost is reduced, and the IO port resource of the controller is largely saved.

Description

A kind of keyboard scanning system
Technical field
The utility model relates to key scan, relates in particular to a kind of keyboard scanning system.
Background technology
Keyboard scanning system is used quite extensive in present electronic product as man-machine interface.In existing keyboard scanning system; Normally button needs IO (input output, input and output) mouthful an of correspondence of controller, at button more for a long time; Controller just needs more IO port; And the quantity of the IO mouth of controller is very limited usually, therefore needs to increase hardware and expands the IO port, and cost is higher.
The utility model content
The technical problem that the utility model will solve is that the above-mentioned increase hardware expanding IO defect of high cost to prior art provides a kind of keyboard scanning system, need not increase hardware cost, and cost is low.
The utility model solves the technical scheme that its technical problem adopted: construct a kind of keyboard scanning system; It is characterized in that; Comprise controller and first group of button, said controller comprises N IO mouth, N >=2; Said N IO mouth comprises an output IO mouth that is used to transmit and N-1 input IO mouth that is used to receive signal in first period; Wherein, first end of each button in first group of button connects output IO mouth respectively, and second end of each button in first group of button connects said N-1 at least one that import in the IO mouth respectively.
At the described keyboard scanning system of the utility model; Said keyboard scanning system also comprises second group of button; And said N IO mouth is input IO mouth in second period; Wherein, first end of each button in second group of button is ground connection respectively, and second end of each button in second group of button connects said N at least one that import in the IO mouth respectively.
Implement the technical scheme of the utility model, under the more situation of the button that need use, need not the IO mouth quantity of extending controller, therefore, need not increase hardware, reduced cost, and saved the resource of the IO mouth of controller greatly.
Description of drawings
To combine accompanying drawing and embodiment that the utility model is described further below, in the accompanying drawing:
Fig. 1 is the partial circuit figure of the embodiment one of the utility model keyboard scanning system;
Fig. 2 is another part circuit diagram of the embodiment one of the utility model keyboard scanning system;
Fig. 3 is a part of circuit diagram of the embodiment two of the utility model keyboard scanning system;
Fig. 4 is another part circuit diagram of the embodiment two of the utility model keyboard scanning system.
Embodiment
In the embodiment one of the utility model keyboard scanning system; This keyboard scanning system comprises controller and first group of button, and controller comprises N IO mouth, N >=2; This N IO mouth comprises an output IO mouth that is used to transmit and N-1 input IO mouth that is used to receive signal in first period; Wherein, first end of each button in first group of button connects output IO mouth respectively, and second end of each button in first group of button connects said N-1 at least one that import in the IO mouth respectively.Through implementing this technical scheme; When the quantity of the IO of controller mouth is N (N>=2), the quantity of the button that can scan for (
Figure 2011202427164100002DEST_PATH_IMAGE001
+
Figure 188839DEST_PATH_IMAGE002
+... +
Figure DEST_PATH_IMAGE003
) individual.Carry out detailed explanation below.
As shown in Figure 1, in the partial circuit figure of the embodiment one of the utility model keyboard scanning system, N IO mouth be respectively K1, K2 ..., Kn.First group of button comprise the 11, the 1 group 12 of the one one group ..., a 1N of N group.And each group includes (N-1) individual button.Be that example describes only below with the one one group 11.In the one one group 11; IO mouth K1 is output IO mouth; IO mouth K2, K3 ..., Kn is input IO mouth; First end of (N-1) the individual button in the one one group 11 connects output IO mouth through the counnter attack diode respectively, second end of (N-1) the individual button in the one one group 11 is corresponding respectively connect other (N-1) individual input IO mouth K2, K3 ..., Kn.When this keyboard scanning system work, for example, if when IO mouth K1 is output IO mouth (output low level), scanning IO mouth K3 is low level, explains that then button SW1 supresses.Will be understood that other group is similar with it, repeat no more.So
Figure 981346DEST_PATH_IMAGE001
individual button can be scanned altogether in N group.
As shown in Figure 2, in another part circuit diagram of the embodiment one of the utility model keyboard scanning system, this part be an IO mouth with controller as output IO mouth, other any two IO mouths scan button as input IO mouth.For example shown in Figure 2, IO mouth K3 is output IO mouth, and IO mouth K1, K2 are input IO mouth, and first end of button SW2 meets IO mouth K3 through counnter attack diode (not shown), and second end of button SW2 connects IO mouth K1, K2 through two counnter attack diodes respectively.When this keyboard scanning system work, for example,, scan IO mouth K1, K2 and be low level simultaneously if when IO mouth K3 is output IO mouth (output low level), explain that then button SW2 supresses.Will be understood that; Fig. 2 only shows a button, can realize that the quantity of scanning button is that
Figure 72667DEST_PATH_IMAGE002
is individual altogether by similar connected mode.
Principle according to Fig. 1 and Fig. 2 is analogized, the quantity of the button that can scan altogether for (
Figure 530194DEST_PATH_IMAGE001
+
Figure 344566DEST_PATH_IMAGE002
+... +
Figure 980078DEST_PATH_IMAGE003
) individual.
In the embodiment two of the utility model keyboard scanning system; Except that the mode by embodiment one is provided with the scanning button, can also the scanning button be set following mode, this keyboard scanning system also comprises second group of button; And this N IO mouth is input IO mouth in second period; Wherein, first end of each button in second group of button is ground connection respectively, and second end of each button in second group of button connects said N at least one that import in the IO mouth respectively.Like this; The quantity of the button that can scan is individual for ; Wherein (
Figure 508328DEST_PATH_IMAGE001
+ +... +
Figure 544472DEST_PATH_IMAGE003
) individual button is please with reference to the description of preceding text; Do not do at this and to give unnecessary details, only explanation below (
Figure DEST_PATH_IMAGE005
+
Figure 111851DEST_PATH_IMAGE006
+... +
Figure DEST_PATH_IMAGE007
+
Figure 222764DEST_PATH_IMAGE003
) connected mode of individual button.
As shown in Figure 3, in the partial circuit figure of the embodiment two of the utility model keyboard scanning system, in the circuit diagram of this part button, first end of N button in second group of button is ground connection respectively, and second end of N button connects one of them IO mouth respectively.When the work of this keyboard scanning system, for example, if N IO mouth K1, K2, K3 ..., when Kn is input IO mouth, scanning IO mouth K4 is low level, explains that then button SW3 supresses.The scanning theory that will be understood that other button is similar with it, repeats no more.
As shown in Figure 4; In another part circuit diagram of the embodiment two of the utility model keyboard scanning system; Each all is an end ground connection in the button among Fig. 2; The other end connects any two in N the IO mouth through the counnter attack diode respectively, and the quantity that can realize key scan like this is for
Figure 808466DEST_PATH_IMAGE006
.When the work of this keyboard scanning system, for example, if N IO mouth K1, K2, K3 ..., when Kn is input IO mouth, scan IO mouth K2, K4 is a low level, explains that then button SW4 supresses.
Principle according to Fig. 3 and Fig. 4 is analogized; The quantity of the button that can scan altogether for (
Figure 238310DEST_PATH_IMAGE005
+
Figure 355302DEST_PATH_IMAGE006
+... +
Figure 942010DEST_PATH_IMAGE007
+ ); Add the button that is provided with among the embodiment one; So; In the keyboard scanning system of this embodiment, the number of keys that can scan altogether is individual for
Figure 982964DEST_PATH_IMAGE004
.
In sum; The technical scheme of the utility model is the state that the IO of controller was set through a plurality of periods in a work period; As, be input IO mouth entirely at first a period N IO mouth, be output IO mouth at the second interval I O mouth K1; Remaining IO mouth is input IO mouth; Be output IO mouth at the 3rd interval I O mouth K2, remaining IO mouth can scan individual button altogether for input IO mouth or the like; Need not increase hardware, cost reduction, and the resource of having saved the IO mouth of controller greatly.For example; If the controller of portable DVD player has 4 IO mouths, the number of keys that then can be provided with is
Figure 603750DEST_PATH_IMAGE008
=43 buttons.
The preferred embodiment that the above is merely the utility model is not limited to the utility model, and for a person skilled in the art, the utility model can have various changes and variation.All within the spirit and principle of the utility model, any modification of being done, be equal to replacement, improvement etc., all should be included within the claim scope of the utility model.

Claims (2)

1. a keyboard scanning system is characterized in that, comprises controller and first group of button; Said controller comprises N IO mouth; N >=2, said N IO mouth comprises an output IO mouth that is used to transmit and N-1 input IO mouth that is used to receive signal in first period, wherein; First end of each button in first group of button connects output IO mouth respectively, and second end of each button in first group of button connects said N-1 at least one that import in the IO mouth respectively.
2. keyboard scanning system according to claim 1; It is characterized in that; Said keyboard scanning system also comprises second group of button, and said N IO mouth be input IO mouth in second period, wherein; First end of each button in second group of button is ground connection respectively, and second end of each button in second group of button connects said N at least one that import in the IO mouth respectively.
CN201120242716U 2011-07-11 2011-07-11 Button scanning system Expired - Fee Related CN202150851U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201120242716U CN202150851U (en) 2011-07-11 2011-07-11 Button scanning system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201120242716U CN202150851U (en) 2011-07-11 2011-07-11 Button scanning system

Publications (1)

Publication Number Publication Date
CN202150851U true CN202150851U (en) 2012-02-22

Family

ID=45591901

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201120242716U Expired - Fee Related CN202150851U (en) 2011-07-11 2011-07-11 Button scanning system

Country Status (1)

Country Link
CN (1) CN202150851U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108768406A (en) * 2018-07-03 2018-11-06 珠海进田电子科技有限公司 A kind of New Type of Chip Microcomputer key scanning circuit
CN109698705A (en) * 2019-01-09 2019-04-30 上海中基国威电子股份有限公司 A kind of multi-thread key judges system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108768406A (en) * 2018-07-03 2018-11-06 珠海进田电子科技有限公司 A kind of New Type of Chip Microcomputer key scanning circuit
CN109698705A (en) * 2019-01-09 2019-04-30 上海中基国威电子股份有限公司 A kind of multi-thread key judges system

Similar Documents

Publication Publication Date Title
CN101800551B (en) Gradually-appoximant analog-digital converter
CN103480153A (en) Method for simulating computer gamepad with smartphone
CN202150851U (en) Button scanning system
CN104464613B (en) Light emitting diode driving system and control method
CN2669264Y (en) Keyboard scanning circuit
CN202364197U (en) Button detection and LED control circuit
CN203133754U (en) KVM board card based on server provided with CPCI framework
CN109347483B (en) Control circuit for IO shared by touch key and nixie tube
CN202772872U (en) Circuit design structure for scanning of keyboard and expansion reuse of IO port
AU2008200997B2 (en) A conversion circuit
US8253604B2 (en) Keyboard scanning circuit
CN204229149U (en) Touch key-press driving circuit and the control desk be made up of it
CN102346556A (en) Hybrid key module
CN204231406U (en) A kind of Multifunction cross of the quick-setting based on toggle switch is changed planes
CN210295320U (en) Doorbell with Bluetooth function
CN202841104U (en) Button detection circuit
CN103971571A (en) Experiment board for multi-machine system of single-chip microcomputer
CN201063523Y (en) Flashboard type controller case device for high voltage frequency converter
TWI256772B (en) Data converter with background auto-zeroing via active interpolation
CN203632687U (en) Switching circuit for communication encryption
CN202998073U (en) Keyboard scanning circuit
CN201364568Y (en) Electronic whiteboard system adopting multifunctional digital keyboard
CN204131504U (en) A kind of key circuit of real-time detection button trigger state and game paddle
CN202306198U (en) Circuit for processing control signals of control panel and key recognition circuit
CN201255865Y (en) Keyboard interface circuit

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120222

Termination date: 20160711