Categories: Practical Electronics, How does it work
Number of views: 316195
Comments on the article: 20

How are the Christmas lights

 

How are the Christmas lightsNew Year holidays come as always unexpectedly and bring with them a lot of pleasant trouble. It’s time to think about gifts, first of all for children, for adults to set the table, pick up good music and be sure to put a Christmas tree, which to dress up, so that the guests would have fun and cozy. And the first thing to hang on the tree is, of course, Christmas tree garlands. All other toys, as a rule, are hung after garlands. Next, we will talk about the device of a variety of different Christmas garlands - old and modern.

In ancient times, when there was no electricity, and the New Year was already celebrated, special New Year candles were lit on the Christmas tree. This decoration was very fire hazard. But these times have already passed, everyone began to use electric garlands.

These were ordinary small bulbs from a flashlight or from the backlight of a scale in a radio receiver, connected in series. Of these bulbs, garlands were made by enthusiasts mainly with their own hands. They just picked up a soldering iron, who, of course, knew how to use it, took a wire and bulbs, and after a while the New Year's garland was already hanging on the tree.

A little later, New Year's garlands began to be produced industrially. Small-sized lampholders for lamps and colored shades of various shapes were used. Sometimes shades were made transparent, and the lamps themselves were painted.

Simple christmas garland

Flashing lights and blinkers

But calmly looking at the glowing Christmas garland is somehow unhappy, I want my soul to turn around. Apparently, this is facilitated by some kind of blinking of the garland. In general, a blinking garland attracts with its beauty, and even the expectation of some kind of miracle or surprise. If there are several garlands, then it is possible to get various lighting effects, for example, running fire, running shadow, running twos and triples, as well as many other interesting effects.

Once such designs were developed by radio amateurs, these circuits were published in amateur radio magazines, as a rule, in November issues. But these magazines, under the conditions of socialist mismanagement, arrived late almost for a whole month, so by the New Year only last year's flasher could be made.

As an element base, microcircuits of a small degree of integration were used, primarily K155 and K561 and their varieties. As examples, we can cite the scheme from the journal "Radio" No. 11 of 2002.

In this magazine, the author I. Potachin published several schemes for managing garlands at once. The most interesting scheme is called "Musical garlands."

The basis of the circuit is a counter DD2 type K561IE16, which through the keys on the chip DD3 and transistors VT4 ... VT7 controls four LED garlands. The most interesting thing is that the UMS8-01 musical synthesizer chip is used as the master oscillator. Such microcircuits were used once for voicing children's toys and musical calls: they simply played the melodies recorded in them.

So in this circuit, the output sound signal is also used to clock the counter. One can only guess how the pictures generated by the LEDs against the background of this sound will look. Naturally, music also sounds through the speaker.

Further in the same magazine, in the same article, several more circuits of the same author were published, but already using flashing LEDs. Here are the calculations of LED garlands.

In the journal "Radio" No. 11 of 1995, a scheme was published under the name "Automatic control unit for garland" by A. Chumakov. The circuit provides alternating smooth ignition and damping of the garland at a speed specified by the control unit. The device diagram is shown in Figure 1.

The scheme of the automatic control unit garland

Figure 1. Scheme of the automatic control unit for garland

If you look closely, the circuit represents a triac power regulator made on a KT117A double-base transistor. Only the charge rate of the capacitor does not change manually using a variable resistor, but by switching individual resistors using a counter - a K561IE8 decoder. For comparison, Figure 2 shows a diagram of a phase power regulator using a KT117 two-base transistor.

Power Phase Circuit Diagram

Figure 2Power Phase Circuit Diagram


Microcontroller management of a New Year's garland

As structures on microcontrollers appeared in amateur radio creativity, Christmas flashers, or as they are respectfully called “lighting effects automatons”, also began to be developed on microcontrollers. The most exotic design was published in the journal Radio, No. 11, 2012, p. 37, entitled “Cell Phone Drives a Christmas Garland,” by A. Pakhomov.

The basis of the design was taken by a board from a faulty Chinese garland. The author writes that he was attracted by the originality of the output stage, controlled directly from MK. He recalls those flashing lights that were built on K155 series microcircuits, powerful KU202 thyristors (there simply weren’t others), and as a whole, you could put a Christmas tree on such a flasher.

