CN203870425U - I/o port time division multiplexing circuit - Google Patents

I/o port time division multiplexing circuit Download PDF

Info

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.)
Expired - Lifetime
Application number
CN201420263443.5U
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 F&r Technologies Co ltd
Original Assignee
SHENZHEN F&R ELECTRONICS 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 F&R ELECTRONICS TECHNOLOGY Co Ltd filed Critical SHENZHEN F&R ELECTRONICS TECHNOLOGY Co Ltd
Priority to CN201420263443.5U priority Critical patent/CN203870425U/en
Application granted granted Critical
Publication of CN203870425U publication Critical patent/CN203870425U/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)

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

I/O mouth time-sharing multiplex circuit
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.
CN201420263443.5U 2014-05-22 2014-05-22 I/o port time division multiplexing circuit Expired - Lifetime CN203870425U (en)

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 Expired - Lifetime 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)

* Cited by examiner, † Cited by third party
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

Cited By (1)

* Cited by examiner, † Cited by third party
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
CN101778510B (en) LED signal indicator light and multipath LED drive circuits thereof
CN204719206U (en) Electromagnetic relay proving installation
PH12014501455A1 (en) Power supply connection structure device
CN203674524U (en) Luminous USB data line
CN203870425U (en) I/o port time division multiplexing circuit
CN107404783B (en) Ad hoc network color lamp device and color lamp system based on the control of power supply line edge signal
CN104701692B (en) Do not have a power failure and change table plug seat
CN202652594U (en) Light emitting diode driver possessing protection path
CN203748082U (en) LED fluorescent lamp safety device
CN207662993U (en) A kind of detection device of feeder ear wiring condition, conduction charging system and electric vehicle
CN206432517U (en) A kind of plug for measuring power outlet phase sequence
CN202204898U (en) Cable on-off detection device
CN203084132U (en) Cable short circuit detection device
CN206162499U (en) Indicator lamp circuit of data transmission device
CN204989414U (en) Direct current 24V proximity switch debugs structure
CN103207320B (en) Capacitive detection circuit
CN205280807U (en) Circuit arrangement with electrification of ground wire detects function
CN201178214Y (en) LED light identification apparatus for AC electricity source socket/ plug
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
CN204089160U (en) There is the circuit of miniature electric leakage circuit breaker of pre paid functionality
CN205029131U (en) Socket
CN203720298U (en) A network tester
CN201656152U (en) Safety socket

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 F&R TECHNOLOGIES CO.,LTD.

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
CX01 Expiry of patent term

Granted publication date: 20141008