CN109121255A - A kind of control circuit controlling the operation of two LED light using single I/O port - Google Patents

A kind of control circuit controlling the operation of two LED light using single I/O port Download PDF

Info

Publication number
CN109121255A
CN109121255A CN201811170592.6A CN201811170592A CN109121255A CN 109121255 A CN109121255 A CN 109121255A CN 201811170592 A CN201811170592 A CN 201811170592A CN 109121255 A CN109121255 A CN 109121255A
Authority
CN
China
Prior art keywords
led light
output end
resistance
control circuit
port
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
CN201811170592.6A
Other languages
Chinese (zh)
Other versions
CN109121255B (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.)
Shenzhen Elink Smart Co Ltd
Original Assignee
Shenzhen Elink Smart 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 Elink Smart Co Ltd filed Critical Shenzhen Elink Smart Co Ltd
Priority to CN201811170592.6A priority Critical patent/CN109121255B/en
Publication of CN109121255A publication Critical patent/CN109121255A/en
Application granted granted Critical
Publication of CN109121255B publication Critical patent/CN109121255B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)
  • Led Devices (AREA)

Abstract

The present invention provides a kind of control circuit that the operation of two LED light is controlled using single I/O port, including the central processor unit for carrying out I/O port signal output, the LED running control circuit unit that is connected with the IO output end of the central processor unit;The LED running control circuit unit includes No.1 LED light, No. two LED light, resistance R3 and NPN type triode Q1, the input terminal of the No.1 LED light, No. two LED light and resistance R3 all connects supply voltage VDD, and the output end of No. two LED light is connected with the collector of NPN type triode Q1;The emitter of the NPN type triode connects publicly, and base stage is connected with the output end of resistance R3;It is also connected with a diode D3 between the output end of the No.1 LED light and the output end of resistance R3, in actual moving process, control circuit of the invention can not only save the resource of I/O port, and circuit is simple, can save a MOSFET control, and integrated level is high.

Description