And here it was enough to change the controller on the faulty board, write a program with lighting effects and supplement it with some control panel. This remote control was the old Siemens C60 phone lying around idle. The microcontroller AT89C51 was used as the manager. What came of this is shown in Figure 3.

Microcontroller control scheme for New Year's garland

Figure 3. Microcontroller control scheme for the New Year garland (click on the picture to enlarge)

Although this controller is already outdated and discontinued, it is one of the best developments of Intel, later released by Atmel. Designs on this MK never hang, they do not need a watchdog. The command system is so good that it still remains unchanged, despite the emergence of new models of the MSC-51 family.


Simple LED flasher

Slightly higher than the article by A. Pakhomov in the same journal "Radio" No. 11, 2012, an article by I. Nechaev "From the details of CFL. LED flasher for a Christmas toy. " The circuit is made on a three-color LED and three symmetrical DB-3 dinistors “extracted” from motherboards from faulty energy saving lamps.

Scheme of a simple LED Christmas garland

Figure 4. Scheme of a simple LED Christmas garland

Each channel of a three-color LED is controlled by its relaxation generator, assembled on DB-3. Consider the operation of the circuit as an example of one channel, for example, red.

The capacitor C1 is charged through the resistor R3 from the rectifier R1, VD1 to the breakdown voltage of the dynistor VS1 (32V). As soon as the dinistor opens, capacitor C1 is discharged through the red element of the three-color LED, resistor R4, and dinistor VS1. Next, the cycle repeats.

The red, green and blue elements of the three-color LED have their own generators and operate independently of each other. At the same time, the frequency of each generator is different from the other, therefore flashes occur with a different period. The design is placed in a transparent case and can be used, for example, as a Christmas tree top. If you add a white HL2 LED to the circuit, then color flashes will occur on a white background.

Many more descriptions of the designs of domestic amateur radio fans, old or new, good or bad, could be given, but they were all made almost in single copies. Modern stores are completely overwhelmed with electronics made in China. Even New Year's garlands and those are Chinese, besides they are now worthless. Let’s see what is hidden inside.


Controller of chinese new year's garland

Outwardly, everything looks very simple. A small plastic box with one button, which includes a power cord with a plug, and four garlands come out.When you turn on the garland, they immediately begin to show all the lighting effects in turn. There are 8 of these effects, as indicated by the inscriptions under the button. At the touch of a button, you can simply switch directly to the desired light picture.

If you open the box, then everything inside is also quite simple, as shown in Figure 5.

Chinese garland controller

Figure 5

Here you can consider all the details. The microcontroller, as always, is made in the form of a drop of a black compound, near it a control button, electrolytic capacitor, a single diode and three output thyristors.

There is a place on the board for the fourth thyristor, and if you solder it, you get another additional channel. In the controller, this channel, as a rule, is also flashed. Just our Chinese friends saved one thyristor. Those who have ever opened such control units assure that only two thyristors are sealed in some boxes. The economy must be economical! Our still Soviet slogan.

Despite such a small size, PCR406 thyristors have a reverse voltage of 400V, and a forward current of 0.8A. If we assume that the load consumes a current of only 25% of the maximum, then at a voltage of 220V, you can switch power 220 * 0.2 = 44 (W).

Figure 6 shows a printed wiring, according to which you can sketch a circuit diagram, which has been done repeatedly. Here you can see the holes for the fourth thyristor, just the one that was saved.

Printed circuit

Figure 6

Savings also affected the diode bridge: instead of four diodes, only one is used on this board. And everything else corresponds to the circuit shown in Figure 7.

Christmas garland diagram

Figure 7

The mains voltage is rectified by the diode bridge VD1 ... VD4 and through the quenching resistor R1 is fed to the 10th output of the microcontroller. To smooth the ripple of the rectified voltage, an electrolytic capacitor C1 is also connected here. The current consumption of the microcontroller is very small, so in the future, instead of a bridge of four diodes, the Chinese decided to do one.

A small remark about increasing the reliability of the entire circuit as a whole. If a Zener diode with a stabilization voltage of 9 ... 12 V is soldered in parallel to capacitor C1, then the likelihood of failure of the microcontroller or simply explosions of the thyristors will decrease much.

