Stairs.  Entry group.  Materials.  Doors.  Locks.  Design

Stairs. Entry group. Materials. Doors. Locks. Design

» How to connect a Christmas tree garland from 5 volts. Dangerous Chinese garlands. Replacing the Chinese garland control unit

How to connect a Christmas tree garland from 5 volts. Dangerous Chinese garlands. Replacing the Chinese garland control unit

The New Year holidays are approaching and on this occasion I want to do something bright and festive! I decided to make a New Year's garland. What could be brighter and more festive than a New Year's garland? :). I decided to make not a simple garland, but a sophisticated one! 12 channels plus control from an IR remote control. In order not to make a garland from scratch, it was decided to use donors internal organs For spare parts, use ready-made Chinese garlands. This makes sense for the following reasons:
— the cost of the garlands, let’s be honest, the cost is a pittance. Try to buy wires, LEDs, spare parts for the same money... And if you don’t take an LED garland as your goal, then light bulb garlands are now sold for almost nothing;
— an important factor is ready-made LED lines soldered together. Soldering yourself, heat shrinking, making mistakes and redoing 12 lines is quite a tedious job;
- yet, I don’t know about you, but I have a certain number of non-working garlands lying around (they are often brought to me to repair them - and they end up) you can not spend money on new ones at all, but collect them from what you have.

To get started, watch the video:

ATTENTION!
dangerous voltage 220V!

LIFE THREATENING!
THAT'S WHY:




If you realize the danger assembling such a garland and undertake to comply with safety rules when working with dangerous voltage, you can read further about how to assemble a super garland.

1 Garlands patients.

As sacrifices, 3 new LED garlands were purchased - they are beauties :)

Cost $3 per piece (100 LEDs). But if the Chinese don’t save, they will cheat on themselves! In fact, the garlands contained 3 channels. That is, the controller itself is four-channel, but there are three thyristors and three LED lines. In order to disguise such disgrace, the Chinese mix LEDs of two colors in one line. In short, I had to buy another one :(. But this is not the limit of savings, there are often two channels at all! Be careful - open the box and see how much the thyristors cost.

From the original controllers for the improved garland, resistors, rectifying diodes, thyristors, a button, and boxes will be used. You will need to buy a little more than a dozen resistors, a couple of capacitors, an ATtiny2313 microcontroller and other little things.

2 Scheme.

Here is a diagram of the original garland:

The diagram shows that dimming of LED channels is carried out by thyristors PCR406

Datasheet for thyristor PCR406

I don't see any point in changing them to something else. To generate the supply voltage of the original controller, a quenching resistor is used (the quenching resistor, together with the internal resistance of the controller, forms a voltage divider). The solution is controversial, but in this case it is justified by its low cost (the controller current is insignificant and the power allocated to the resistor is very small). Having weighed the pros and cons of such a decision, I decided to do something similar in my scheme. True, the ATtiny2313 current (within 8mA) is significantly higher than the original controller, but still allows the use of quenching resistors.

Diagram of the new garland controller:

6 Assembling the power supply board.

Before assembling the power supply board, you need to make certain measurements to calculate the value of the quenching resistors. To do this, we connect the soldered controller board with the firmware microcontroller to an EXTERNAL 5 volt source (+5v and -5v pads) and measure the current consumption. It is not necessary to connect the LED lines; they have virtually no effect on the current consumption. For a regular ATtiny2313 microcontroller without letter indices, the current consumption should be about 7 - 9 mA. For an ATtiny2313 microcontroller with indices (maybe A, P...) the current will be different.

Based on the received current consumption (Ipot), we calculate the resistance of the quenching resistors in the battery (we accept the larger one from the standard range):

R = 430 / Ipot

For example, my current consumption was 9 mA, which means R = 430 / 0.009 = 47777 Ohm (assuming 47 kOhm).

The stacking of quenching resistors is designed to distribute power dissipation and reduce heating. Resistors must have a power of at least 0.5 W (and preferably 1 W each).

The rectifying diodes and quenching resistor are migrated from the original circuit; the rest will have to be purchased. We place the finished board in the garland body.

We connect the power supply and controller boards (we take the wires and plug from the original garland). Don’t forget to secure the wires soldered to the boards with hot glue, since the wires used by the Chinese are, to put it mildly, crap and can fall off at any moment.

7 Formation of LED lines.

What you will have to tinker with is the formation of 12 channels of LED lines. It will be necessary to assemble a common harness with twelve lines (plus a common wire) from three bundles (and in the case of three channels in a garland, four bundles) of the original garlands. The garlands need not just be twisted together, but care must be taken to ensure that the LEDs of all twelve channels are arranged sequentially, one after the other. In addition, if the garland is multi-colored, you need to ensure that the colors are mixed as much as possible.

In general, for better visualization of effects, single-color garlands are better suited, but for creating a brighter image, multi-colored garlands, perhaps, win. Here you must decide either more expressive effects or a more colorful impression.

It takes a long time to explain in words - look at the pictures or think for yourself how to twist the bundles:

The harnesses are twisted - now we solder them to the controller so that the channel LEDs follow each other in series.

8 Description of the garland's operation.

When you plug the garland into the network, it immediately starts working with a random effect. During operation, the effects will randomly change each other. If you press the button, the effects will sequentially replace each other in turn:
1 Wave
2 Shooting Star
3 Sparks
4 Slow overflow
5 Running lights
6 Twinkling lights
7 Everything burns and goes out
8 Everything is on fire
0 All off

When you select an effect with the button, it lingers for a longer time, but later the effects will begin to replace each other again.

Operation from the remote control is similar to the operation of the button on the controller (press the button on the remote control - the effects change sequentially). To study the button of any IR remote control, you need to hold down the button on the controller until the garland goes out (about 3 seconds), then you need to press the selected button on the remote control. The button code will be written into non-volatile memory and the garland will return to the effects. Since the code is stored in non-volatile memory, the garland will “remember” the remote control even after being disconnected from the network.

Finally, I think it’s worth reminding:

ATTENTION!
The garland circuit is not galvanically isolated from the network dangerous voltage 220V!
Touching any conductive part of the garland connected to the network
LIFE THREATENING!
THAT'S WHY:

- if you are not well versed in electricity, do not repeat this design;
— any actions (soldering, measurements, etc.) with the circuit must be performed only after disconnecting from the network;
— programming the microcontroller must be done either separately from the board (for example, in a breadboard specially assembled for this purpose), or by powering the garland board from an external 5 volt source (for example, from batteries);
— the finished structure must be well insulated and inaccessible to small children and animals;
- Be careful when assembling the structure!

And here are examples, so to speak, live:

Send yours and I’ll add them here.

Christmas tree from AndreevKV. It turned out big! 🙂

Christmas tree from BOYka59. All my friends and especially the children are delighted with her)