A kind of control circuit controlling the operation of two LED light using single I/O port
[technical field]
The present invention relates to LED light control circuit technical field, more particularly to a kind of can to save significantly on cost, integrated level high The control circuit of two LED light operation is controlled using single I/O port.
[background technique]
The method that conventional one-piece machine drives LED light, substantially working principle are as follows: when MCU IO1 output is high, Q11 foot voltage To be low, Q1 conducting, there is voltage at the both ends LED1 at this time, so lamp is bright, such circuit design makes single I/O port that can only control one The operation of a LED light, however, the I/O port of single-chip microcontroller is a very limited resource, many products all have LED indication function, refer to Show the different conditions of product operation, for example red light is bright when product charges, green light when fully charged, most of product on the market at present All a function is often sacrificed in this way in the case where some single-chip I/O mouth resources are not enough with two I/O port driving instructions It can be to achieve the purpose that product may be used.
Based on this, how more LED light operations could be controlled, are those skilled in the art in the limited situation of I/O port Member often considers the problems of, has also carried out a large amount of research and development and experiment, and achieve preferable achievement.
[summary of the invention]
To overcome the problems of prior art, the present invention provides a kind of two LED light of single I/O port control of utilization and runs Control circuit, more particularly to it is a kind of can save significantly on cost, integrated level it is high control two LED light operations using single I/O port Control circuit.
The scheme that the present invention solves technical problem is to provide a kind of control electricity that two LED light operations are controlled using single I/O port Road, including for carrying out I/O port signal output central processor unit, with the IO output end phase of the central processor unit The LED running control circuit unit of connection;The LED running control circuit unit includes No.1 LED light, No. two LED light, resistance The input terminal of R3 and NPN type triode Q1, the No.1 LED light, No. two LED light and resistance R3 all connect supply voltage VDD, And the output end of No. two LED light is connected with the collector of NPN type triode Q1;The emitter of the NPN type triode connects public affairs Altogether, base stage is connected with the output end of resistance R3;Between the output end of the No.1 LED light and the output end of resistance R3 It is also connected with a diode D3, the input terminal of diode D3 is connected with the output end of resistance R3, the output end of diode D3 It is connected with the output end of No.1 LED light.
Preferably, the central processing unit is internally provided with an enhanced N-channel field-effect tube, and the leakage of the field-effect tube Pole is connected with the IO output end of central processor unit, and the grid of the field-effect tube is connected with logic I/O, the field-effect The source electrode of pipe connects publicly.
Preferably, it is also serially connected with electricity respectively on the connecting line of the No.1 LED light and No. two LED light and supply voltage VDD Hinder R1 and resistance R2.
Preferably, resistance R4 is also connected between the input terminal of the diode D3 and the output end of resistance R3.
Compared with prior art, a kind of control circuit for controlling the operation of two LED light using single I/O port of the present invention passes through same When be arranged for carrying out the central processor unit of I/O port signal output, being connected with the IO output end of the central processor unit The LED running control circuit unit connect, and LED running control circuit unit is designed to include No.1 LED light, No. two LED Lamp, resistance R3 and NPN type triode Q1, in actual moving process, control circuit of the invention can not only save the money of I/O port Source, and circuit is simple, can save a MOSFET control, and integrated level is high.
[Detailed description of the invention]
Fig. 1 is a kind of circuit diagram for the control circuit that the operation of two LED light is controlled using single I/O port of the present invention.
[specific embodiment]
To make the purpose of the present invention, technical solution and advantage are more clearly understood, with reference to the accompanying drawings and embodiments, to this Invention is further elaborated.It should be appreciated that specific embodiment described herein is used only for explaining the present invention, not For limiting the invention.
Referring to Fig. 1, the present invention it is a kind of utilize single I/O port control the control circuit 1 that two LED light are run include for into The central processor unit of row I/O port signal output, the LED operation being connected with the IO output end of the central processor unit Control circuit unit;The LED running control circuit unit includes No.1 LED light, No. two LED light, resistance R3 and NPN type three Pole pipe Q1, the input terminal of the No.1 LED light, No. two LED light and resistance R3 all connect supply voltage VDD, and No. two LED light Output end is connected with the collector of NPN type triode Q1;The emitter of the NPN type triode connects publicly, base stage with The output end of resistance R3 is connected;One or two are also connected between the output end of the No.1 LED light and the output end of resistance R3 The input terminal of pole pipe D3, diode D3 are connected with the output end of resistance R3, output end and the No.1 LED light of diode D3 Output end is connected.
The present invention passes through while central processor unit and the central processing for carrying out I/O port signal output is arranged The LED running control circuit unit that the IO output end of device unit is connected, and LED running control circuit unit is designed to wrap Include No.1 LED light, No. two LED light, resistance R3 and NPN type triode Q1, in actual moving process, control circuit of the invention The resource of I/O port can not only be saved, and circuit is simple, a MOSFET control can be saved, integrated level is high.
Preferably, the central processing unit is internally provided with an enhanced N-channel field-effect tube, and the leakage of the field-effect tube Pole is connected with the IO output end of central processor unit, and the grid of the field-effect tube is connected with logic I/O, the field-effect The source electrode of pipe connects publicly.
Preferably, it is also serially connected with electricity respectively on the connecting line of the No.1 LED light and No. two LED light and supply voltage VDD Hinder R1 and resistance R2.
Preferably, resistance R4 is also connected between the input terminal of the diode D3 and the output end of resistance R3.
Single-chip I/O mouth connects the drain electrode in one MOSFET in inside.When Logic is set as 1, I/O port is low, Logic setting When being 0, I/O port is in high-impedance state.
When MCU IO is low, there is voltage at No.1 LED light both ends, so No.1 LED light is bright, 1 foot of Q1 is low, Q1 at this time Cut-off, No. two LED light both ends are without pressure difference, so No. two LED light do not work.When MCU IO be high-impedance state when, No.1 LED light both ends without Pressure difference, No.1 LED light do not work.1 foot of Q1 is because R3 is connected to VDD, so Q1 is connected, there are pressure difference, No. two LED in No. two LED light both ends Lamp is lighted.
Compared with prior art, a kind of control circuit 1 for controlling the operation of two LED light using single I/O port of the present invention passes through same When be arranged for carrying out the central processor unit of I/O port signal output, being connected with the IO output end of the central processor unit The LED running control circuit unit connect, and LED running control circuit unit is designed to include No.1 LED light, No. two LED Lamp, resistance R3 and NPN type triode Q1, in actual moving process, control circuit of the invention can not only save the money of I/O port Source, and circuit is simple, can save a MOSFET control, and integrated level is high.
The embodiments of the present invention described above are not intended to limit the scope of the present invention.It is any in the present invention Spirit and principle within made modifications, equivalent substitutions and improvements etc., should be included in claim protection model of the invention Within enclosing.

Claims (4)

