CN102159010A - Device and method for controlling indicator lights - Google Patents

Device and method for controlling indicator lights Download PDF

Info

Publication number
CN102159010A
CN102159010A CN2011100759780A CN201110075978A CN102159010A CN 102159010 A CN102159010 A CN 102159010A CN 2011100759780 A CN2011100759780 A CN 2011100759780A CN 201110075978 A CN201110075978 A CN 201110075978A CN 102159010 A CN102159010 A CN 102159010A
Authority
CN
China
Prior art keywords
indicator light
type triode
drive
npn type
control signal
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.)
Pending
Application number
CN2011100759780A
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.)
Shanghai Huawei Technologies Co Ltd
Original Assignee
Shanghai Huawei Technologies 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 Shanghai Huawei Technologies Co Ltd filed Critical Shanghai Huawei Technologies Co Ltd
Priority to CN2011100759780A priority Critical patent/CN102159010A/en
Publication of CN102159010A publication Critical patent/CN102159010A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

The embodiment of the invention provides a device for controlling indicator lights and also provides a corresponding method for controlling the indicator lights. In the embodiment of the invention, a GPIO (general purpose input output) interface is used for sending a control signal to a converting unit according to the indication of a control unit to control the converting unit to drive or not to drive a first indicator light and a second indicator light, so the device can realize that the single GPIO interface is used for controlling two indicator lights to realize three indicator light states, thus effectively saving the GPIO interface resource.

Description

