CN203870425U - I/o port time division multiplexing circuit - Google Patents
I/o port time division multiplexing circuit Download PDFInfo
- Publication number
- CN203870425U CN203870425U CN201420263443.5U CN201420263443U CN203870425U CN 203870425 U CN203870425 U CN 203870425U CN 201420263443 U CN201420263443 U CN 201420263443U CN 203870425 U CN203870425 U CN 203870425U
- Authority
- CN
- China
- Prior art keywords
- resistance
- resistor
- mouth
- resistance value
- led
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 210000000214 Mouth Anatomy 0.000 claims description 35
- 238000001514 detection method Methods 0.000 abstract description 4
- 230000000694 effects Effects 0.000 description 2
- 238000002955 isolation Methods 0.000 description 2
- 238000000034 method Methods 0.000 description 2
- 230000002688 persistence Effects 0.000 description 2
- 239000008358 core component Substances 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000006011 modification reaction Methods 0.000 description 1
- XUIMIQQOPSSXEZ-UHFFFAOYSA-N silicon Chemical compound [Si] XUIMIQQOPSSXEZ-UHFFFAOYSA-N 0.000 description 1
- 229910052710 silicon Inorganic materials 0.000 description 1
- 239000010703 silicon Substances 0.000 description 1
- 230000004083 survival Effects 0.000 description 1
Abstract
The utility model discloses an I/O port time division multiplexing circuit, comprising a single-chip microcomputer. An I/O port of the single-chip microcomputer is connected with a resistor R2 and an LED in sequence and is then connected with the ground; a connecting end of the resistor R2 and the LED is provided with two leads, one of the leads is connected to a positive electrode of a power supply through a resistor R1, and the other lead is connected with a resistor R3 and a key in sequence and is then connected with the ground; and the resistance value of the resistor R1 is more than 500 times that of the resistor R2, the resistance value of the resistor R1 is more than 1000 times that of the LED, and the resistance value of the resistor R1 is more than 5 times that of the resistor R2. The I/O port time division multiplexing circuit in the utility model utilizes a port of the single-chip microcomputer, and has the advantages of being used for key detection while not affecting an LED output control function.
Description
Technical field
The utility model relates to control circuit, especially relates to a kind of I/O mouth time-sharing multiplex circuit.
Background technology
Control panel is one of core component of various household electrical appliance, most of specific formula function is all to lean on these parts to realize, in a sense, the quality of control panel, quality and the life-span of household electrical appliance have been determined, the gate of the quality monitoring of having controlled control panel, the survival and development of Shi Ge great control panel enterprise basic.Sometimes in an electrical equipment, need to arrange a lot of different circuit units, therefore this means the integrated level that will improve as much as possible circuit, yet for the pin on integrated circuit, due to the finiteness of silicon area and the limitation of manufacturing process, number of pins increase will far lag behind the raising of circuit level, so it is well-designed that each on-chip pin needs to carry out, how applying efficiently each pin is the problem that designer will face.
Summary of the invention
For overcoming existing shortcoming, the utility model object is to provide a kind of and designs its output and be input as the multiplex circuit without circuit unit at an one-chip machine port.
The utility model is realized by following technical measures, and a kind of I/O mouth time-sharing multiplex circuit, comprises single-chip microcomputer, and an I/O mouth of described single-chip microcomputer is ground connection after contact resistance R2 and LED successively; The link of described resistance R 2 and LED is provided with two lead-in wires, a lead-in wire is connected to the positive pole of power supply by resistance R 1, another root ground connection after contact resistance R3 and button that goes between successively, the resistance value of described resistance R 1 is the more than 500 times of resistance R 2, the resistance value of described resistance R 1 is the more than 1000 times of LED, and the resistance value of described resistance R 1 is the more than 5 times of resistance R 2.
As a kind of optimal way, the resistance value of described resistance R 1 is 470K Ω, and the resistance value of described resistance R 2 is 470 Ω, and the resistance value of described resistance R 3 is 47K Ω.
As a kind of optimal way, a plurality of I/O mouths of described single-chip microcomputer are all connected with I/O mouth time-sharing multiplex circuit.
In the utility model, I/O mouth, in output state, now, when I/O mouth is output as high level, has electric current to pass through in LED1 at ordinary times, lights LED1, when I/O mouth is output as low level, does not have electric current to pass through in LED1, and LED1 extinguishes.When needs detect button, I/O mouth is converted into input state, and when button is not pressed, A point is high level, and I/O mouth now being detected is high level; When button is pressed, electric current draws ground by R1, and now A point is low level, and I/O mouth now being detected is low level; Electric current in LED1 flows through LED1 from 5V power supply through resistance R 1 simultaneously, because the resistance value of resistance R 1 is LED1 more than 1000 times, flow through the undercurrent of LED1 in lighting it, and button detection only needs several instructions, when carrying out, detect after instruction, I/O mouth is converted into output state at once, due to the persistence of vision of human eye, can in button detects, not find the variation of LED1; In this circuit, R3 can have the effect of isolation button S1, and when button S1 does not disconnect, LED1 still can light or extinguish according to the output order of I/O mouth.
Accompanying drawing explanation
Fig. 1 is the circuit theory diagrams of the utility model embodiment.
Embodiment
Below in conjunction with embodiment and contrast accompanying drawing the utility model is described in further detail.
A kind of I/O mouth time-sharing multiplex circuit 100, with reference to figure 1, comprises single-chip microcomputer, and an I/O mouth of described single-chip microcomputer is ground connection after contact resistance R2 and LED1 successively; The link of described resistance R 2 and LED1 is provided with two lead-in wires, a lead-in wire is connected to the positive pole of power supply by resistance R 1, another root ground connection after contact resistance R3 and button S1 that goes between successively, the resistance value of described resistance R 1 is the more than 500 times of resistance R 2, the resistance value of described resistance R 1 is the more than 1000 times of LED1, and the resistance value of described resistance R 1 is the more than 5 times of resistance R 2.
In this circuit, I/O mouth, in output state, now, when I/O mouth is output as high level, has electric current to pass through in LED1 at ordinary times, lights LED1, when I/O mouth is output as low level, does not have electric current to pass through in LED1, and LED1 extinguishes.When needs detect button, I/O mouth is converted into input state, and when button is not pressed, A point is high level, and I/O mouth now being detected is high level; When button is pressed, electric current draws ground by R1, and now A point is low level, and I/O mouth now being detected is low level; Electric current in LED1 flows through LED1 from 5V power supply through resistance R 1 simultaneously, because the resistance value of resistance R 1 is LED1 more than 1000 times, flow through the undercurrent of LED1 in lighting it, and button detection only needs several instructions, when carrying out, detect after instruction, I/O mouth is converted into output state at once, due to the persistence of vision of human eye, can in button detects, not find the variation of LED1; In this circuit, R3 can have the effect of isolation button S1, and when button S1 does not disconnect, LED1 still can light or extinguish according to the output order of I/O mouth.
The I/O mouth time-sharing multiplex circuit of the present embodiment, please refer to Fig. 1, specifically can also be specifically on the basis of previous technique scheme, and the resistance value of resistance R 1 is 470K Ω, and the resistance value of resistance R 2 is 470 Ω, and the resistance value of described resistance R 3 is 47K Ω.
The I/O mouth time-sharing multiplex circuit of the present embodiment can also be specifically that a plurality of I/O mouths of single-chip microcomputer are all connected with I/O mouth time-sharing multiplex circuit on the basis of previous technique scheme.Thereby can control a plurality of LED lamps and carry out the detection of many places button.
More than that the utility model I/O mouth time-sharing multiplex circuit is set forth; be used for helping to understand the utility model; but embodiment of the present utility model is not restricted to the described embodiments; anyly do not deviate from the change done under the utility model principle, modification, substitute, combination, simplify; all should be equivalent substitute mode, within being included in protection domain of the present utility model.
Claims (3)
1. an I/O mouth time-sharing multiplex circuit, is characterized in that: comprise single-chip microcomputer, an I/O mouth of described single-chip microcomputer is ground connection after contact resistance R2 and LED successively; The link of described resistance R 2 and LED is provided with two lead-in wires, a lead-in wire is connected to the positive pole of power supply by resistance R 1, another root ground connection after contact resistance R3 and button that goes between successively, the resistance value of described resistance R 1 is the more than 500 times of resistance R 2, and it is more than 1000 times that the resistance value of described resistance R 1 is LED.
2. I/O mouth time-sharing multiplex circuit according to claim 1, is characterized in that: the resistance value of described resistance R 1 is 470K Ω, and the resistance value of described resistance R 2 is 470 Ω, and the resistance value of described resistance R 3 is 47K Ω.
3. I/O mouth time-sharing multiplex circuit according to claim 1, is characterized in that: a plurality of I/O mouths of described single-chip microcomputer are all connected with I/O mouth time-sharing multiplex circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201420263443.5U CN203870425U (en) | 2014-05-22 | 2014-05-22 | I/o port time division multiplexing circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201420263443.5U CN203870425U (en) | 2014-05-22 | 2014-05-22 | I/o port time division multiplexing circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
CN203870425U true CN203870425U (en) | 2014-10-08 |
Family
ID=51651356
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201420263443.5U Active CN203870425U (en) | 2014-05-22 | 2014-05-22 | I/o port time division multiplexing circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN203870425U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105024680A (en) * | 2015-07-20 | 2015-11-04 | 广东格兰仕集团有限公司 | Data sending and button detection multiplexing circuit and processing method of program thereof |
-
2014
- 2014-05-22 CN CN201420263443.5U patent/CN203870425U/en active Active
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105024680A (en) * | 2015-07-20 | 2015-11-04 | 广东格兰仕集团有限公司 | Data sending and button detection multiplexing circuit and processing method of program thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2017503520A (en) | Battery assembly for electronic cigarette, electronic cigarette and control method thereof | |
PH12014501455A1 (en) | Power supply connection structure device | |
CN203786244U (en) | Electrical wiring line checking device | |
CN203870425U (en) | I/o port time division multiplexing circuit | |
CN204719206U (en) | Electromagnetic relay proving installation | |
CN104701692B (en) | Do not have a power failure and change table plug seat | |
CN203748082U (en) | LED fluorescent lamp safety device | |
CN202652594U (en) | Light emitting diode driver possessing protection path | |
CN203084132U (en) | Cable short circuit detection device | |
CN202204898U (en) | Cable on-off detection device | |
CN205427087U (en) | Cable tester | |
CN204989414U (en) | Direct current 24V proximity switch debugs structure | |
CN203324414U (en) | Twisted-pair cable on-off tester | |
CN103207320B (en) | Capacitive detection circuit | |
CN104808101B (en) | A kind of detection circuit for voice-frequency cable | |
CN204629189U (en) | The carefree Christmans light string of a kind of LED multiple combination | |
CN205336580U (en) | Constant current LED lamp and constant -current drive circuit thereof | |
CN104703319A (en) | Detection circuit and lighting equipment | |
CN103687239B (en) | Fastoon lighting controller | |
CN205029131U (en) | Socket | |
CN103701172B (en) | A kind of charging gun | |
CN206323607U (en) | Capacitance-resistance step down type LED drive circuit | |
CN201656152U (en) | Safety socket | |
CN203310950U (en) | Power supply detector of water heater | |
CN206685095U (en) | A kind of LED boards controller |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: 518132 Guangdong province Shenzhen Guangming New District Gongming Street office Yu Tong Tian Liao community with the concept of road nineteen, road 10, Jiuzhou Industrial Park Building 1, floor 802 Patentee after: Shenzhen Fei Rui Polytron Technologies Inc Address before: 518000 Guangdong city of Shenzhen province Baoan District Shiyan town Tangtou village Longma industrial city A1 Building 5 floor Patentee before: SHENZHEN F&R ELECTRONICS TECHNOLOGY CO., LTD. |
|
CP03 | Change of name, title or address |