New Year's techno-creativity. How I "Smart" Girland washed

Anonim

Having got up the winter holidays. Motorica finally came to normal, the consciousness returned to the dreary perception of being, a little pricing in current work affairs, which means it is time to drink the topic, following the feet, so to speak. Thick-technical, places ornithographic, in short, everything, as we love on the Yap.

Sacred knowledge I do not promise, but on the contrary - I will tell in a minimum, but this is enough to understand the principles and continue independent research. Well, there will be interest - I will write the second part, expanded, with the disclosure of the theory and, as a result, execution options. Although there is plenty of information on the network.

New Year's techno-creativity. Like me

Prosecutic entry.

We threw somehow with a sappy ...

Oh, how many enchanting, filled with life experiences and a sense of shame in the morning, stories starting exactly the same words, I could tell! But at that time, being under the unreasonable control of our expensive halves, we included the "Feedback Burger" regime and Tikhonhechko stunched a glass under an extraordinary conversation.

"October already," Micha said thoughtfully. - New year on the nose. You're, San, love a soldering iron in the rosin straight, can you think up for me a garland on the window? I want to beautifully. - With these words, he spread the fingers of the hands, as if showing that it was not just beautiful, and Wah, how beautiful!

- And there are no figs? - I replied - I am such a beauty to you to take care that your neighbors are slightly green from envy, will come to visit with a bottle and a cold, to find out how you did it. Sloting coupons, we will order a lunolic kit.

In the state of consciousness, close to Zen, even if Mih asked me to build a helicopter, well, or there a cow inhabited, I would gladly agree, but it was right now, because I had long wanted to collect something more serious on the basis of (readers, At least a little familiar with the electronics, already, of course, guessed) ... Technologies of address and controlled LEDs (also known as smart pixels, well, or, they are neopixel).

New Year's techno-creativity. Like me

We need:

1. Actually, the pixels themselves. I used Chinese WS2812B.

Models of "smart" pixels are quite a lot, but it is inconvenient to work with bare chips, so you need to choose a suitable execution, and it can be a tape, and LEDs in the housing on the wires, and the LEDs soldy on small boards, etc. For example, I did not suit me because I needed an arbitrary, arbitrary only me, the distance between the points, I stopped on separate pixels - LEDs hit by careless Chinese hands on small printed circuit boards. From the positive sides of such a solution, it was also the fact that a current-limiting resistor and an interference capacitor are placed on each board. This is how the panels on a hundred pieces of such LEDs look. In the design described, I used 286 pixels.

New Year's techno-creativity. Like me

2. Pixels have digital control, so the control device is required - the controller.

Here, too, the widest choice of technical solutions: from Arduino to professional light controllers. (By the way, run ahead, the garland I collected two. The second works from Arduinka, but this is already information to continue if it is.)

Due to the fact that the garland will serve a person far from the technology, it was necessary to choose some kind of "box" solution and I stopped at a popular and inexpensive controller from the Middle Besse T-1000S. Although, speaking between us, there are more delicious options. For example, the master of the glorious city of Chelyabinsk produces very interesting and, in general, inexpensive, controllers for such LEDs, but they do not pay for advertising, so Sorry - who is interested, will find it himself. Yes, and the Chinese have the models at the time of the T-1000S, but in any case it is more expensive, and the budget was very important.

New Year's techno-creativity. Like me

3. Power supply.

The power supply is needed Pyagolty! Standard twelfthic blocks that are used to power ordinary LED ribbons will not suit us. In addition, a more or less decent garland will be offended by a stupid current, so the idea of ​​drinking from a USB or from a telephone charger I recommend to immediately discard.

Current Current is easily considered: you need to multiply an estimated number of pixels by 0.06 A - this is enough with a reserve to fill all LEDs with white, but if such a task is not worth it (most likely), then the resulting digit can be safely divided into two.

