ENCYCLOPEDIA OF RADIO ELECTRONICS AND ELECTRICAL ENGINEERING 7-channel SDU on LEDs. Encyclopedia of radio electronics and electrical engineering Encyclopedia of radio electronics and electrical engineering / Musician The scheme of the proposed device resembles the scheme from [1] but has a different functional purpose. LEDs with a diameter of 5 mm in red color can change the brightness of the glow together or independently in 7 channels. In the absence of these LEDs, you can use others, because. the function of limiting the current through the LEDs (approximately at the level of 20 mA) is successfully performed by the internal buffers of the AT89C2051 microcontroller. The circuit is operable at a supply voltage of 6 V and can be powered by four AA galvanic cells without reducing the brightness of the LEDs during the discharge of galvanic cells. The microcontroller (MK) DD2 in this device is in a state of sequential reading of memory cells with cyclic repetition (along the ring). For programming, you do not need to know the MK command system. The program consists only of codes that are sequentially issued from memory to the pins of port P1. With each clock pulse from the generator on the DD1 chip, the MK outputs codes from the memory (2048 cells) byte by byte to the pins of the P1 port, to which the LEDs are connected. The logical "1" of the code is a high level at the corresponding output of the MK, at which the pair of LEDs connected to it is extinguished. When "0" - the output is low, and a pair of LEDs is on. The change in brightness is regulated by a variable resistor R3. To ensure that the transition from one memory cell to another has a minimum duration and does not affect the glow of the LEDs, the generator pulses have a large duty cycle. The MC memory is divided into 16 parts of 16 blocks. Each block is divided into frames of 8 cells that simulate pulse width modulation (PWM) to change the brightness of the LEDs. The "0" state on each port pin in the frame is 8 memory cells in a row for the maximum brightness, and one of 8 cells for the minimum brightness. Therefore, it turns out 8 gradations of brightness. 16 blocks provide its rise and fall, and 16 parts allow you to independently change the brightness of any channel (or any other combination that depends only on the developer's imagination). For programming MK, you can use the simplest programmer without electronic components [2]. As the simplest example of changing the brightness of all LEDs, you need to memorize the code. given in the table, and repeat this block to the end of the entire memory 15 more times. The device can be used as part of more complex light-dynamic installations on MK to reduce the amount of their software. Literature
Author: V.Melnik, Dneprodzerzhinsk, Ukraine See other articles Section Musician. Read and write useful comments on this article. Latest news of science and technology, new electronics: Artificial leather for touch emulation
15.04.2024 Petgugu Global cat litter
15.04.2024 The attractiveness of caring men
14.04.2024
Other interesting news: ▪ The electric car is charged through the antenna ▪ Hearing does not deteriorate with age ▪ Ion-conducting wood membranes ▪ All sea salt is contaminated with plastic News feed of science and technology, new electronics
Interesting materials of the Free Technical Library: ▪ section of the Electrician website. PUE. Article selection ▪ article Crush water in a mortar, carry water in a sieve. Popular expression ▪ article Who loses horns? Detailed answer ▪ article Improving the video card. Encyclopedia of radio electronics and electrical engineering
Leave your comment on this article: All languages of this page Home page | Library | Articles | Website map | Site Reviews www.diagram.com.ua |