Menu English Ukrainian russian Home

Free technical library for hobbyists and professionals Free technical library


ENCYCLOPEDIA OF RADIO ELECTRONICS AND ELECTRICAL ENGINEERING
Free library / Schemes of radio-electronic and electrical devices

7-channel SDU on LEDs. Encyclopedia of radio electronics and electrical engineering

Free technical library

Encyclopedia of radio electronics and electrical engineering / Musician

Comments on the article Comments on the article

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.

7-channel CDS with LEDs
(click to enlarge)

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

  1. V. Melnik. Souvenir Christmas tree on a microcontroller... without a program. - Radio. 2004, No. 11. P.36.
  2. V. Melnik. AT89C2051 programmer for IBM PC. - Radio world. 2006, No. 4, p.20.

Author: V.Melnik, Dneprodzerzhinsk, Ukraine

See other articles Section Musician.

Read and write useful comments on this article.

<< Back

Latest news of science and technology, new electronics:

Artificial leather for touch emulation 15.04.2024

In a modern technology world where distance is becoming increasingly commonplace, maintaining connection and a sense of closeness is important. Recent developments in artificial skin by German scientists from Saarland University represent a new era in virtual interactions. German researchers from Saarland University have developed ultra-thin films that can transmit the sensation of touch over a distance. This cutting-edge technology provides new opportunities for virtual communication, especially for those who find themselves far from their loved ones. The ultra-thin films developed by the researchers, just 50 micrometers thick, can be integrated into textiles and worn like a second skin. These films act as sensors that recognize tactile signals from mom or dad, and as actuators that transmit these movements to the baby. Parents' touch to the fabric activates sensors that react to pressure and deform the ultra-thin film. This ... >>

Petgugu Global cat litter 15.04.2024

Taking care of pets can often be a challenge, especially when it comes to keeping your home clean. A new interesting solution from the Petgugu Global startup has been presented, which will make life easier for cat owners and help them keep their home perfectly clean and tidy. Startup Petgugu Global has unveiled a unique cat toilet that can automatically flush feces, keeping your home clean and fresh. This innovative device is equipped with various smart sensors that monitor your pet's toilet activity and activate to automatically clean after use. The device connects to the sewer system and ensures efficient waste removal without the need for intervention from the owner. Additionally, the toilet has a large flushable storage capacity, making it ideal for multi-cat households. The Petgugu cat litter bowl is designed for use with water-soluble litters and offers a range of additional ... >>

The attractiveness of caring men 14.04.2024

The stereotype that women prefer "bad boys" has long been widespread. However, recent research conducted by British scientists from Monash University offers a new perspective on this issue. They looked at how women responded to men's emotional responsibility and willingness to help others. The study's findings could change our understanding of what makes men attractive to women. A study conducted by scientists from Monash University leads to new findings about men's attractiveness to women. In the experiment, women were shown photographs of men with brief stories about their behavior in various situations, including their reaction to an encounter with a homeless person. Some of the men ignored the homeless man, while others helped him, such as buying him food. A study found that men who showed empathy and kindness were more attractive to women compared to men who showed empathy and kindness. ... >>

Random news from the Archive

Pocket infrared thermometers 12.03.2003

EXTECH INSTRUMENTS announced the release of pocket infrared thermometers model IR201.

The thermometer weighs only 80 grams and measures the temperature of a 1 inch object at a distance of up to 6 inches (15 cm) in a temperature range from -30 to +260°C.

Other interesting news:

▪ The electric car is charged through the antenna

▪ Hearing does not deteriorate with age

▪ Ion-conducting wood membranes

▪ spy beetle

▪ 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 A furniture upholsterer who prepares flooring materials. Standard instruction on labor protection

▪ article Improving the video card. Encyclopedia of radio electronics and electrical engineering

▪ article Loudly compensated volume control. Encyclopedia of radio electronics and electrical engineering

Leave your comment on this article:

Name:


Email (optional):


A comment:





All languages ​​of this page

Home page | Library | Articles | Website map | Site Reviews

www.diagram.com.ua

www.diagram.com.ua
2000-2024