Indicator lamp control device and indicator lamp control method
Technical Field
The invention relates to the technical field of electronics, in particular to an indicator light control device and an indicator light control method.
Background
With the rapid development of scientific technology, computers and other various network terminal devices are becoming more and more popular, on these terminal devices, Light Emitting Diodes (LEDs) are often used as status indicator lamps to indicate the operating status of these terminal devices, and a plurality of indicator lamps are also provided for each terminal device to indicate different statuses, for example, a power indicator lamp, a network connection status indicator lamp, a data transmission indicator lamp, etc. are provided on a network router. At present, the control of an indicator light is generally a mode of controlling an indicator light by using a General Purpose Input Output (GPIO) interface of an IC device, and this mode has an excessively high requirement on the number of GPIO interfaces of the IC device, and causes waste of the GPIO interfaces and even fails to implement various functional developments under the current situations that a single board is more and more complicated in design and the GPIO interfaces of GPIC devices are more and more efficiently used.
Disclosure of Invention
The embodiment of the invention provides an indicator light control device and method.
An indicator light control apparatus comprising:
the control unit is used for indicating a general purpose input/output (GPIO) interface to send a control signal to the conversion unit;
the GPIO interface is used for sending the control signal to the conversion unit according to the indication of the control unit, controlling the conversion unit through the control signal and selecting to drive the first indicator light and the second indicator light or not to drive the first indicator light and the second indicator light;
the conversion unit is used for alternatively driving the first indicator light and the second indicator light or not driving the first indicator light and the second indicator light according to the control signal from the GPIO interface.
An indicator light control method comprising:
and a GPIO interface sends a control signal to the conversion unit according to the indication of the control unit, controls the conversion unit through the control signal and selects to drive the first indicator light and the second indicator light or not to drive the first indicator light and the second indicator light.
In the embodiment of the invention, the first GPIO interface is used for sending the control signal to the conversion unit according to the indication of the control unit so as to control to select one of the first indicator light and the second indicator light to be driven or not to be driven, so that the indicator light control device can realize that a single GPIO interface is used for controlling two indicator lights to realize three indicator light states, and the GPIO interface resources are effectively saved.
Drawings
FIG. 1 is a schematic logical block diagram of an embodiment of an indicator light control apparatus according to an embodiment of the present invention;
FIG. 2 is a schematic logical block diagram of another embodiment of an indicator light control apparatus according to an embodiment of the present invention;
FIG. 3 is a schematic flow diagram of one embodiment of an indicator light control method in an embodiment of the invention;
fig. 4 is a schematic flow chart of another embodiment of an indicator light control method in an embodiment of the invention.
Detailed Description
The embodiment of the invention provides an indicator light control device and further provides a corresponding indicator light control method. The following are detailed below.
An embodiment of the present invention provides an indicator light control apparatus, as shown in fig. 1, an indicator light control apparatus 10 includes:
a control unit 101, configured to instruct a GPIO interface 102 to send a control signal to a conversion unit 103;
the GPIO interface 102 is used for sending a control signal to the conversion unit 102 according to the indication of the control unit 101, controlling the conversion unit 102 through the control signal and selecting to drive the first indicator light and the second indicator light or not to drive the first indicator light and the second indicator light;
and the conversion unit 103 is used for alternatively driving the first indicator light and the second indicator light or not driving the first indicator light and the second indicator light according to the control signal from the GPIO interface 102.
The control Unit 101 may be connected to a plurality of GPIO interfaces 102, the conversion Unit 103 is connected to one GPIO interface 102 that sends a control signal to the conversion Unit 103, the conversion Unit 103 is connected to the first indicator light and the second indicator light, respectively, the control Unit 101 may be a Central Processing Unit (CPU), the first indicator light and the second indicator light may both be single-color indicator lights, or may be two dies of a dual-color indicator light, and packaging these two dies together is a dual-color indicator light.
The first indicator light is connected with the second indicator light and a direct current power supply, the direct current power supply is used for supplying driving current to the first indicator light and the second indicator light, for example, the direct current power supply can be a 3.3-volt direct current power supply, and specifically, the direct current power supply can be respectively connected with the first indicator light and the second indicator light through two resistors. As described above, the conversion unit 103 is used to alternatively drive the first indicator light and the second indicator light or not to drive the first indicator light and the second indicator light from the perspective of the indicator light, and if the description is made from the perspective of the dc power supply, the conversion unit 103 is used to turn on or off the driving current provided by the dc power supply to the first indicator light and the second indicator light according to the control signal from the GPIO interface 102, so as to achieve the purpose of alternatively driving the first indicator light and the second indicator light or not to drive the first indicator light and the second indicator light.
In this embodiment, one GPIO interface 102 is configured to send a control signal to the conversion unit 103 according to an instruction from the control unit 101, so as to control the first indicator light and the second indicator light to implement three indicator light states, where the three indicator light states are: the first indicator light is on, and the second indicator light is not on at the same time; the first indicator light is not on, and the second indicator light is on at the same time; the first indicator light and the second indicator light are not turned on, so that the indicator light control device can realize that a single GPIO interface is used for controlling two indicator lights to realize three indicator light states, and GPIO interface resources are effectively saved.
With reference to implementation of the foregoing embodiment, another embodiment of the indicator light control device according to the present invention is provided, as shown in fig. 2, an indicator light control device 20 including:
the conversion unit 201 can be used to implement the function of the conversion unit 103 in the indicator light control device 10 in the above embodiment, where the conversion unit 201 includes a PNP transistor 2011 and an NPN transistor 2012, the PNP transistor 2011 is connected to the first indicator light D1, and the NPN transistor 2012 is connected to the second indicator light D2, and the specific connection manner may be: the base of the PNP triode 2011 is connected to a GPIO interface 202, the emitter of the NPN triode 2011 is connected to a dc power supply via a circuit, the collector of the NPN triode 2011 is connected to the anode of the first indicator light D1, the cathode of the first indicator light D1 is grounded, the base of the NPN triode 2012 and the base of the PNP triode 2011 are connected to the same GPIO interface 202, the emitter of the NPN triode 2012 is grounded, the collector of the NPN triode 2012 is connected to the anode of the second indicator light D2, and the cathode of the second indicator light D2 and the emitter of the PNP triode 2011 are connected to the same dc power supply.
GPIO interface 202, GPIO interface 202 may be used to implement the functions of GPIO interface 102 in indicator light control device 10 in the above-described embodiments, and CPU203 may be connected to a plurality of GPIO interfaces 202. The GPIO interface 202 is configured to send a control signal to the PNP transistor 2011 and the NPN transistor 2012 according to an instruction from the CPU203, control the on/off states of the PNP transistor 2011 and the NPN transistor 2012 through the control signal, and select to drive the first indicator light D1 and the second indicator light D2 or not to drive the first indicator light D1 and the second indicator light D2;
the PNP transistor 2011 is used for driving the first indicator light D1 when being in a conducting state according to the control signal from the GPIO interface 202; when in the off state, the first indicator lamp D1 is not driven;
the NPN transistor 2012 is used for driving the second indicator light D2 when in the on state according to the control signal from the GPIO interface 202; when in the off state, the second indicator lamp D2 is not driven.
The CPU203 is configured to instruct a GPIO interface 202 to send a control signal to the PNP transistor 2011 and the NPN transistor 2012, where the control signal may be a high-impedance signal, a high-level signal, or a low-level signal, or the control signal may be a pulse signal with different duty ratios, and the CPU203 is configured to instruct the GPIO interface 202 to output the pulse signal with different duty ratios to the PNP transistor 2011 and the NPN transistor 2012 according to a preset frequency. The CPU203 may be used to realize the functions of the control unit 101 in the indicator light control apparatus 10 in the above-described embodiment.
Assuming that the first indicator light D1 and the second indicator light D2 are single-color indicator lights, for example, the first indicator light D1 is illuminated to show a red color, and the second indicator light D2 is illuminated to show a blue color, in the following scenarios, the three indicator light states that can be realized by the foregoing embodiment can be respectively realized: the first indicator light D1 was on while the second indicator light D2 was off; the first indicator light D1 was not illuminated while the second indicator light D2 was illuminated; neither the first indicator light D1 nor the second indicator light D2 was illuminated.
In a scenario of this embodiment, the GPIO interface 202 is configured to output a high impedance to the PNP transistor 2011 and the NPN transistor 2012 according to an instruction from the CPU203, the PNP transistor 2011 and the NPN transistor 2012 are in an off state, a driving current provided by the dc power supply cannot pass through the first indicator light D1 and the second indicator light D2, and the first indicator light D1 and the second indicator light D2 are not turned on.
In a scenario of this embodiment, the GPIO interface 202 may be further configured to output a high level signal to the PNP transistor 2011 and the NPN transistor 2012 according to an instruction of the CPU203, where the PNP transistor 2011 is in an on state, the driving current provided by the dc power supply passes through the first indicator light D1, the user may see a red indicator light, the NPN transistor 2012 is in an off state, the driving current provided by the dc power supply does not pass through the second indicator light D2, and the second indicator light D2 is not lit.
In a scenario of this embodiment, the GPIO interface 202 may be further configured to output a low level signal to the PNP transistor 2011 and the NPN transistor 2012 according to an instruction of the CPU203, where the PNP transistor 2011 is in an off state, a driving current provided by the dc power supply does not pass through the first indicator light D1, the first indicator light D1 is not lit, the NPN transistor 2012 is in an on state, the driving current provided by the dc power supply passes through the second indicator light D2, and a user can see a blue indicator light.
Assuming that the first indicator light D1 and the second indicator light D2 are two dies of a two-color indicator light, the first indicator light D1 is illuminated to display a red color and the second indicator light D2 is illuminated to display a green color.
In a scenario of this embodiment, the GPIO interface 202 may be further configured to output pulse signals with different duty ratios to the PNP transistor 2011 and the NPN transistor 2012 according to the instruction of the CPU203, where in a period of the pulse signals, the first indicator light D1 displays red light at a high level, and the second indicator light D2 is not lit; when the light of the green color is displayed by the second indicator light D2 at a low level, the first indicator light D1 is not lit, the duration time of the light of the red color and the duration time of the light of the green color which can be seen by a user respectively are different according to different duty ratios, when the GPIO interface 202 continuously outputs pulse signals according to a preset frequency, the user can see the light of the two colors to continuously switch and flash, when the preset frequency reaches a certain value, for example, 50HZ, the light of the two colors can be rapidly and frequently switched, due to the delay effect of human eyes, the rapid and frequent switching of the light of the two colors under the action of the pulse signals of 50HZ cannot be effectively distinguished, the user actually sees the superposition of the light of the two colors, the duration time of the light of the two colors can be changed according to different duty ratios, the superposition effect can be different, and the user can see the indicator lights with different color senses, for example, when the duty ratio is 50%, the user sees the indicator light with a yellow color.
It should be noted that, when the first indicator light D1 and the second indicator light D2 are two dies of a two-color indicator light, and the GPIO interface 202 is configured to output pulse signals with different duty ratios to the PNP transistor 2011 and the NPN transistor 2012 according to the instruction of the CPU203 and according to the preset frequency, from the perspective of the user's vision, the user can see the indicator lights with multiple color senses, but from the perspective of the driving conditions of the first indicator light D1 and the second indicator light D2, the first indicator light D1 and the second indicator light D2 implement two of the three indicator light states described above: the first indicator light D1 was on while the second indicator light D2 was off; the first indicator light D1 is not lighted, and the second indicator light D2 is lighted at the same time, under the action of the pulse signal, the two indicator light states can be switched according to the preset frequency, and according to different duty ratios, the duration of the two indicator light states can be changed, so that the user can see the indicator lights with various color senses.
It should be further noted that, in this embodiment, the PNP transistor 2011 and the NPN transistor 2012 may be replaced by two MOS transistors to implement functions similar to those of the PNP transistor 2011 and the NPN transistor 2012, and for a person skilled in the art, according to the teachings of the embodiment of the present invention, it is obvious that the indicator control device 20 may be modified according to actual needs, so that when the conversion unit 201 includes two MOS transistors instead of the PNP transistor 2011 and the NPN transistor 2012, a single GPIO interface may be implemented to control two indicator lights to implement three indicator light states.
In this embodiment, when the first indicator light and the second indicator light are two dies of a dual-color indicator light, one GPIO interface 202 may be configured to output pulse signals with different duty ratios to the PNP transistor 2011 and the NPN transistor 2012 according to a preset frequency according to an instruction of the CPU203, so as to implement two of the three states of the indicator light: the first indicator light D1 was on while the second indicator light D2 was off; first pilot lamp D1 does not work, and second pilot lamp D2 is bright simultaneously, and when these two kinds of pilot lamp states switched according to preset frequency, pilot lamp controlling means 20 can realize that single GPIO interface is used for controlling the light that double-colored pilot lamp shows multiple look and feels, has promoted the user experience.
Referring to fig. 3, referring to implementation of the above device embodiment of the present invention, an embodiment of the present invention provides an embodiment of an indicator light control method, and the method provided in this embodiment may be implemented by using the indicator light control device 10 in the embodiment shown in fig. 1, and includes:
301. a GPIO interface sends a control signal to the conversion unit according to the instruction of the control unit;
302. the conversion unit alternatively drives the first indicator light and the second indicator light or does not drive the first indicator light and the second indicator light according to the control signal.
It should be noted that the control unit may be connected to a plurality of GPIO interfaces, each GPIO interface may implement the method provided in this embodiment, the conversion unit is connected to the first indicator light and the second indicator light, and the conversion unit is connected to the GPIO interface that transmits the control signal.
In this embodiment, one GPIO interface sends a control signal to the conversion unit according to the instruction of the control unit, thereby controlling the first indicator light and the second indicator light to implement three indicator light states.
Referring to fig. 4, referring to implementation of the above device embodiment of the present invention, an embodiment of the present invention provides another embodiment of an indicator light control method, where the method provided in this embodiment can be implemented by using the indicator light control device 20 in the embodiment shown in fig. 2, and includes:
in this embodiment, the control unit is a CPU, and the conversion unit includes a PNP transistor and an NPN transistor, and a specific connection manner can be referred to in fig. 2, which is not described herein again. The indicator lamp control method comprises the following steps, and the following steps of the method can have no mutual dependency relationship or strict time sequence relationship:
401. the GPIO interface does not drive the first indicator light and the first indicator light;
and a GPIO interface outputs high resistance to the PNP type triode and the NPN type triode according to the indication of the CPU, the PNP type triode and the NPN type triode are in a cut-off state, the first indicator light and the second indicator light are not driven, and the first indicator light and the second indicator light are not lighted.
402. The GPIO interface selects to drive a first indicator light and a second indicator light;
the GPIO interface can also output high level signals to the PNP type triode and the NPN type triode according to the indication of the CPU, the PNP type triode is in a conducting state and drives the first indicator light, the first indicator light is on, the NPN type triode is in a stopping state and does not drive the second indicator light, and the second indicator light is not on.
The GPIO interface can also output low level signals to the PNP type triode and the NPN type triode according to the indication of the CPU, the PNP type triode is in a cut-off state, the first indicator light is not driven, the first indicator light is not lightened, the NPN type triode is in a conducting state, the second indicator light is driven, and the second indicator light is lightened.
The GPIO interface can also output pulse signals with different duty ratios to the PNP type triode and the NPN type triode according to the preset frequency according to the indication of the CPU, so that the switching of two indicator lamp states in the three indicator lamp states is realized: that is, the first indicator lamp D1 is turned on, the second indicator lamp D2 is turned off, the first indicator lamp D1 is turned off, and the second indicator lamp D2 is turned on, and the states of the two indicator lamps are switched. Through the switching of the states of the two indicator lights, a user can see that two kinds of lamplight displayed by the two indicator lights flicker according to the preset frequency without stopping switching, if the first indicator light and the second indicator light are two tube cores of a double-color indicator light, when the preset frequency reaches a certain value, for example, 50HZ, the lamplight of the two colors can be rapidly and frequently switched at the moment, due to the delaying effect of human eyes, the rapid and frequent switching cannot be effectively distinguished, the user actually sees the lamplight displayed after the two kinds of lamplight are superposed, if the GPIO interface outputs pulse signals of different duty ratios to the PNP type triode and the NPN type triode according to the preset frequency according to the indication of a CPU, the user can see the indicator lights with different color senses.
In this embodiment, the GPIO interface may output a high-impedance signal, a high-level signal, a low-level signal, or a pulse signal with a different duty ratio according to a preset frequency to the PNP transistor and the NPN transistor according to an instruction from the CPU, so as to implement three states of the indicator light and also implement switching between two states of the indicator light among the three states of the indicator light.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: ROM, RAM, magnetic or optical disks, and the like.
The indicating lamp control device and the indicating lamp control method provided by the embodiment of the invention are described in detail above, a specific example is applied in the text to explain the principle and the embodiment of the invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. An indicator light control apparatus, comprising:
the control unit is used for indicating a general purpose input/output (GPIO) interface to send a control signal to the conversion unit;
the GPIO interface is used for sending the control signal to the conversion unit according to the indication of the control unit, controlling the conversion unit through the control signal and selecting to drive the first indicator light and the second indicator light or not to drive the first indicator light and the second indicator light;
the conversion unit is used for alternatively driving the first indicator light and the second indicator light or not driving the first indicator light and the second indicator light according to the control signal from the GPIO interface.
2. The apparatus of claim 1,
the conversion unit comprises a PNP type triode and an NPN type triode,
the GPIO interface is further used for sending the control signal to the PNP type triode and the NPN type triode according to the indication of the control unit, controlling the on-off state of the PNP type triode and the NPN type triode through the control signal, and selecting to drive the first indicator light and the second indicator light or not to drive the first indicator light and the second indicator light.
3. The apparatus of claim 2,
the PNP type triode is used for driving the first indicator light when the PNP type triode is in a conducting state according to the control signal from the GPIO interface; when the PNP type triode is in a cut-off state, the first indicator lamp is not driven;
the NPN type triode is used for driving the second indicator light when the NPN type triode is in a conducting state according to the control signal from the GPIO interface; when the NPN type triode is in a cut-off state, the second indicator light is not driven;
when the PNP type triode and the NPN type triode are in a cut-off state, the first indicator light and the second indicator light are not driven.
4. The apparatus according to claim 2 or 3,
the control signal is a high-level signal, the GPIO interface is further configured to output a high-level signal to the PNP type triode and the NPN type triode according to an instruction from the control unit, the PNP type triode is configured to be in an on state according to the high-level signal from the GPIO interface and drive the first indicator light, and the NPN type triode is configured to be in an off state according to the high-level signal from the GPIO interface and does not drive the second indicator light;
or,
the control signal is a low level signal, the GPIO interface is further configured to output a low level signal to the PNP type triode and the NPN type triode according to an instruction from the control unit, the PNP type triode is configured to be in an off state according to the low level signal from the GPIO interface and not drive the first indicator light, and the NPN type triode is configured to be in an on state according to the low level signal from the GPIO interface and drive the second indicator light;
or,
the control signal is high-impedance, the GPIO interface is further used for outputting high impedance to the PNP type triode and the NPN type triode according to the indication of the control unit, the PNP type triode is used for being in a cut-off state according to the high impedance from the GPIO interface and not driving the first indicator light, and the NPN type triode is used for being in a cut-off state according to the high impedance from the GPIO interface and not driving the second indicator light.
5. The apparatus of claim 2,
the control signal is a pulse signal with different duty ratios, the GPIO interface is further configured to output the control signal to the PNP type triode and the NPN type triode according to a preset frequency according to an instruction of the control unit, and the NPN type triode and the PNP type triode are configured to switch between a conduction state and a cutoff state according to the duty ratio, and select one of the PNP type triode and the NPN type triode to drive the first indicator light and the second indicator light.
6. An indicator light control method, comprising:
the GPIO interface sends a control signal to the conversion unit according to the indication of the control unit;
and the GPIO interface controls the conversion unit to select to drive the first indicator light and the second indicator light or not to drive the first indicator light and the second indicator light through the control signal.
7. The method of claim 6,
the conversion unit comprises a PNP type triode and an NPN type triode,
the process of sending the control signal to the conversion unit according to the indication of the control unit, controlling the conversion unit through the control signal, and selecting to drive the first indicator light and the second indicator light or not to drive the first indicator light and the second indicator light comprises the following steps:
and sending the control signal to the PNP type triode and the NPN type triode according to the indication of the control unit, controlling the on-off state of the PNP type triode and the NPN type triode through the control signal, and selecting to drive the first indicator light and the second indicator light or not to drive the first indicator light and the second indicator light.
8. The method of claim 7,
the process of selecting to drive the first indicator light and the second indicator light or not to drive the first indicator light and the second indicator light by controlling the on-off state of the PNP type triode and the NPN type triode through the control signal comprises the following steps:
when the PNP type triode is in a conducting state, the first indicator lamp is driven;
when the PNP type triode is in a cut-off state, the first indicator lamp is not driven;
when the NPN type triode is in a conducting state, the second indicator light is driven;
when the NPN type triode is in a cut-off state, the second indicator light is not driven;
when the PNP type triode and the NPN type triode are in a cut-off state, the first indicator light and the second indicator light are not driven.
9. The method according to claim 7 or 8,
the process of selecting to drive the first indicator light and the second indicator light or not to drive the first indicator light and the second indicator light comprises the following steps:
outputting high level signals to the PNP type triode and the NPN type triode according to the indication of the control unit, controlling the PNP type triode to be in a conducting state through the high level signals, driving the first indicator light, controlling the NPN type triode to be in a stopping state, and not driving the second indicator light;
or,
the process of selecting to drive the first indicator light and the second indicator light or not to drive the first indicator light and the second indicator light comprises the following steps:
outputting low level signals to the PNP type triode and the NPN type triode according to the indication of the control unit, controlling the PNP type triode to be in a cut-off state through the low level signals, not driving the first indicator light, controlling the NPN type triode to be in a conducting state, and driving the second indicator light;
or,
the process of selecting to drive the first indicator light and the second indicator light or not to drive the first indicator light and the second indicator light comprises the following steps:
and outputting high resistance to the PNP type triode and the NPN type triode according to the indication of the control unit, controlling the PNP type triode to be in a cut-off state through the high resistance, not driving the first indicator light, controlling the NPN type triode to be in a cut-off state, and not driving the second indicator light.
10. The method of claim 7,
the control signal is a pulse signal with different duty ratios, the control signal is sent to the PNP type triode and the NPN type triode according to the indication of the control unit, the on-off state of the PNP type triode and the NPN type triode is controlled through the control signal, and the process of selecting to drive the first indicator light and the second indicator light or not to drive the first indicator light and the second indicator light comprises the following steps:
and outputting pulse signals with different duty ratios to the PNP type triode and the NPN type triode according to the indication of the control unit and preset frequency, controlling the PNP type triode and the NPN type triode to be switched between a conducting state and a stopping state through the duty ratio of the pulse signals, and selecting one of the PNP type triode and the NPN type triode to drive the first indicator light and the second indicator light.
CN2011100759780A 2011-03-28 2011-03-28 Device and method for controlling indicator lights Pending CN102159010A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011100759780A CN102159010A (en) 2011-03-28 2011-03-28 Device and method for controlling indicator lights

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011100759780A CN102159010A (en) 2011-03-28 2011-03-28 Device and method for controlling indicator lights