And further!

Happy New Year!

Good mood and happy holidays to everyone!

Update 1 (2013)

I didn’t really plan to do anything with this garland, since I don’t have time for it this year, but at the request of readers I still decided on a small update!

Little changed.
Added 6 new effects:
— a wave of 2 LEDs running in different directions
— sequential filling and decreasing
— sequential filling and decreasing with a variable traveling wave
- random filling and deletion
- random filling and removal with variable traveling wave
- aggressive flicker
The operating time of the effect when forced switching (remote control or button) is almost doubled.
That's all. The circuit and fuses remain the same. It is necessary to re-upload the new firmware.
- 12-channel super garland (update 2013)
- Source of the supergarland update

Happy coming, now, 2014!!! 😉

Super garland options from blog readers

Sergey Cherniy (Bleck_S)
The garland is implemented on one board using SMD components

Instructions

Stock up on several garlands equipped with light bulbs with the same parameters. One of them will be a “donor” of lamps to repair the others.

After disconnecting from the network, open the controller. Check to see if any wires have come loose from the board. On one of its sides there are two contact points for connecting the power cord, on the other there are five pads for connecting color channels. One of these sites is located away from the remaining four - the common wire of the channels is connected to it. Often, repairs are completed when the conductors that have been unsoldered from them are soldered to these pads. When you are finished using the controller, close it.

Some garlands are equipped with lamps that self-short-circuit when they burn out. The light bulb in which the short-circuiting device has been activated has less resistance than the working one, which is why the remaining lamps in the channel operate in forced mode. Therefore, burnt-out lamps in such a garland must be replaced with serviceable ones as soon as possible. They can be taken from the “donor” garland. Make the replacement by de-energizing the garland, carefully solder all connections and insulate them with several layers of electrical tape.