In my case, 286 pixels x 0.06 A = 17.16 and the maximum intended current. I planned to put a ten-member power supply, but wandering through the pages of the famous trading platform, came across an inexpensive twenty-day version of the discount, and took it.

Picture from the network, my same.

New Year's techno-creativity. Like me

4. Wires, housing, connectors, solder, flux, etc.

Here who has been walked, everything will go into business. Personally, by analyzing the range of stores, in pursuit of the budget of the structure, stopped on the Wire of the Pugv 0.5mm ^ 2. You can use thinner to use, but this one, from flexible assembly, turned out to be the cheapest.

And the housing for the power supply I, it is funny to say, in general in the economic bought - a food container with a lid. Well, what? Have you seen the price tag for Normal Cases for Rea? And then cheap and angry.

Now let's try to take off all this fucking to gather it together. I collected a 22x13 pixel matrix with a distance of 85-90 mm. Between points. Well, I already understand that I want a matrix of this size, and for the beginning we go and carefully measure the dimensions of the window windows, draw a drawing on a sheet of paper and empirically by calculating the number of points vertically and horizontally. Since this is a matrix, it is desirable to do about the same distances between the pixels vertically and horizontally, and do not forget about the window jumpers between the glasses, so that in our design they are most harmoniously fit into spaces between the rows of LEDs.

New Year's techno-creativity. Like me

Of course, we need a scheme for connecting all this joined join. The scheme is not simple here, but very simple. Kohl it would not be so, I would not carry this knowledge into the masses now.

As you can see in the picture below, there are only two requirements that need to be observed:

1. Each pixel need to serve meals (red and black conductor). It doesn't matter how you will do it, even for each LED, drag your wires of the wires, but in the case of the matrix it is more convenient to make a total tire and turn the power from it on the rays, as in the diagram. Thus, by the way, we also provide a more uniform level of supply voltage at each point of the matrix.

I made a bus from the wire 2.5mm ^ 2, and the taps performed from the plates of double-sided fiberglass (on the video at the end of the topic I will show these nodes), but you can do in your own way, no one limits in fantasy.

2. Data conductor (green in the diagram) must pass consistently snake through all pixels. Start from one corner of the matrix and further: from the output of one pixel to the entrance of another pixel, and so until the last. To do this, on the pixels boards, the entry / output and the arrow indicates the direction of the signal movement - do not confuse.

There are no restrictions on the number of pixels vertically, there is no restriction on the number of pixels horizontally, there is no restriction on what angle to start the snake, there are no restrictions on what it will be a snake, vertical or horizontal, the most important thing is that it is a snake that consistently passing Through all the pixels, and at the same time their maximum amount should be no more than 2048 pieces.

I made a vertical snake (in order to cast a framuhu for airing) with the input of the data signal in the lower left corner.

New Year's techno-creativity. Like me

Okay, enough to rant, proceed to work. We warm the soldering iron, take the panel of the LED, wire, line, and drove. An invaluable service will have such a tool as ticks for removing isolation, well, or, in Burzhuyski, stripper. And how did you want? Even on such a relatively small garland, almost a thousand eight hundred points soldering. Mda-s.

New Year's techno-creativity. Like me

I recommend not to disperse the panel to the soldering, to solder the fine swirls will be inconvenient. There are ranges between boards on the panel, for which everything will easily break.

Soldering.

New Year's techno-creativity. Like me

Do-o-olgo soldering.

At the ends of the rays, on top and bottom, I attached suction cups. Well, not on the scotch of the garland on the glass to hang in the very fact? Someone can come up with another fastening option, and I stopped on it. True, suction cups, a diameter of 2.5 cm. What I used, I didn't really hold much, I recommend to look in the side of the suction cup with a diameter of 4-5 cm. They are bought in the same place, on the Red Chinese Playground.

We get such an intermediate result.

Oops, the photo clock is a provocative. Yes, I am multifaceted in my hobbies.