Publications (1)

Publication Number Publication Date
CN102159010A true CN102159010A (en) 2011-08-17

Family

ID=44440090

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011100759780A Pending CN102159010A (en) 2011-03-28 2011-03-28 Device and method for controlling indicator lights

Country Status (1)

Country Link
CN (1) CN102159010A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013067972A1 (en) * 2011-11-11 2013-05-16 华为技术有限公司 A device with indication lamps
CN103298217A (en) * 2013-06-26 2013-09-11 深圳市共进电子股份有限公司 Light-emitting diode (LED) reminding light system capable of representing various working states
CN106792052A (en) * 2016-12-26 2017-05-31 深圳市九洲电器有限公司 The management-control method and system of a kind of GPIO of control Set Top Box LED
CN112135382A (en) * 2020-09-25 2020-12-25 深圳市创维群欣安防科技股份有限公司 Indicator lamp control circuit and electric equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1658730A (en) * 2005-04-05 2005-08-24 北京中星微电子有限公司 Method for controlling brightness of LED by duty ratio
CN2747804Y (en) * 2004-12-08 2005-12-21 海信集团有限公司 Control circuit of dual-color LED of TV set
CN2917061Y (en) * 2006-03-06 2007-06-27 徐建华 Easy-to-use digital charger
CN201018698Y (en) * 2007-03-01 2008-02-06 青岛海信电器股份有限公司 Indication lamp control circuit
US7489089B2 (en) * 2005-09-16 2009-02-10 Samir Gandhi Color control system for color changing lights
US20100201278A1 (en) * 2009-02-09 2010-08-12 Freescale Semiconductor, Inc. Serial configuration for dynamic power control in led displays

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2747804Y (en) * 2004-12-08 2005-12-21 海信集团有限公司 Control circuit of dual-color LED of TV set
CN1658730A (en) * 2005-04-05 2005-08-24 北京中星微电子有限公司 Method for controlling brightness of LED by duty ratio
US7489089B2 (en) * 2005-09-16 2009-02-10 Samir Gandhi Color control system for color changing lights
CN2917061Y (en) * 2006-03-06 2007-06-27 徐建华 Easy-to-use digital charger
CN201018698Y (en) * 2007-03-01 2008-02-06 青岛海信电器股份有限公司 Indication lamp control circuit
US20100201278A1 (en) * 2009-02-09 2010-08-12 Freescale Semiconductor, Inc. Serial configuration for dynamic power control in led displays

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013067972A1 (en) * 2011-11-11 2013-05-16 华为技术有限公司 A device with indication lamps
CN103298217A (en) * 2013-06-26 2013-09-11 深圳市共进电子股份有限公司 Light-emitting diode (LED) reminding light system capable of representing various working states
CN106792052A (en) * 2016-12-26 2017-05-31 深圳市九洲电器有限公司 The management-control method and system of a kind of GPIO of control Set Top Box LED
CN112135382A (en) * 2020-09-25 2020-12-25 深圳市创维群欣安防科技股份有限公司 Indicator lamp control circuit and electric equipment
CN112135382B (en) * 2020-09-25 2023-03-10 深圳创维数字技术有限公司 Indicating lamp control circuit and electric equipment