The R7 resistor connected to pin 1 of the microcontroller directly from the network wire deserves special attention. This is done to synchronize with the network in order to phase control the power. This is exactly what works when the garland lamps light up or go out.

On the right side of the microcontroller there are thyristor control outputs and a control button, which was described above. Thyristors turn on at the moment when a high level appears at the corresponding output of the MK, then the corresponding garland lights up.

Sometimes New Year's garlands of high power are required, from several hundred watts and above. In this case, the considered circuit can be used as a "brain", it is enough to simply supplement it with powerful triac keys. How to do this is shown in Figure 8.

Scheme of New Year's garland of big power

Figure 8. Schematic of New Year's garland of big power (click on the picture to enlarge)

Here you should pay attention to the fact that the power supply of the MK is carried out from a separate source galvanically isolated from the network.



LED lights

They use the same controller with one button, the same thyristors, but instead of bulbs, garlands are composed of LEDs in three or four colors. Each garland contains at least 20 LEDs with current-limiting resistors.

Moreover, the design of such a garland is just a Chinese mystery: in the first half of the garland, a resistor is soldered to each LED, and the remaining ten pieces are simply connected in series. Again, saving immediately ten resistors.

This design can apparently be explained by production technology. For example, on the one line they collect the first half, which is with resistors, and on the other line without resistors.Then it remains only to connect the two halves into one. But this is only a hunch.

It is hoped that everything is in order with you, at least with New Year's garlands. Therefore, decorate the Christmas tree, cover the festive table, invite guests, celebrate the New Year. Happy New Year, comrades, friends, gentlemen! This is how you like it more.

See also on this topic:Tips for repairing Chinese New Year garlands

Boris Aladyshkin 