If there are no short-circuiting devices in the lamps, when one of them burns out, the entire channel goes out. It is clear that dialing each of them separately will take a lot of time, so you will have to use the iteration method. With the power turned off, cut the channel exactly in the middle. Ring sections of the canal from beginning to middle and from middle to end. Now it is clear which of them contains the burnt out lamp. This section can also be divided in half and both halves can be ringed, and so on until the burnt out lamp is found. Replace it by taking a serviceable one from the “donor” garland. After this, reconnect the wires in all the places where you cut them. Carefully solder and insulate connections.

Light bulbs pose a particular danger in a garland. When turned on, they instantly burn out, and the full network voltage begins to operate between the thread holders, which are not insulated in any way. Such lamps should be immediately replaced with working ones.

Never short-circuit a burnt-out lamp instead of replacing it with a new one, otherwise increased voltage will be applied to the remaining lamps in the channel and they will burn out faster.

LED garland repair has two features. The first of them is that the new LED must be turned on in the same polarity as the other diodes of the same channel (a rectifier is installed in the controller of any garland). The second feature is the need to connect a resistor in series with each LED. Its value should be the same as that of the resistors on the other diodes of the same garland. You cannot mix light bulbs and LEDs in the same garland, since the former have a rated current of usually 50 or 100 mA, and the latter - 20.

After completing the repair, before continuing to use the garland, be sure to carefully inspect it for the presence of uninsulated connections. Isolate them carefully.

We are all familiar with Christmas tree garlands consisting of multi-colored light bulbs. However, recently products based on LEDs have become very popular.

How they are designed, what kind of connection diagram they have and what to do if the garland stops glowing will be discussed in detail in this article.

What does a Christmas tree garland consist of?

What is a garland of LEDs, is it worse or better than a regular one?

Externally, this is almost the same product as before - wires, light bulbs (LED), control unit.

The most important element is, of course, the control unit. A small plastic box on which various operating modes of the backlight are indicated.

They can be changed by simply pressing a button. The unit itself can be quite well protected with IP44 level of moisture and dust protection.

What's inside? To open it, use the sharp tip of a knife or a thin screwdriver to pry up the latches from below and remove the protective cover.

By the way, sometimes it is glued, and not just sitting on the latches.

First of all, inside you will see wires soldered to the board. The thicker wire is usually the network wire, supplying 220V voltage.

Soldered on the board:

  • the controller that creates all the lighting effects
  • thyristors, each of them goes to a separate channel of the garland
  • resistors
  • capacitor
  • and diode bridges

The number of board elements depends primarily on the number of light channels of the garland. More expensive models may have a fuse.

LED garland diagram

The AC mains voltage is supplied to the power controller through resistors and a diode bridge, already rectified and smoothed through a capacitor.

In this case, this voltage is supplied through the button, which is open in the normal state. When you close it, the controller modes switch.

The controller in turn controls the thyristors. Their number depends on the number of backlight channels. And after the thyristors, the output power goes directly to the LEDs in the garland.

The more such outputs, the more varied the colors the product can have. If there are only two of them, this means that only two parts (or halves) of the garland will work in different modes - some bulbs will go out, others will light up, etc.

In fact, these two lines of diodes will be connected on two channels in series. They will connect to each other at the end point - the last LED.

If for some reason you are annoyed by the blinking of the garland and you want it to glow evenly with only one color, it is enough to short-circuit the cathode and anode of the thyristor on the back side of the board using soldering.

The more expensive the garland you have, the more outgoing channels and wiring will leave the control board.

At the same time, if you follow the traces of the board, one of the mains voltage outputs is always supplied directly to the final LED of the garland, bypassing all elements of the circuit.

Causes of malfunction

Situations with garland malfunctions are very diverse.

At the same time, remember that the most important element - the microcircuit on the board - “burns” very, very rarely.

In approximately 5-10% of all cases.

  • Poor contact on wires
  • LED in one of the light bulbs
  • Capacitor
  • Resistance
  • One of the diodes
  • One of the thyristors
  • Controller chip

Bad soldering

If your backlight suddenly stops working, first of all always check the soldering of the supply and output wires. It is quite possible that the entire contact was held only by hot glue.

It’s worth moving the wiring and contacts as usual.

The most common problem with Chinese garlands is the use of very thin wires, which simply break off at the solder points on the board.

