
ATmega88 RGB lamp with DMX interface
The design of a light source with a DMX interface, consisting of RGB LEDs panel, and thus able to illuminate objects with light of almost any color. Over 60 super-bright LEDs with up to 100,000 mcd luminosity were used... Electronics Projects, ATmega88 RGB lamp with DMX interface "avr project, microcontroller projects, " Date 2019/12/09
The design of a light source with a DMX interface, consisting of RGB LEDs panel, and thus able to illuminate objects with light of almost any color. Over 60 super-bright LEDs with up to 100,000 mcd luminosity were used in its construction. The device fits the KM-95 enclosure, which has a handle for mounting it to a wall or ceiling. Thanks to the modular construction (the device consists of a driver board and a board with LEDs), the controller can be powered by other LEDs, e.g. by supplying RGB strips and obtaining a different lighting arrangement. Recommendations: the lamp will be useful for people arranging the stage.
The DMX RGB lamp circuits are powered from the U1 pwm stabilizer built using the popular MC34063ACD integrated circuit. Thanks to this, the supply voltage of the system, and thus – LEDs, can reach 40 V, and the stabilizer will not heat up excessively, which would be the case when using a linear stabilizer. The U2 ICL7660 system generates negative supply voltages for the needs of operational amplifiers.
DMX control data is received using U6 (physical layer interface – MAX485), and then decoded using an Atmel ATmega88PA microcontroller. It generates PWM signals controlling current sources. Built using operational amplifiers and MOS transistors. Thanks to this, resistors with low resistance can be used, which means that energy losses are not high.
Due to the low channel resistance in the conduction state of the MOS transistors used, they also do not suffer large losses, which makes the heat sink unnecessary. The source current depends on the voltage at the non-inverting input of the operational amplifier and the value of resistance connected in series with the source of the transistor. For example, for the “green” channel (PwmG)
Schematic diagram of the RGB lamp with the DMX interface
Orange is not recommended due to high power losses and/or the need to thicken the tracks. Parameters from the yellow fields can be obtained after changing the resistance R7, R8 and R12. For 2 V voltage at the non-inverting input of the amplifier, use 15kΩ, for 3V – 6.8kΩ, 4V – 2.4kΩ, for 5V 0Ω. These resistors together with capacitors C12, C13 and C14 form an RC filter.
The design uses C12 … C14 capacitors to eliminate harmful oscillations, however, prototype testing has shown that they are not necessary and should not be assembled. Their use would reduce the PWM signal slopes or even (at a high time constant) the formation of a constant component.
Capacitors C15, C16, C17 can not be mounted, but thanks to them during measurements the image on the oscilloscope is clearer. It is not necessary to protect the transistor gates against exceeding the Vgs voltage (depending on the 12 … 20V transistor), because the transistor will be fully open at a gate voltage of about 6.2 V and the operational amplifier will not allow further voltage increase.
The LED board, in addition to the LEDs, contains equalizing resistors connected in series in each branch. In addition, 1 kΩ resistors were added in parallel in each LED branch. Without them, it would not be possible to completely turn off the LEDs, because even at 0V at the current source input a certain minimum current flows through them, which is enough for a slight light of the LEDs. The LEDs are arranged in a “mosaic” such as TVs and CRT monitors.
FILE DOWNLOAD LINK LIST (in TXT format): LINKS-26359.zip
20 dB Vu mètre Circuit LM3916 LM3916 Vu mètre Circuit Indicateur rna Champ de lecture à 10 points composé de LED. Les diodes ont été mises à l'échelle en dB, transmettant irn, de D4 à D13, respectivement, les poids suivants: -20 dB, -10 dB, -7 dB, -5 dB, -3 dB, -1 dB, 0 dB, +1 dB, +2 dB, +3 dB. L'indicateur LED peut fonctionner en mode ligne ou spot. Il est sélectionné en plaçant le cavalier MODE. Si elle est compacte, le compteur fonctionne en mode ligne. Si ouvert, en mode point. Le signal d'entrée est dirigé vers l'entrée In via Condensateur C3 et résistance R5. Il est ensuite envoyé à l'entrée du détecteur de crête composée de diodes D1 et D2, d'un potentiomètre PR1 et d'un amplificateur opérationnel U2. À l'aide du potentiomètre PR1, vous pouvez régler l'amplitude du scénario de la tension de sortie. La résistance d'entrée du détecteur est grande, donc elle ne surcharge pas trop la source du signal.