1. a kind of control circuit for controlling the operation of two LED light using single I/O port, it is characterised in that: including for carrying out I/O port letter The central processor unit of number output, the LED running control circuit that is connected with the IO output end of the central processor unit Unit;The LED running control circuit unit includes No.1 LED light, No. two LED light, resistance R3 and NPN type triode Q1, The input terminal of the No.1 LED light, No. two LED light and resistance R3 all connects supply voltage VDD, and the output end of No. two LED light It is connected with the collector of NPN type triode Q1;The emitter of the NPN type triode connects publicly, base stage and resistance R3 Output end be connected;A diode D3 is also connected between the output end of the No.1 LED light and the output end of resistance R3, The input terminal of diode D3 is connected with the output end of resistance R3, the output end of diode D3 and the output end of No.1 LED light It is connected.
2. a kind of control circuit for controlling the operation of two LED light using single I/O port as described in claim 1, it is characterised in that: The central processing unit is internally provided with an enhanced N-channel field-effect tube, and drain electrode and the central processing unit of the field-effect tube The IO output end of unit is connected, and the grid of the field-effect tube is connected with logic I/O, and the source electrode of the field-effect tube connects public Ground.
3. a kind of control circuit for controlling the operation of two LED light using single I/O port as described in claim 1, it is characterised in that: It is also serially connected with resistance R1 and resistance R2 respectively on the connecting line of the No.1 LED light and No. two LED light and supply voltage VDD.
4. a kind of control circuit for being controlled the operation of two LED light using single I/O port as claimed in claim 1 or 3, feature are existed In: resistance R4 is also connected between the input terminal of the diode D3 and the output end of resistance R3.
CN201811170592.6A 2018-10-09 2018-10-09 Control circuit for controlling operation of two LED lamps by using single IO port Active CN109121255B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811170592.6A CN109121255B (en) 2018-10-09 2018-10-09 Control circuit for controlling operation of two LED lamps by using single IO port

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811170592.6A CN109121255B (en) 2018-10-09 2018-10-09 Control circuit for controlling operation of two LED lamps by using single IO port

Publications (2)

Publication Number Publication Date
CN109121255A true CN109121255A (en) 2019-01-01
CN109121255B CN109121255B (en) 2020-09-01

Family

ID=64857563

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811170592.6A Active CN109121255B (en) 2018-10-09 2018-10-09 Control circuit for controlling operation of two LED lamps by using single IO port

Country Status (1)

