CN203616606U - Independent button and LED display reuse circuit - Google Patents
Independent button and LED display reuse circuit Download PDFInfo
- Publication number
- CN203616606U CN203616606U CN201320879978.0U CN201320879978U CN203616606U CN 203616606 U CN203616606 U CN 203616606U CN 201320879978 U CN201320879978 U CN 201320879978U CN 203616606 U CN203616606 U CN 203616606U
- Authority
- CN
- China
- Prior art keywords
- port
- led
- connects
- button
- resistance
- 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 - Lifetime
Links
- 239000011159 matrix material Substances 0.000 claims abstract description 6
- 101000746134 Homo sapiens DNA endonuclease RBBP8 Proteins 0.000 claims description 26
- 101000969031 Homo sapiens Nuclear protein 1 Proteins 0.000 claims description 26
- 102100021133 Nuclear protein 1 Human genes 0.000 claims description 26
- 101150080085 SEG1 gene Proteins 0.000 claims description 14
- 101100421134 Schizosaccharomyces pombe (strain 972 / ATCC 24843) sle1 gene Proteins 0.000 claims description 14
- 101100202858 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) SEG2 gene Proteins 0.000 claims description 11
- 238000000034 method Methods 0.000 description 3
- -1 COM2 Proteins 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
Images
Landscapes
- Control Of El Displays (AREA)
- Input From Keyboards Or The Like (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
Abstract
The utility model discloses an independent button and LED display reuse circuit. The reuse circuit comprises an independent button circuit and an LED display circuit. The independent button circuit comprises a plurality of buttons combined in a matrix mode. Each button circuit is composed of a button and a resistor in series. In the LED display circuit, each LED lamp circuit is composed of an LED lamp. A plurality of LED lamp circuits are connected in parallel, and then connected with a diode and a resistor in series. The reuse circuit solves the problem well that how to achieve reuse of I/O ports when I/O ports are not enough in a one-chip microcomputer display button control circuit. The reuse circuit has characteristics of simple structure, convenient programming, strong practicality and the like.
Description
Technical field
The utility model relates to electrical application technology field, more specifically, relates to the multiplex circuit that a kind of independent button and LED show.
Background technology
In general, most of Single Chip Microcomputer (SCM) system all be can't do without keyboard and are shown these two parts, and keyboard is user's operating platform, shows and reflects the state that user operates.In traditional design, be all generally Keysheet module and separately design of display module, clear in structure like this, Software for Design is simple.But in the time that I/O mouth is not enough, conventionally solve by the method for expansion I/O mouth, but generally need to expand by increasing chip, when hardware cost requires in harsh situation, this design concept is just difficult to adapt to its requirement.
Utility model content
In order to overcome above-mentioned the deficiencies in the prior art, the utility model proposes the multiplex circuit that a kind of independent button and LED show, make display section and key part common port, timesharing demonstration and key scan, can solve the problem of hardware cost preferably.
The purpose of this utility model can be by reaching by the following technical solutions:
The multiplex circuit that independent button and LED show, is connected in SEG port and COM port, comprises independent key circuit and LED display circuit;
Described independent key circuit comprises that some roads are by the button of matrix-style combination, and every road button is composed in series by a button and a resistance, and button one end, each road is connected to COM port, and the other end is connected to SEG port by resistance;
Described LED display circuit comprises several LEDs and diode, the array mode of LED is matrix form, the positive pole of LED connects COM port, and the positive pole of LED connects the positive pole of diode, and the negative pole of diode is connected to SEG port by resistance.
Be connected in 3 SEG ports and 2 COM port, 3 SEG ports are respectively SEG1 port ~ SEG3 port, and 2 COM port are respectively COM1 port, COM2 port;
Described multiplex circuit comprises 2 × 3 road key circuits, comprises button K1 ~ K6, LED 1 ~ LED6, diode D1 ~ D3 and resistance R 1 ~ R9,
Wherein being connected to of independent key circuit:
Be connected in series resistance R 2 and button K1 mono-termination COM2 port, the other end connects SEG1 port by resistance R 1, is connected in series resistance R 5 and button K4 mono-termination COM1 port, and the other end connects SEG1 port by resistance R 1,
Be connected in series resistance R 3 and button K2 mono-termination COM2 port, the other end connects SEG2 port by resistance R 8, is connected in series resistance R 6 and button K5 mono-termination COM1 port, and the other end connects SEG2 port by resistance R 8,
Be connected in series resistance R 4 and button K3 mono-termination COM2 port, the other end connects SEG3 port by resistance R 9, is connected in series resistance R 7 and button K6 mono-termination COM1 port, and the other end connects SEG3 port by resistance R 9,
The connected mode of LED display circuit is:
The positive pole of LED 1 connects COM2 port, and the positive pole of LED 4 connects COM1 port, and the negative pole of LED 1, LED4 connects the positive pole of diode D1, and the negative pole of diode D1 connects SEG1 port by resistance R 1;
The positive pole of LED 2 connects COM2 port, and the positive pole of LED 5 connects COM1 port, and the negative pole of LED 2, LED5 connects the positive pole of diode D2, and the negative pole of diode D2 connects SEG2 port by resistance R 8;
The positive pole of LED 3 connects COM2 port, and the positive pole of LED 6 connects COM1 port, and the negative pole of LED 2, LED6 connects the positive pole of diode D3, and the negative pole of diode D3 connects SEG3 port by resistance R 9.
Compared with prior art, of the present utility model have a following beneficial effect: 1, practical: in the situation that I/O mouth is limited, this circuit can be saved Single Chip Microcomputer (SCM) system I/O mouth resource, and application is wide; 2, simple in structure, programming is convenient: this circuit adopts the connected mode of matrix form, and algorithm is simple, easily realizes.
Accompanying drawing explanation
Fig. 1 is circuit theory diagrams of the present utility model.
Embodiment
Below in conjunction with accompanying drawing, the utility model is further described, but embodiment of the present utility model is not limited to this.
As Fig. 1, the multiplex circuit that a kind of independent button and LED show, is connected in 3 SEG ports and 2 COM port, comprises independent key circuit 2 and LED display circuit 1;
Wherein 3 SEG ports are respectively SEG1 port ~ SEG3 port, and 2 COM port are respectively COM1 port, COM2 port;
Described multiplex circuit comprises 2 × 3 road key circuits, comprises button K1 ~ K6, LED 1 ~ LED6, diode D1 ~ D3 and resistance R 1 ~ R9,
Wherein being connected to of independent key circuit:
Be connected in series resistance R 2 and button K1 mono-termination COM2 port, the other end connects SEG1 port by resistance R 1, is connected in series resistance R 5 and button K4 mono-termination COM1 port, and the other end connects SEG1 port by resistance R 1,
Be connected in series resistance R 3 and button K2 mono-termination COM2 port, the other end connects SEG2 port by resistance R 8, is connected in series resistance R 6 and button K5 mono-termination COM1 port, and the other end connects SEG2 port by resistance R 8,
Be connected in series resistance R 4 and button K3 mono-termination COM2 port, the other end connects SEG3 port by resistance R 9, is connected in series resistance R 7 and button K6 mono-termination COM1 port, and the other end connects SEG3 port by resistance R 9,
The connected mode of LED display circuit is:
The positive pole of LED 1 connects COM2 port, and the positive pole of LED 4 connects COM1 port, and the negative pole of LED 1, LED4 connects the positive pole of diode D1, and the negative pole of diode D1 connects SEG1 port by resistance R 1;
The positive pole of LED 2 connects COM2 port, and the positive pole of LED 5 connects COM1 port, and the negative pole of LED 2, LED5 connects the positive pole of diode D2, and the negative pole of diode D2 connects SEG2 port by resistance R 8;
The positive pole of LED 3 connects COM2 port, and the positive pole of LED 6 connects COM1 port, and the negative pole of LED 2, LED6 connects the positive pole of diode D3, and the negative pole of diode D3 connects SEG3 port by resistance R 9.
The every road of described independent key circuit button is composed in series by a button and a resistance, and some roads button combines according to matrix-style, is finally connected to SEG mouth by a resistance.Described LED display circuit is made up of LED lamp and diode, and some paths of LEDs lamps are first in parallel, and then receive on diode, and array mode is also matrix form, finally by being connected to SEG mouth with resistance of key-press sharing.
The principle of work of the present embodiment:
As Fig. 1, this example circuit has only provided a kind of 2 × 3 matrix array mode, has 6 buttons, and 6 LED lamps, take 5 I/O mouths, are respectively COM1, COM2, SEG1, SEG2 and SEG3 mouth.Keyboard scan and demonstration timesharing are carried out, first carry out key scan, COM port or COM device or COM1 is set to output logic level 0, COM2 mouth is set to the not mode with pull-up resistor of input, SEG1, SEG2 and SEG3 mouth are set to the mode of input tape pull-up resistor, now can read K1, the state of K2 and K3 button, and preserve, then COM port or COM device or COM1 is set to the not mode with pull-up resistor of input, COM2 mouth is set to output logic level 0, the state of each SEG mouth is constant, now can read K4, the state of K5 and K6 button, by reading the process of button for above twice, can read the state of all buttons, and support many buttons, diode D1, the effect of D2 and D3 is to prevent in the process of reading button, reverse electric current causes LED lamp secretly bright.After key scan, start to carry out the demonstration operation of LED lamp, first COM port or COM device or COM1 is set to the not mode with pull-up resistor of input, COM2 mouth is set to output logic level 0, and SEG mouth is all set to the way of output, now can control the state of LED1-LED3, LED4-LED6 all extinguishes, need to light any paths of LEDs, by corresponding SEG mouth output logic level 0, on the contrary output logic level 1.Then COM port or COM device or COM1 is set to output logic level 0, COM2 mouth is set to the not mode with pull-up resistor of input, now can control the state of LED4-LED6, and LED1-LED3 all extinguishes, and control mode is identical with LED1-LED4.Send aobviously by above twice, can control the state of all LED lamps.Be exactly more than the principle of work of this 2 × 3 type independence button and LED lamp time-sharing multiplex circuit, and can, by the quantity of expansion SEG mouth and com port, increase the quantity of control object.
The above; it is only preferably specific embodiment of the utility model; but protection domain of the present utility model is not limited to this; any be familiar with those skilled in the art the utility model disclose scope in; be equal to replacement or changed according to the technical solution of the utility model and utility model design thereof, all being belonged to protection domain of the present utility model.
Claims (2)
1. the multiplex circuit that independent button and LED show, is connected in SEG port and COM port, it is characterized in that, comprises independent key circuit and LED display circuit;
Described independent key circuit comprises that some roads are by the button of matrix-style combination, and every road button is composed in series by a button and a resistance, and button one end, each road is connected to COM port, and the other end is connected to SEG port by resistance;
Described LED display circuit comprises several LEDs and diode, the array mode of LED is matrix form, the positive pole of LED connects COM port, and the positive pole of LED connects the positive pole of diode, and the negative pole of diode is connected to SEG port by resistance.
2. independent button according to claim 1 and LED show multiplex circuit, it is characterized in that, be connected in 3 SEG ports and 2 COM port, 3 SEG ports are respectively SEG1 port ~ SEG3 port, and 2 COM port are respectively COM1 port, COM2 port;
Described multiplex circuit comprises 2 × 3 road key circuits, comprises button K1 ~ K6, LED 1 ~ LED6, diode D1 ~ D3 and resistance R 1 ~ R9,
Wherein being connected to of independent key circuit:
Be connected in series resistance R 2 and button K1 mono-termination COM2 port, the other end connects SEG1 port by resistance R 1, is connected in series resistance R 5 and button K4 mono-termination COM1 port, and the other end connects SEG1 port by resistance R 1,
Be connected in series resistance R 3 and button K2 mono-termination COM2 port, the other end connects SEG2 port by resistance R 8, is connected in series resistance R 6 and button K5 mono-termination COM1 port, and the other end connects SEG2 port by resistance R 8,
Be connected in series resistance R 4 and button K3 mono-termination COM2 port, the other end connects SEG3 port by resistance R 9, is connected in series resistance R 7 and button K6 mono-termination COM1 port, and the other end connects SEG3 port by resistance R 9,
The connected mode of LED display circuit is:
The positive pole of LED 1 connects COM2 port, and the positive pole of LED 4 connects COM1 port, and the negative pole of LED 1, LED4 connects the positive pole of diode D1, and the negative pole of diode D1 connects SEG1 port by resistance R 1;
The positive pole of LED 2 connects COM2 port, and the positive pole of LED 5 connects COM1 port, and the negative pole of LED 2, LED5 connects the positive pole of diode D2, and the negative pole of diode D2 connects SEG2 port by resistance R 8;
The positive pole of LED 3 connects COM2 port, and the positive pole of LED 6 connects COM1 port, and the negative pole of LED 2, LED6 connects the positive pole of diode D3, and the negative pole of diode D3 connects SEG3 port by resistance R 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201320879978.0U CN203616606U (en) | 2013-12-30 | 2013-12-30 | Independent button and LED display reuse circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201320879978.0U CN203616606U (en) | 2013-12-30 | 2013-12-30 | Independent button and LED display reuse circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
CN203616606U true CN203616606U (en) | 2014-05-28 |
Family
ID=50769237
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201320879978.0U Expired - Lifetime CN203616606U (en) | 2013-12-30 | 2013-12-30 | Independent button and LED display reuse circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN203616606U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109243362A (en) * | 2018-11-13 | 2019-01-18 | 江苏沁恒股份有限公司 | LED display driving and keyboard turntable driving multiplex circuit and its driving multiplexing method |
-
2013
- 2013-12-30 CN CN201320879978.0U patent/CN203616606U/en not_active Expired - Lifetime
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109243362A (en) * | 2018-11-13 | 2019-01-18 | 江苏沁恒股份有限公司 | LED display driving and keyboard turntable driving multiplex circuit and its driving multiplexing method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN201369471Y (en) | Multi-functional safe energy-saving timing socket | |
CN204155589U (en) | A kind of simple and easy 16 row 32 row lattice display screen controllers | |
CN203596162U (en) | Energy-saving LED display screen | |
CN203616606U (en) | Independent button and LED display reuse circuit | |
CN203931456U (en) | A kind of LED display sweep circuit | |
CN201903858U (en) | Mouse pad | |
CN204884343U (en) | Automatic guide singlechip experiment teaching board of student's line | |
CN203535931U (en) | Drive circuit of LED or nixie tube | |
CN202285168U (en) | Novel nixie tube with driver board | |
CN203645893U (en) | Multi LED display circuit based on single chip microcomputer less port control | |
CN201654394U (en) | Subarea backlight display device | |
CN202149931U (en) | Simple three-state LED display circuit for indicating work states | |
CN203165417U (en) | Short message control LED display screen | |
CN203659264U (en) | 51 single-chip microprocessor learning board | |
CN207966260U (en) | A kind of four road question-and-answer game apparatus for d type flip flop teaching | |
CN204791732U (en) | Novel molecular structure demonstrates model | |
CN201462666U (en) | Meteor lamp | |
CN204632310U (en) | A kind of charactron scanning system of practicality | |
CN202795852U (en) | Electric solenoid displaying current direction | |
CN204948461U (en) | A kind of single-chip I/O mouth drive many array LEDs lamp board | |
CN204117562U (en) | A kind of charactron panel and key control circuit | |
CN103500549A (en) | Driving circuit and driving method of LED or nixie tube | |
CN203984391U (en) | A kind of single-chip microcomputer shares scanning circuit with button and indicator light simultaneously | |
CN203632650U (en) | Matrix key scanning circuit | |
CN202077237U (en) | LED lamp and control circuit of lamp string |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CX01 | Expiry of patent term |
Granted publication date: 20140528 |
|
CX01 | Expiry of patent term |