Set the LED color tone from red to green

Publisher:as233632621Latest update time:2013-10-06 Source: EDN电子技术设计Keywords:LED Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

  The circuit in Figure 1 can create 32° hue of light using red and green LEDs . A constant current is divided into two parts. One part flows through a red LED and the other part flows through a green LED. The current through the red LED can be changed from 0~%, thereby also changing the complementary green LED current (the sum of the two is 100%). When this happens, the eye receives any hue of light mixed with red and green. Roughly speaking, from red to green, it passes through orange, amber and yellow. Any of the 32 hues between red and green can be set, such as orange, amber and yellow.

  IC3 is an Analog Devices AD5228 resistive DAC with a 1-in-32 resolution, which determines the resolution of the circuit. In this application, the resistive DAC functions as a digital potentiometer. The position of its actuator can be manually set by briefly grounding its pull-up and pull-down control terminals. The resistive DAC has no memory, so this setting must be done every time the power is turned on.

  Keeping the AND pin at logic low, the actuator position will increase or decrease at a rate of one step every 0.25 seconds, so the color of the output light will gradually change (Figure 2). In addition, the LED color displayed at power-on can be preset. In the high preset, the color is 100% red when powered on. In the low preset, it is preset at the midpoint of the resistive DAC, so the color at power-on is 50% red and 50% green, and the color seen is yellow.

  The circuit uses two LEDs from IC1, a high-performance tri-color ASMT-MT00 LED from Avago Technologies. The blue LED is not used. However, any of the other five red/green, red/blue, blue/red, green/blue, or blue/green combinations can be connected instead of the green/red combination used in this circuit.

  Although the sum of the currents flowing through the red and green LEDs is close to one-quarter of the nominal current of each LED, it is still bright enough that the light emitted by IC1 should not be viewed directly with the naked eye at a distance of less than 1 foot.

  IC2, IC3, and IC4 form a low-side source of dual complementary analog voltages (Reference 1). The resistive DAC replaces the traditional potentiometer in the previous design example. These complementary analog voltages are the input voltages to the two power stages formed by transistor Q1 and mid-power transistor Q2.

  The power stage (a voltage-to-current converter consisting of two bipolar transistors in cascade and an op amp) drives two LEDs. The circuit senses the output current across resistor RE. Resistor RB eliminates leakage current from the two bipolar transistors in the cascade. These power stages work even with only one bipolar transistor instead of two. The cascaded bipolar transistors provide precision for the voltage-to-current converter. With a single power transistor, the associated error is about 1/β, while when cascaded, the error is about 1/(β1β2), where β1 and β2 represent the current gains of the bipolar transistors, about 300 and 100, respectively. The error comes from the current through resistor RE, which is the sum of the output current and the base current of transistor Q1.

  Keeping it low, feeding a 50% duty cycle, 0.05 Hz frequency logic waveform into the foot can produce a slow, periodic, quasi-continuous color "wave" from red to green to black.

Keywords:LED Reference address:Set the LED color tone from red to green

Previous article:Analysis on the mechanism of dead lamp beads in T8 LED lamp withstand voltage test and discussion on countermeasures
Next article:LED shopping mall lighting requirements and design points

Recommended ReadingLatest update time:2024-11-15 07:59

MTC: plans to invest 2 billion to add 2,000 new LED packaging production lines
On June 30, Shenzhen MTC Holdings Co., Ltd. announced that its holding subsidiary Jiangxi MTC Optoelectronics Technology Co., Ltd. (hereinafter referred to as "MTC Optoelectronics") will add 2,000 LED packaging production lines and corresponding process equipment at its Nanchang production base (the final number will
[Mobile phone portable]
Stan Technology launches Micro-LED driver for XR
Recently, at the "2023 Songshan Lake China IC Innovation Summit Forum", Liu Zhaojun, chairman of Sitan Technology, introduced the current status of the Micro-LED industry and the products of Sitan Technology. Display is one of the most important parts of XR applications. On the one hand, the BOM cost is the largest
[Mobile phone portable]
Stan Technology launches Micro-LED driver for XR
Inventory of the ten significant features of wireless LED display
The information input of traditional LED display can only be carried out by directly connecting to the computer through a data cable. Therefore, the traditional LED display cannot meet the needs of remote information real-time release, and thus cannot solve the large-scale networking information release of LED display
[Power Management]
51 MCU (V) - GPIO lights up an LED
1. Introduction to LED control Light-emitting diodes are a type of semiconductor diode that can convert electrical energy into light energy, often abbreviated as LED. Like ordinary diodes, light-emitting diodes are composed of a PN junction and also have unidirectional conductivity. When a forward voltage is applied t
[Microcontroller]
51 MCU (V) - GPIO lights up an LED
ARM bare metal lighting LED
Experimental development version: S5PV210 1. What is GPIO? General Purpose Input Output (GPIO) is abbreviated as GPIO and is part of the chip pins. Embedded systems often have a large number of external devices/circuits with relatively simple structures. Some of these devices/circuits require the CPU to provide cont
[Microcontroller]
ARM bare metal lighting LED
A microcontroller experiment every day - LED water lamp
Just like the "Hello world" you wrote when learning programming language, the LED running light is also such an example. Through this experiment, we can quickly understand the basic usage of 51 microcontroller I/O port and the basic principle of LED light. LED (light emitting diode) is a solid-state semiconductor devi
[Microcontroller]
Research on high power LED street lighting driver
1 The significance and value of LED drive circuit research LED has become the focus of attention in the lighting field due to its many advantages such as energy saving and environmental protection, long life, high photoelectric efficiency, and short startup time. It has developed rapidly in recent years. Due to the un
[Power Management]
Research on high power LED street lighting driver
Linux driver - LED blinking
Connect the development board and PC, then turn on the power switch of the S3C development board. After successful startup, execute the build.sh script file to compile and install the LED driver. The build script file will automatically upload the driver's .ko file to the S3C development board and install it. T
[Microcontroller]
Latest Power Management Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号