Country Link
CN (1) CN109121255B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110459024A (en) * 2019-08-08 2019-11-15 深圳市宏电技术股份有限公司 A kind of network interface condition indication circuit and system

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030212918A1 (en) * 2002-05-13 2003-11-13 D'angelo Kevin P. Single wire serial interface with addressing, Io, and multiplexing capability
CN2715462Y (en) * 2004-06-21 2005-08-03 海信集团有限公司 LED indicating lamp luminance drive circuit for enhanced TV set
CN2747804Y (en) * 2004-12-08 2005-12-21 海信集团有限公司 Control circuit of dual-color LED of TV set
CN2794101Y (en) * 2005-04-29 2006-07-05 黄鸣涛 Light adjuster of LED desk lamp
CN2824500Y (en) * 2005-09-09 2006-10-04 海信集团有限公司 Indicating lamp control circuit and set-top-box with same
CN101150903A (en) * 2007-10-31 2008-03-26 深圳市和而泰电子科技有限公司 A LED drive circuit and its control method
CN201138879Y (en) * 2007-07-31 2008-10-22 深圳和而泰智能控制股份有限公司 LED Control circuit
CN101568210A (en) * 2009-05-15 2009-10-28 深圳创维-Rgb电子有限公司 Television indicator light circuit capable of reducing the standby power consumption
CN201577224U (en) * 2010-01-04 2010-09-08 青岛海信电器股份有限公司 Indicator lamp control circuit and electronic equipment
CN201937900U (en) * 2010-12-13 2011-08-17 佛山市顺德区瑞德电子实业有限公司 LED lamp driving circuit
CN202059641U (en) * 2011-05-23 2011-11-30 青岛海信宽带多媒体技术有限公司 Indicating lamp control circuit and set-top-box with same
CN202873113U (en) * 2012-09-14 2013-04-10 深圳创维数字技术股份有限公司 LED (Light-emitting diode) indication lamp circuit and electronic device
CN203608429U (en) * 2013-12-13 2014-05-21 杭州数创自动化控制技术有限公司 Stroboscope
CN204362389U (en) * 2015-01-22 2015-05-27 曲云才 A kind of LED emission control device of Novel belt temperature detection
CN205378153U (en) * 2015-12-26 2016-07-06 彩迅工业(深圳)有限公司 LEDTV remote control receiving control circuit
CN206321956U (en) * 2016-11-29 2017-07-11 广州视源电子科技股份有限公司 IO port-based unidirectional element control circuit
CN207733016U (en) * 2017-11-01 2018-08-14 浙江绍兴苏泊尔生活电器有限公司 Light-emitting diode driving circuit and user operation panel for food processor

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030212918A1 (en) * 2002-05-13 2003-11-13 D'angelo Kevin P. Single wire serial interface with addressing, Io, and multiplexing capability
CN2715462Y (en) * 2004-06-21 2005-08-03 海信集团有限公司 LED indicating lamp luminance drive circuit for enhanced TV set
CN2747804Y (en) * 2004-12-08 2005-12-21 海信集团有限公司 Control circuit of dual-color LED of TV set
CN2794101Y (en) * 2005-04-29 2006-07-05 黄鸣涛 Light adjuster of LED desk lamp
CN2824500Y (en) * 2005-09-09 2006-10-04 海信集团有限公司 Indicating lamp control circuit and set-top-box with same
CN201138879Y (en) * 2007-07-31 2008-10-22 深圳和而泰智能控制股份有限公司 LED Control circuit
CN101150903A (en) * 2007-10-31 2008-03-26 深圳市和而泰电子科技有限公司 A LED drive circuit and its control method
CN101568210A (en) * 2009-05-15 2009-10-28 深圳创维-Rgb电子有限公司 Television indicator light circuit capable of reducing the standby power consumption
CN201577224U (en) * 2010-01-04 2010-09-08 青岛海信电器股份有限公司 Indicator lamp control circuit and electronic equipment
CN201937900U (en) * 2010-12-13 2011-08-17 佛山市顺德区瑞德电子实业有限公司 LED lamp driving circuit
CN202059641U (en) * 2011-05-23 2011-11-30 青岛海信宽带多媒体技术有限公司 Indicating lamp control circuit and set-top-box with same
CN202873113U (en) * 2012-09-14 2013-04-10 深圳创维数字技术股份有限公司 LED (Light-emitting diode) indication lamp circuit and electronic device
CN203608429U (en) * 2013-12-13 2014-05-21 杭州数创自动化控制技术有限公司 Stroboscope
CN204362389U (en) * 2015-01-22 2015-05-27 曲云才 A kind of LED emission control device of Novel belt temperature detection
CN205378153U (en) * 2015-12-26 2016-07-06 彩迅工业(深圳)有限公司 LEDTV remote control receiving control circuit
CN206321956U (en) * 2016-11-29 2017-07-11 广州视源电子科技股份有限公司 IO port-based unidirectional element control circuit
CN207733016U (en) * 2017-11-01 2018-08-14 浙江绍兴苏泊尔生活电器有限公司 Light-emitting diode driving circuit and user operation panel for food processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110459024A (en) * 2019-08-08 2019-11-15 深圳市宏电技术股份有限公司 A kind of network interface condition indication circuit and system

Also Published As

Publication number Publication date
CN109121255B (en) 2020-09-01

Similar Documents

Publication Publication Date Title
CN206922420U (en) A kind of over-and under-voltage protection circuit
CN103401209A (en) LED backlight short-circuit protection circuit
CN109121255A (en) A kind of control circuit controlling the operation of two LED light using single I/O port
CN103347352B (en) LED light source short-circuit detection method and device, LED backlight and liquid crystal display device
CN100405319C (en) Computer state indicator light
CN203596960U (en) Miniature LED drive circuit and LED lamp having same
CN107404783B (en) Ad hoc network color lamp device and color lamp system based on the control of power supply line edge signal
CN208570070U (en) A kind of LED display driving output blanking clamp circuit and LED display
CN104717813B (en) LED/light source method for detecting short circuit and device, LED backlight and liquid crystal display
CN106211474B (en) A kind of light adjusting circuit and display device of a variety of dimming modes of compatibility
CN104535939B (en) A kind of electronic product with NFC function
CN106027020B (en) A kind of intelligent double-control switch on wall
CN108055731A (en) Classroom blackboard LED light strip driving circuit with protective effect
CN208317072U (en) A kind of PWM dimming device and its short-circuit protection circuit
CN104349528A (en) Indicating lamp status display system
CN107528307A (en) A kind of protection circuit for LED power load short circuits
CN205811533U (en) A kind of protection circuit for LED power load short circuits
CN205721413U (en) Temperature controller circuit
CN206894949U (en) A kind of inexpensive current constant control lighting circuit
CN206024171U (en) A kind of nonpolarity direct current is input into the LED illumination circuit of wide-voltage constant power
CN203675374U (en) Holiday lamp controller
CN205456626U (en) Old man's stick with illumination function
CN205320335U (en) Compatible ballast's LED power
CN203573619U (en) Two-digit nixie tube display system for high-voltage presence indication device
CN208209924U (en) Hardware-software controls switching circuit

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant