CN203340343U - Double-color LED drive circuit - Google Patents
Double-color LED drive circuit Download PDFInfo
- Publication number
- CN203340343U CN203340343U CN201320211968XU CN201320211968U CN203340343U CN 203340343 U CN203340343 U CN 203340343U CN 201320211968X U CN201320211968X U CN 201320211968XU CN 201320211968 U CN201320211968 U CN 201320211968U CN 203340343 U CN203340343 U CN 203340343U
- Authority
- CN
- China
- Prior art keywords
- gpio
- flow restricter
- led2
- led1
- negative electrode
- 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
Images
Abstract
The utility model discloses and provides a double-color LED drive circuit which can achieve drive control on two LED indicating lamps with different colors through one GPIO (General Purpose Input/Output) interface. The double-color LED drive circuit comprises a processor and a peripheral circuit. The processor comprises at least one input/output interface (GPIO). The peripheral circuit comprises the two LED indicating lamps (LED1, LED2) with different colors, an anode current limiter and a cathode current limiter. The cathode of the LED indicating lamp (LED1) is connected with the anode of the LED indicating lamp (LED2). The connection point is connected with the GPIO interface. The anode of the LED indicating lamp (LED1) is connected with one end of the anode current limiter. The other end of the anode current limiter is connected with a power supply (VDD). The cathode of the LED indicating lamp (LED2) is connected with one end of the cathode current limiter. The other end of the cathode current limiter is connected with a circuit and then grounded. The double-color LED drive circuit can be applied in the LED display technical field.
Description
Technical field
The utility model relates to a kind of dual-colored LED drive circuit.
Background technology
LED(Light Emitting Diode), light-emitting diode, be a kind of solid-state semiconductor device that can be visible ray by electric energy conversion, usually is called as LED light.EMBEDDED AVIONICS is usually applied red indigo plant or red green LED light and is indicated the current operating state of embedded-type electric subsystem.
In traditional dual-colored LED display driver circuit, system directly utilizes two GPIO of MCU to realize respectively the control to LED modules with different colors, does like this, has caused on the one hand the waste of GPIO mouth, and software control is more loaded down with trivial details on the other hand.In sum, existing dual-colored LED drive circuit exists GPIO to take that quantity is many, the high in cost of production problem.
The utility model content
Technical problem to be solved in the utility model is to overcome the deficiencies in the prior art, providing a kind of utilizes a GPIO Interface realization to control the driving of two LED modules with different colors indicator lights, realize simultaneously bright, go out simultaneously, flicker, single bright, single flicker texts simultaneously, the obvious dual-colored LED drive circuit of indicating effect.
The technical scheme that the utility model adopts is: the utility model comprises processor and peripheral circuit, described processor has at least one input/output interface, described peripheral circuit comprises two LED light that color is different, anode flow restricter and negative electrode flow restricter, the anodic bonding of the negative electrode of the first LED light and the second LED light, its tie point is connected with described input/output interface, the anode of described the first LED light is connected with an end of described anode flow restricter, the other end of described anode flow restricter connects power supply, the negative electrode of described the second LED light is connected with an end of described negative electrode flow restricter, the other end connecting circuit of described negative electrode flow restricter altogether.
Described input/output interface can be arranged to output and input two states.
Described anode flow restricter and described negative electrode flow restricter consist of the series circuit of resistance or resistance and dividing potential drop diode.
Described power supply is the 3.3V DC power supply.
The beneficial effects of the utility model are: because the utility model comprises processor and peripheral circuit, described processor has at least one input/output interface, described peripheral circuit comprises two LED light that color is different, anode flow restricter and negative electrode flow restricter, the anodic bonding of the negative electrode of the first LED light and the second LED light, its tie point is connected with described input/output interface, the anode of described the first LED light is connected with an end of described anode flow restricter, the other end of described anode flow restricter connects power supply, the negative electrode of described the second LED light is connected with an end of described negative electrode flow restricter, the other end connecting circuit of described negative electrode flow restricter altogether, so, the utility model is realized the control of the multiple indicating effect of dual-colored LED by an input/output interface of processor, utilize the input/output state of controlling described input/output interface to realize the control to described two LED light break-makes, and then it is simultaneously bright to control two LED light, go out simultaneously, flicker simultaneously, bright or independent flicker separately, the correct indication of realization to product working status, the utility model is simple in structure, utilize an input/output interface to realize the control to two multiple indicating effects of LED modules with different colors indicator light, saved product taking the input/output interface of processor, and program realizes simple, be applicable to the field of two kinds of color LED indication product working status of all kinds of needs.
The accompanying drawing explanation
Fig. 1 is circuit connection diagram of the present utility model;
Fig. 2 is the utility model specific embodiment state reference map: LED1 and LED2 do not work;
Fig. 3 is the utility model specific embodiment state reference map: only have LED2 bright;
Fig. 4 is the utility model specific embodiment state reference map: only have LED1 bright;
Fig. 5 is the utility model specific embodiment state reference map: LED1 and LED2 are bright;
Fig. 6 is the utility model specific embodiment state reference map: LED2 flicker;
Fig. 7 is the utility model specific embodiment state reference map: LED1 flicker;
Fig. 8 is the utility model specific embodiment state reference map: LED1 and LED2 glimmer simultaneously.
Embodiment
Below, 1 to 8 pair of the utility model is described in further detail by reference to the accompanying drawings.
As shown in Figure 1, the utility model comprises processor MCU and peripheral circuit.Described processor MCU has at least one input/output interface GPIO, and described peripheral circuit comprises two LED light LED1 and LED2, anode flow restricter and negative electrode flow restricters that color is different.Described LED light comprises the first LED light LED1 and the second LED light LED2.The anodic bonding of the negative electrode of the first LED light LED1 and the second LED light LED2, its tie point is connected with described input/output interface GPIO, the anode of described the first LED light LED1 is connected with an end of described anode flow restricter, the other end of described anode flow restricter connects power vd D, the negative electrode of described the second LED light LED2 is connected with an end of described negative electrode flow restricter, and the other end connecting circuit of described negative electrode flow restricter altogether.Described anode flow restricter and described negative electrode flow restricter consist of the series circuit of resistance or resistance and dividing potential drop diode.In the present embodiment, described anode flow restricter is resistance R 1, and described negative electrode flow restricter is resistance R 2.Described input/output interface GPIO can be arranged to output and input two states.Described power vd D is the 3.3V DC power supply.The color of two described LED light is reddish blue or red green or yellow green combination or other color combination.
In the present embodiment, described input/output interface GPIO(is the IO mouth) can be configured to output state or input state.Described output state comprises: export 1 state (3.3V) and output 0 state (0V).Vdd voltage is 3.3V; The resistance of R1 and R2 is all 470 Ω; LED is normal, and pressure drop when luminous is 2.7V, and the electric current by LED is 5mA.
The present embodiment controls with an IO mouth circuit that two LED show, sets forth technical solutions of the utility model as follows:
As shown in Figure 2, GPIO is set to input state, and external circuits is equivalent to a loop to ground, and loop current is 3.3V/(2X470 Ω to the maximum)=3.5mA, be less than LED glow current: LED1 and LED2 and all do not work.
As shown in Figure 3, the voltage that GPIO is set to export 1, GPIO mouth is 3.3V, and the voltage at LED1 two ends is 3.3V, and pressure reduction is 0V, does not meet the luminous requirement of LED.The LED2 earth terminal is 3.3V to the loop pressure reduction of GPIO, and loop current is about 3.3V/470 Ω=7mA, meets the luminous requirement of LED.So LED1 does not work, LED2 is bright.
As shown in Figure 4, the voltage that GPIO is set to export 0, GPIO mouth is 0V, and GPIO is 3.3V to the pressure reduction of LED1 power end, and loop current is about 3.3V/470 Ω=7mA, meets the luminous requirement of LED.GPIO is 0 to the pressure reduction of LED2 earth terminal, does not meet the luminous requirement of LED.So LED1 is bright, LED2 does not work.
As shown in Figure 5, GPIO is set to output and is greater than the 200Hz square wave, and LED1 and LED2, within the cycle of 5 milliseconds, have 2.5 milliseconds light the time, due to the vision time delay of human eye, can observe LED1 and LED2 simultaneously bright.
As shown in Figure 6, GPIO is set to the 500ms input state, and 500ms output 1, repeat to operate like this, and LED1 does not work, and LED2 flicker in half second is bright, the frequency of regulating the LED2 flicker by the time cycle of adjusting the GPIO input and output.
As shown in Figure 7, GPIO is set to the 500ms input state, and 500ms output 0, repeat to operate like this, and LED1 flicker in half second is bright, and LED2 does not work, and regulates the frequency of LED1 flicker by the time cycle of adjusting the GPIO input and output.
As shown in Figure 8, the GPIO 500ms input state that is set to circulate, 500ms output is greater than the 200Hz square wave, and LED1 and LED2 be flicker in half second, the frequency of regulating the LED flicker by the time cycle of adjusting the GPIO input and output.
Can realize that like this controlling two LED with a GPIO shows various states, and software is realized simple.Reach the purpose of this utility model.
The utility model can be applicable to LED Display Technique field.
Claims (4)
1. a dual-colored LED drive circuit, comprise processor (MCU) and peripheral circuit, it is characterized in that: described processor (MCU) has at least one input/output interface (GPIO), described peripheral circuit comprises two LED light (LED1 that color is different, LED2), anode flow restricter and negative electrode flow restricter, the anodic bonding of the negative electrode of the first LED light (LED1) and the second LED light (LED2), its tie point is connected with described input/output interface (GPIO), the anode of described the first LED light (LED1) is connected with an end of described anode flow restricter, the other end of described anode flow restricter connects power supply (VDD), the negative electrode of described the second LED light (LED2) is connected with an end of described negative electrode flow restricter, the other end connecting circuit of described negative electrode flow restricter altogether.
2. a kind of dual-colored LED drive circuit according to claim 1 is characterized in that: described input/output interface (GPIO) can be arranged to output and input two states.
3. a kind of dual-colored LED drive circuit according to claim 1, it is characterized in that: described anode flow restricter and described negative electrode flow restricter consist of the series circuit of resistance or resistance and dividing potential drop diode.
4. a kind of dual-colored LED drive circuit according to claim 1 is characterized in that: described power supply (VDD) is the 3.3V DC power supply.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201320211968XU CN203340343U (en) | 2013-04-24 | 2013-04-24 | Double-color LED drive circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201320211968XU CN203340343U (en) | 2013-04-24 | 2013-04-24 | Double-color LED drive circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
CN203340343U true CN203340343U (en) | 2013-12-11 |
Family
ID=49708993
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201320211968XU Expired - Lifetime CN203340343U (en) | 2013-04-24 | 2013-04-24 | Double-color LED drive circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN203340343U (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140344484A1 (en) * | 2013-05-17 | 2014-11-20 | Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd. | Detection system for hard disk drive |
CN107241831A (en) * | 2017-07-07 | 2017-10-10 | 厦门芯阳科技股份有限公司 | The method and circuit of a kind of two kinds of lamps of single-chip I/O mouth driving |
WO2018121004A1 (en) * | 2016-12-26 | 2018-07-05 | 深圳市九洲电器有限公司 | Method and system for managing and controlling gpio used for controlling set-top box led, and electronic device |
CN109308869A (en) * | 2017-07-27 | 2019-02-05 | 第移动有限公司 | Wireless control type transparent light emitting apparatus |
CN110708787A (en) * | 2019-09-20 | 2020-01-17 | 苏州浪潮智能科技有限公司 | Control device and method of double-color lamp, storage medium and equipment |
CN114938551A (en) * | 2022-05-19 | 2022-08-23 | 苏州联讯仪器有限公司 | LED control method and related assembly |
-
2013
- 2013-04-24 CN CN201320211968XU patent/CN203340343U/en not_active Expired - Lifetime
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140344484A1 (en) * | 2013-05-17 | 2014-11-20 | Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd. | Detection system for hard disk drive |
WO2018121004A1 (en) * | 2016-12-26 | 2018-07-05 | 深圳市九洲电器有限公司 | Method and system for managing and controlling gpio used for controlling set-top box led, and electronic device |
CN107241831A (en) * | 2017-07-07 | 2017-10-10 | 厦门芯阳科技股份有限公司 | The method and circuit of a kind of two kinds of lamps of single-chip I/O mouth driving |
CN109308869A (en) * | 2017-07-27 | 2019-02-05 | 第移动有限公司 | Wireless control type transparent light emitting apparatus |
CN110708787A (en) * | 2019-09-20 | 2020-01-17 | 苏州浪潮智能科技有限公司 | Control device and method of double-color lamp, storage medium and equipment |
CN110708787B (en) * | 2019-09-20 | 2022-06-07 | 苏州浪潮智能科技有限公司 | Control device and method of double-color lamp, storage medium and equipment |
CN114938551A (en) * | 2022-05-19 | 2022-08-23 | 苏州联讯仪器有限公司 | LED control method and related assembly |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN203340343U (en) | Double-color LED drive circuit | |
CN203038639U (en) | Led pixel lamp circuit | |
CN102917518B (en) | Realize the method for LED lamp bar current multiplication and the drive circuit of correspondence thereof | |
CN101813260B (en) | LED lamp device and PWM (Pulse Width Modulation) direct current supply control circuit | |
CN103152939A (en) | Four-in-one light-dimming circuit of light-emitting diode (LED) power source | |
CN204119604U (en) | The Multi-channel high-frequency impulse circuit of LED lamp | |
CN202035201U (en) | LED (light-emitting diode) energy-saving lamp integration module | |
CN201788634U (en) | P16 outdoor full-color LED unit board module | |
CN204495394U (en) | A kind of control circuit based on bionical atmosphere quality monitoring device | |
CN203136251U (en) | Intelligently controlled LED light source | |
CN102917517A (en) | Method for generating different current driving lamp bars by utilizing constant current driving chip and driving circuit thereof | |
CN202769506U (en) | Intelligent and multi-functional light-emitting diode (LED) string lights | |
CN202025755U (en) | LED chip and display device both packaged by drive circuit in hybrid manner | |
CN201726566U (en) | Led lamp device | |
CN204598402U (en) | Based on the LED sectional dimming power supply of power supply constant-current driven chip CSC8935 | |
CN204859676U (en) | LED drive arrangement | |
CN203590521U (en) | Infrared remote control module of LED projection lamp | |
CN206807828U (en) | A kind of conversion equipment | |
CN201700052U (en) | PWM direct-current power supply control circuit | |
CN203552656U (en) | An LED full color screen driving circuit, an LED module, and an LED display screen | |
CN202713752U (en) | Simple LED display module testing circuit | |
CN102781136A (en) | LED (Light-emitting diode) energy-saving lamp integration module | |
CN203573619U (en) | Two-digit nixie tube display system for high-voltage presence indication device | |
CN102595697B (en) | Power source device with adjustable gears for LED (Light Emitting Diode) | |
CN203279266U (en) | AC (alternating current) driving LED flicker-free apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220325 Address after: Rooms 1306-1309, 13 / F, 19 science Avenue West, Hong Kong Science Park, Shatin, New Territories, China Patentee after: BUILDWIN INTERNATIONAL (ZHUHAI) LTD. Address before: 519015 Guangdong city of Zhuhai province Jida Bailian Road No. 184 building 7 floor three-dimensional technology Patentee before: BUILDWIN INTERNATIONAL (ZHUHAI) Ltd. |
|
CX01 | Expiry of patent term | ||
CX01 | Expiry of patent term |
Granted publication date: 20131211 |