To prevent this from happening, all contacts after soldering must be covered with a thick layer of hot-melt adhesive.

And when stripping such veins, it is advised to use not a knife, but a lighter. Instead of whittling away the insulation with a blade, lightly heat and melt it with a lighter.

After that, simply remove the outer layer with your nails without damaging the veins themselves.

LED damage

If the wire contacts are OK and you are sinning on one of the diodes, how can you check if it is faulty? And most importantly, how to find it among the whole series of light bulbs?

First of all, unplug the garland from the outlet. Start with the last diode. The power wire comes to it directly from the control unit.

An outgoing conductor is soldered to the same leg. He goes to the next branch of the light channel. You also need to test the diode between its two power wires (input-output).

You will need a multimeter and its somewhat modernized probes.

Thin needles are tightly tied to the tips of the tester probes with a thread so that their points protrude a maximum of 5-8mm.

Wrap everything on top with a thick layer of electrical tape.

Since the LEDs are soldered, you won’t be able to simply pull them out of the light bulb like in regular garlands.

Therefore, you will have to pierce the insulation of the conductors to get to the copper conductors of the wiring. Switch the multimeter to diode testing mode.

And you begin to sequentially pierce the supply wires near each suspicious diode.

If you have a garland not 220V, but 12V or 24V, which is connected from this power supply:

then the working LED from the multimeter battery should light up.

If this is a 220V backlight, then check the multimeter readings.

On working elements they will be approximately the same, but the faulty one will show a break.

The method is of course barbaric and damages the insulation, but it works quite well. True, after such punctures, it is better not to use outdoor garlands outdoors.

Chaotic blinking

There is a situation when you turn on a garland and it starts blinking chaotically, sometimes brighter, sometimes dimmer. It sorts through the channels on its own.

In general, one gets the impression that this is not some kind of factory effect, but as if the garland has “gone crazy.”

Most often the problem here is the electrolytic capacitor. It may swell and swell a little, and this will be clearly visible even to the naked eye.

Everything can be solved by replacing it. The denomination is indicated on the case, so you can easily purchase and select a similar one in radio parts stores.

If you replaced the capacitor, but it did not give any effect, where to look next? Most likely one of the resistors has burned out (broken). It is quite problematic to visually determine the breakdown. You will need a tester.

You take resistance measurements, having previously learned its nominal (normal) value from the markings. If it doesn't match, change it.

Part of the garland does not shine

When any of the channels on the garland does not work completely, there may be two reasons.

For example, a breakdown on one of the thyristors or diodes responsible for it.
To make sure of this for sure, simply unsolder the wiring of this channel on the board from its place and connect there the adjacent channel, which is known to be working.

And if at the same time another channel also stops working, then the problem is not in the garland itself, but in the components of its board - a thyristor or diode.

You check them with a multimeter, find the ones that match the parameters and change them.

The garland shines dimly

There are also not entirely obvious accidents, when the LEDs of a separate channel seem to be on, but rather dimly compared to the others.

What does it mean? The controller circuit is working fine. When you press the button, all modes are switched.

Testing the parameters of the diode bridge and resistance with a tester also does not reveal any problems. In this case, the only thing left to blame is the wires. They are already quite frail, and when such a multi-core wire breaks, its cross-section decreases even more.

As a result, the garland is simply not capable of starting the LEDs in the nominal brightness mode, since they simply do not have enough voltage. How to find this torn vein in a long garland?

To do this, you will have to walk along the entire line with your hands. Turn on the garland and start moving the wires near each LED until all the backlight lights up at full strength.

According to Murphy's Law, this may be the very last piece of garland, so be patient.

As soon as you find this area, pick up a soldering iron and disassemble the wires on the LED. Clean them with a lighter and solder everything again.

Then insulate the soldering area with heat shrink.

Unexpectedly, we discovered that the old garland that had been decorating the Christmas tree for many years no longer worked; there is no need to rush into buying a new one, because there is always a chance to repair it yourself. As a rule, such devices of Christmas tree lights are not such a complex design.

Therefore, if you carefully check the possible malfunctions, you won’t have to wonder how to fix a Chinese garland, the circuit of which is not difficult. So, if the contact wires in the garland come off, the light bulb burns out, or the mode switching is disrupted, then you should not throw it away. It is enough to use some effective tips.