New Year's techno-creativity. Like me

Well, I think that the installation process is understandable. Unfortunately, there are no more editing photos, it was not before that, but in the video just below everything will be clear, even if the questions still remain.

Go to the software. Brief, general provisions to do not inflate the topic. There are all instructions on the network. Links to programs will not be ladies, but they are free and there is no free access, there should be no problems with searching. As a last resort, knock - share.

In essence, the controller is just a player - what we write to the flash drive, then it will play, chasing the file in a circle. He indifferently how many rays and pixels are there, he simply broadcasts in the garland what sees on the card.

Some Nudyatins: The principle of control of pixels is very simple: eight bits for each of the three pixel colors, i.e. Three bytes on the pixel, a continuous flow for the entire chain of pixels. As a pixel determines which three bytes belong to it - then not the subject of a conversation in this topic, but everything is very simple, it is simply ingenious, maybe then will tell in detail.

But the program in which you create your own show, here it needs to know all the data of the snake, it will undermine the order of managing each pixel in the file you made.

So, if you use the T-1000S, then to create a light show script and forming a file that you throw on the flash drive, you must use the LEDEDIT program.

It is only important when creating a project to specify that you will work with WS2811 (this pixels are software-compatible with our WS2812B) and the priority of GRB control (and not RGB, as we used!). Then set the number of points vertically and horizontally, the snake type (vertical / horizontal) and the initial angle of the matrix. When you specify the angle, do not forget that it is necessary to ask it as if looking at the matrix in front.

Lededit The program is simple, there is no large amount of blanks of light effects in it, but it can create a file that is able to play T-1000S and there is such a function as Screen Shot. This is such a frame, when hulling on any part of the screen, the program immediately converts a picture inside the frame into the projection on our garland. That is, there are no problems to capture any pictures and videos. True, it is necessary to understand that the detailing when resolving our garland will be completely no. Although, maybe someone from those who are reading me now, and will guess the garland more serious.

Well, if you say it, then the programs for creating scenarios of light show for our "smart" pixels a lot. From simple to complex, from completely free, to professional for many, many bucazoids.

Some of the most popular, this is no doubt my favorite - Jinx! -Led Matrix Control

New Year's techno-creativity. Like me

And no less popular people are glediator.

New Year's techno-creativity. Like me

I did not ask with a glariant, although I like the people more. What program will you use, you know, and maybe you will take something else. Both programs are quite powerful light-show editors, have a lot of opportunities, allow you to work in online mode: mix and immediately display. It is likely that these programs are able to display and in a file in a format compatible with the T-1000S, but I didn't immediately find it on the scorement of this opportunity, and there was no time to understand the New Year's troubles. Therefore, I did simply created a script in Jinx, I launched a chase to play and captured it with a screenshot from Lesditis. Voila! Ready!

We look the result. True, on the video, so as not to inflate the roller, there is no fifth pieces of the effects thrown into the script, but this is a creative job, I do not want to get off anyone's eye.

Well, perhaps, only the budget to bother.

1. WS2812B pixels on a printed circuit board, sold for 100 pieces - 5 rubles / pc. X300 pcs. = 1500 rub.

2. T-1000S controller - 1 pc. = 1000 rub.

3. Power supply, 5V, 20A - 1pc. = 850 rub.

4. Wire Pugv 0.5mm ^ 2 - 6 rub. / M. x 70m. = 420 rubles.

5. Suction cups, sold dozens - 50 rubles / Des. x 5 = 250 rubles.

6. Case container - 1 pc. = 120 rubles.

7. Consumables for mounting, connector with socket and so on - ~ 200 rubles.

TOTAL: 4340 rubles.

New Year's mood - priceless!

For the sim saying goodbye. That's all I wanted to say!

P.S. Garland "Smart" Because collected on LEDs who received the name "smart pixels" due to their address management. And so, of course, no one is smart - the fool is fool.

A source

Read more