Similar Documents

Publication Publication Date Title
KR102152643B1 (en) The light system using the mobile device
US20050162851A1 (en) Year-round decorative lights with time-multiplexed illumination of interleaved sets of color-controllable leds
US20130193873A1 (en) Powering and/or controlling leds using a network infrastructure
EP2991324B1 (en) Method and device for button backlight processing
EP1809076A2 (en) Display with an illuminating light
CN107203458A (en) A kind of server state information display device and method
CN100579327C (en) Load driving device and load driving method
CN102159010A (en) Device and method for controlling indicator lights
US11523481B2 (en) Combinational circuit and control circuit
CN103634995A (en) Button configuration method of multifunctional lighting controller based on DALI (Digitally Addressable Lighting Interface) protocol
CN211240225U (en) Intelligent atmosphere lamp for electronic screen
CN104113972A (en) LED power supply switching circuit
JP6883781B2 (en) Lighting control device and lighting system
CN204362346U (en) Illumination control apparatus and the light fixture with sleeping pattern
CN108377594B (en) Driving method and driving device for indicator light of mobile equipment and mobile equipment
CN104990217A (en) Operation control method and device of air conditioner and air conditioner
CN210629914U (en) Capacitor pre-charging circuit, LED drive circuit and LED device
CN108449849B (en) RGBW four-color L ED light mixing experiment system
CN208175060U (en) Lamp-controlling circuit
CN101169756B (en) Display method for using LED half intensity as item background operation state
CN217789930U (en) Multifunctional LED touch remote controller
CN111867185A (en) Capacitor pre-charging circuit, LED drive circuit and LED device
CN107249230B (en) Device and method for displaying equipment grouping information
JP2009271414A (en) Lamp indicator
CN217936034U (en) Barrier lamp control device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110817