See also at bgv.electricianexp.com:

  • New Year's garlands - the main safety!
  • How to make a powerful New Year garland with Chinese brains
  • Tips for repairing Chinese New Year garlands
  • DIY LED Garland Controller
  • How to choose a Christmas tree garland

  •  
     
    Comments:

    # 1 wrote: Nikolay | [quote]

     
     

    A very interesting article, especially about the device of Chinese LED lights. I didn’t think that everything was so primitively arranged there.

     
    Comments:

    # 2 wrote: | [quote]

     
     

    In the diagram in Fig. 2 there is an о п "’ ’:). Instead KD524 should read KS524.
    Good luck!

     
    Comments:

    # 3 wrote: Nikolay | [quote]

     
     

    When you turn on the garland, it turns on for a second and does not light up anymore, but when it is turned on and off quickly, it lights up and goes out as quickly, which is the problem why it does not work as before, the chip may have flown, or I’m not catching up with something (sometimes it tries to flash on queues but it's all in fractions of 1 or 1.5 seconds and goes out.

     
    Comments:

    # 4 wrote: | [quote]

     
     

    I bought a Chinese blinking garland without a box with a controller. How the hell is she blinking?

     
    Comments:

    # 5 wrote: Risha | [quote]

     
     

    This is a great article! Thanks! Now the demand is mainly for ready-made, it’s great that someone else is doing something on his own, with his hands ... But there are so many things to do just by understanding the schemes :))

     
    Comments:

    # 6 wrote: | [quote]

     
     

    Such a question: if something burned out in the box, is it possible to connect the wiring directly? If possible, then how?

     
    Comments:

    # 7 wrote: | [quote]

     
     

    Johnny,
    If you have a Garland of 100 microlamps (1 branch -25 light bulbs) - then it is undesirable. In 1, your Garland will begin to shine brighter, checked by personal experience, when accidentally burned a box. In 2, with this connection, your entire garland will slowly begin to burn out. And 3, Fire hazardous, with the Control Panel is safer after all. Although if you have 200 microlamps (1 branch of 50 light bulbs) then in principle it is possible.

    Timur,

    Everything is very simple, in the chain of the Garland there is a flashing light. It is usually colorless.

     
    Comments:

    # 8 wrote: | [quote]

     
     

    And as usual, the flashing light is always transparent, i.e. not colored in this garland.

     
    Comments:

    # 9 wrote: Irina | [quote]

     
     

    Very useful article, thanks!
    But could you tell me how you can make a Chinese garland on the diagram that you have published, make it work in only one mode or not blink in principle? I am not strong in theory, as far as I understand, the switching of modes is due to the counter, maybe somehow it is possible to force the controller not to summarize?

     
    Comments:

    # 10 wrote: Vasiliy | [quote]

     
     

    Irina,
    so that the garland does not blink, you just need to connect it to bypass the controller, i.e. directly.

    To do this, if you look at Fig. 6 from the article, you need to disconnect the three wires from the circuit to the left of the board (counting from the bottom), twist them together, and connect to the lower wire to the right of the board (to the one that goes to the power plug)

     
    Comments:

    # 11 wrote: | [quote]

     
     

    Please tell me: is it possible to repair a separate branch with a red color on an LED garland if all the resistors burn out at first? And somehow it’s not comme il faut - everything burns except for this color.

     
    Comments:

    # 12 wrote: Dmitriy | [quote]

     
     

    Tell me how to get rid of the low-frequency flicker of a Chinese LED garland.

    I thought it was a small capacitor, it was 10 nF, I soldered in parallel to 100 nF, but the problem did not go away.

     
    Comments:

    # 13 wrote: Vladimir | [quote]

     
     

    Vasiliy,

    So that the garland does not blink, instead of twisting the wires, it is enough to short the anode and cathode of the output thyristors (or whatever they are called by thyristors, I already forgot). To do this, you just need to take a little more solder on the soldering iron tip, and connect these two legs, since they are located very close to the circuit, and the switching control electrode is closer to the controller.

    I had the opposite situation. The Chinese garland is already ten years old. After turning it on, it got a little burnt, and then 2 colors began to burn constantly, and the other two blinked. Dismantled, in the garland there were only 2 output thyristors, although at first they seemed to me as transistors. I rang - it turned out to be broken (short-circuit transitions) of the part with the marking Q406 (the anode and cathode are shorted). Later, crawling on an Internet and looking for an analogue, I learned that these are still thyristors, and even powerful ones. Replaced by the MCR100, everything worked as it should, both channels began to blink again.

    As a result, the cost and time of work:
    disassembling, dialing and determining the cause of the malfunction - 3 minutes;
    1 hour crawling on an Internet in search of finding thyristor analogues;
    half an hour of going to the radio store for an analogue (since it is located almost next to the house);
    the cost of the mcr 100-8 analogue is about 11 US cents;
    work on replacing a burned-out element - 15 minutes (the soldering iron is old, it heats up for a long time) .P.S. And on December 31, unexpectedly hit the market and bought for 1 dollar 2 times longer the same Chinese garland for parts :)

     
    Comments:

    # 14 wrote: | [quote]

     
     

    The Chinese have long advanced to a new level. Now in 4-color LED garlands there are 4 diodes, 2 thyristors, and green with blue and yellow with red are closed, and resistors are only on 1 LEDs.
    Here is the lack of remoteness ... And it is stitched with 5 colors ...

     
    Comments:

    # 15 wrote: Wines | [quote]

     
     

    A very good article. It is necessary here to put "+" "-" (like, anti-like). So that people immediately stumbled upon this article, and not a bunch of unnecessary !!!

     
    Comments:

    # 16 wrote: Evgeny | [quote]

     
     

    The circuit in Fig. 8 will not work as expected: the first output (synchronization with the network) according to the circuit generally hangs in the air now ..

    And the controller's power supply by datasheet is not more than 4.5 volts. Give there 12 and kapets him.

    In short, the diagram is drawn here, but not tested in practice.

     
    Comments:

    # 17 wrote: Tiger | [quote]

     
     

    In Soviet times, all the magazines and newspapers I wrote out came on time.

     
    Comments:

    # 18 wrote: Goldenscrew | [quote]

     
     

    Hello, and how to write bulbs from the garland shown above without this controller box? There is just a tape and there is no box, and write above that it will burn if you just connect it at two hundred and twenty.

     
    Comments:

    # 19 wrote: Andrew | [quote]

     
     

    Hello. Please explain why the thyristors in the circuit are drawn in the opposite direction? After all, this is a diode with a control electrode, opens in one direction. Or do I not understand something?

     
    Comments:

    # 20 wrote: Victor | [quote]

     
     

    Does anyone have a program from the microcontroller of the Chinese LED strip (or equivalent?)
    I want to stick ATINY13 or esp8266 instead of the chip (if I want wifi).

    I have no idea (a beautiful solution) how to make a smooth change in the brightness of LEDs.