The colors in the garland do not light up: what to do?

The most time-consuming breakdown is considered to be the one when the color change in the Chinese garland is disrupted. Even if the solution to the problem is simple, restoring the device to its previous state will not be easy. A malfunction of the color mode indicates that the light bulbs in the corresponding section have burned out.

Before proceeding directly with the repair, it is recommended to disassemble the cover of the switch, which acts as a control unit, and check the reliability of the connections, especially the contacts soldered to the board.

Repair of a Chinese garland: diagram

If at first glance there are no signs of breakdown, then we can confidently say that the light bulb has burned out. Modern Chinese garlands are designed in such a way that all light bulbs of the same color are connected in series. And if one of them burns out, the light on the entire electrical branch will go out. To fix the breakdown, you need to use the LED Chinese garland circuit.

First, you should cut the garland into two equal parts and ring both sections. Then similar actions should be performed with the non-working side - cut into two halves and check again. Similar actions are carried out until it is possible to determine which of the bulbs is non-working. It should be noted that this method is recommended to be used only if the Chinese electric garland, the circuit of which allows you to speed up the process, is not disassembled.

Fault detection methods

The process of restoring the functionality of the garland can be accelerated. To do this, you need to take a tester and attach needles to its ends instead of probes. Then, using them, sequentially punch through each section of the chain so that the needle passes to the current core. It is necessary to determine where the section resistance differs significantly. In this way, you can identify a breakdown and repair it much faster, without putting in a lot of effort.

As a rule, old Soviet garlands for the New Year tree are much more convenient in this regard than a Chinese garland. Their circuits are almost similar, but the design is noticeably different. In Soviet ones, light bulbs are screwed into sockets. Therefore, it is possible to determine which of them is in working condition, without a soldering iron and an ohmmeter, only by elimination. This method involves taking a working light source and screwing it into the sockets one by one. Another way to use a tester is to measure the resistance of each individual lamp until you can find the burnt one.

Before trying to repair the garland, it is recommended to check the integrity of the common wire. For accuracy, you can refer to the Chinese garland diagram. On one side of the board you can see 5 soldered wires, 4 of which are intended for glowing colors, and one is common. And if the common wire breaks, it must be soldered.

What to do if the light bulb does not turn on at all?

If, after studying the diagram of the Chinese Christmas tree garland, it was not possible to find the cause of its breakdown, it is recommended to make sure that the problem is not in the LEDs. In this case, you should check the control unit and power cord. First, you need to make sure that the cord is intact, since there is a possibility that it was broken, or the contact connections at the connection to the microcircuit were broken. Then you need to try to check the reliability of the soldering of the contact connections to the board. Of course, in order not to suffer, you can buy a new garland, however, if you want to repair the device, then you should act.

So, the control unit can be replaced with a starter from a 220 Volt fluorescent lamp. It is recommended to check the LED connections first. If the extreme elements of the groups are connected by anodes to each other, then you will need to redo the circuit and connect the LEDs with cathodes. The point is that the voltage to the anode to normalize the operation of the starter must be supplied through a 5-watt resistor, while the resistance is 15-20 kOhm. In addition, additional diodes will need to be included in the circuit, which will pass the reverse current of the network through them. This is how Chinese LED garlands are repaired at home.

As you can see, you will have to spend a lot of time and patience to repair the garland. Therefore, if it is not so expensive, it is recommended to simply replace it with a new one of better quality. It is important to note that if it is the LED that burns out, after which the operation of the entire section is disrupted, then the working element should be soldered in, strictly observing the polarity.

Light bulbs broke

If the light bulbs are broken and there is a desire to repair the device, then it is advisable to simply replace the damaged light source. It should be noted that replacement is carried out only with the power turned off to avoid electric shock. In such situations, you should pay tribute to unbreakable light bulbs, since you do not always have to deal with malfunctions.

So, if you find that the garland does not work, then you should try visually and using a tester to identify the problem area and cut it out. After which the working sections must be connected using special connectors. At this point the repair can be considered complete.

Finally

As a rule, breaking a garland before the New Year is not always pleasant, but it is quite possible to repair the old one or purchase a new one. It is important to remember that repairs require special knowledge, such as working with the circuit board and replacing light bulbs. Therefore, in order not to waste your nerves and time, it is recommended to buy a new New Year’s garland.