Difference between revisions of "Pixels a beginners guide"

From diychristmas.org wiki
Jump to navigation Jump to search
Line 17: Line 17:
 
How the lamp is controlled defined as either "dumb" or "smart" pixels.
 
How the lamp is controlled defined as either "dumb" or "smart" pixels.
  
In a dumb pixel, the 3 switches control the entire string of pixels, these are usually located on the board much like traditional controller boards. Like traditional lights the entire string lights up the same color, though they can be any color you choose. We generally (there is exceptions to every rule) cannot use a dumb pixel board to control smart pixels, nor can we use a smart pixel board to control dumb pixels.
+
In a dumb pixel, the 3 switches control the entire string of pixels, these are usually located on the board much like traditional controller boards. Like traditional lights the entire string lights up the same color, though they can be any color you choose. We generally cannot use a dumb pixel board to control smart pixels, nor can we use a smart pixel board to control dumb pixels.
 +
 
 +
'''NOTE''' There are a few boards available that do have the ability to control either but they are usually 1 or 2 output boards and are used infrequently in the DIY community.
  
 
In a smart pixel, in these there is a chip that controls each of the red, blue, and green elements in each pixel. (so Pixel No. 1 can be red, Pixel No. 2 can be green and Pixel No. 3 can be — well, any color you want). In a smart pixel string there can be a lot of smart chips emulating several hundred switches depending on the number of pixels. Smart pixel controllers send a signal down a wire that makes sure each light element gets the signal that is supposed to go to that element. Smart pixels each pixel can be any color at any time.
 
In a smart pixel, in these there is a chip that controls each of the red, blue, and green elements in each pixel. (so Pixel No. 1 can be red, Pixel No. 2 can be green and Pixel No. 3 can be — well, any color you want). In a smart pixel string there can be a lot of smart chips emulating several hundred switches depending on the number of pixels. Smart pixel controllers send a signal down a wire that makes sure each light element gets the signal that is supposed to go to that element. Smart pixels each pixel can be any color at any time.

Revision as of 14:42, 9 July 2015

This is the place to start off learning about Pixels. NOTE: individual controllers, pixel strips / nodes, troubleshooting, and other non basic items will not be covered on this page please look for the correct page for your specific questions.

So you're interested in learning about pixels, they are an amazing technology that is growing rapidly in DIY lighting. Throughout this intro there will be some concepts that may be difficult to soak in all at once, refer back to this as necessary.


A basic idea of how Pixels work versus the more traditional lighting in computer controlled shows:

Traditional lighting and its controllers function like a dimmer switch on the wall: the light is on or off and varies in intensity based on the position of the dimmer switch. Each dimmer switch is its own channel and a show consists of several to several hundred switches. To help ease the amount of boxes most of these switches are conveniently placed in groups of them on a board, you will find boards that have 4, 8, 12, 16 or even up to 48 switches on a single board, allowing for one connection to control a great number of lights.

NOTE: There are some controllers that do not support dimming but they are not mass produced by the DIY community anymore.

These boards are controlled by a signal generated by a computer running software that sends the signals, the boards figure out which switch is being referenced in the signal and adjusts the correct switch making all lights plugged into the switch dim/brighten.

Pixels are different in that one switch does not control the whole lamp; instead each pixel is comprised of 3 lights, one red, one green, and one blue. So each pixel needs 3 "switches" to make it function.

How the lamp is controlled defined as either "dumb" or "smart" pixels.

In a dumb pixel, the 3 switches control the entire string of pixels, these are usually located on the board much like traditional controller boards. Like traditional lights the entire string lights up the same color, though they can be any color you choose. We generally cannot use a dumb pixel board to control smart pixels, nor can we use a smart pixel board to control dumb pixels.

NOTE There are a few boards available that do have the ability to control either but they are usually 1 or 2 output boards and are used infrequently in the DIY community.

In a smart pixel, in these there is a chip that controls each of the red, blue, and green elements in each pixel. (so Pixel No. 1 can be red, Pixel No. 2 can be green and Pixel No. 3 can be — well, any color you want). In a smart pixel string there can be a lot of smart chips emulating several hundred switches depending on the number of pixels. Smart pixel controllers send a signal down a wire that makes sure each light element gets the signal that is supposed to go to that element. Smart pixels each pixel can be any color at any time.

All pixels run on direct current (DC) this is not the household electricity in a wall socket or light bulb, household electricity is alternating current (AC) and the wall socket can be 110 volts - 220 volts depending on what country you live in. Pixels need a power supply much like in your computer or cell phone charger, this converts the AC in your home wiring to DC and at the correct voltage. Pixels run on either 5 volts or 12 volts, a 12 volt board will burn up a 5 volt pixel string so its very important to match the board to the pixel voltage.

Pixels also come in a variety of profiles:

  • Pixel bullets look something like traditional lights — there is a "bullet" and then a run of wire and then another pixel "bullet," and so on. But remember, each one can change color.
  • Square pixels are like bullets, except each lamp is a one-inch by one-inch by one-quarter-inch plastic box. Again, box and then a run of wire and then another box and so on.
  • Pixel bulbs look like traditional C7 or C9 bulbs — about 1-1/2 or two inches long with a frosted or faceted cover. Like bullets and squares, each element is separated by a length of wire.
  • Pixel strips (which come as either rigid or flexible) are long, narrow printed circuit boards that have lamps attached every few inches. The pixels can be close together or far apart — space is varied by what you want or is available.

It is up to the individual as to whether to use bullets, squares, bulbs or strips based on how you want your lights to look. All function the same, only their appearance is different.

As you can see, there is a lot to consider when opting for pixels.

A quick overview of how the boards receive their signals

There is a myriad of different protocols that are used today, think of different cell phone companies, there is no right or wrong protocol just as there is no right or wrong cell phone company. The protocol is just a way of getting the signal from your computer to the controller board. The pixels themselves have their own native language they speak, but just like your cell phone its range is limited, usually less than 20 feet between individual pixels. The protocol then is used to carry that native language to the various controller boards, and is able to cover the distances needed between controllers and computer. Some boards will need a bridge to convert the carrier protocol to a signal that can communicate with the board, check with your individual board to see what is needed.

Identity and pixels

How does each switch know what part of the signal applies to it? For illustration here we will use the addressing system used in E1.31 protocol this should give you a general knowledge of how addressing works. Here we need to think of your phone number, each switch is assigned a number by the computer software, just like a phone number there can be enough different numbers that it will be hard to know what is what. We have area codes on our phone numbers to help distinguish what goes where, in the E1.31 world we divide switches up into a 512 switch grouping and call that a universe. When talking about a signal each switch is referenced as a channel. We then assign the bridges or boards to "listen" to certain universes. We can even assign boards to only select certain channels inside of that universe. Note: Some of the protocols do use a different addressing system, while the number of channels grouped together may vary depending on the protocol used the application is the same.

So we have an idea of how the pixels and protocols work, now lets cover some basics about the controllers.

Please note specific boards is beyond the scope of this wiki and will not be answered

In a dumb pixel board the board is assigned what universe and what start channel it is supposed to use. In a dumb controller, output 1 is the first 3 channels assigned to the board, output 2 is the next 3 channels assigned to the board and so on. Dumb pixel controllers can, for example, control 3 channels (a single strand) to 27 channels (9 strands) and beyond. You can hook together more than one strand just like you can hook traditional lights together, all strands connected together will be the same color.

In a smart Pixel controller board the board is not directly assigned universe or channel numbers, instead each output on the board is assigned what universe and channel number it starts with. Instead of having the switches on the board there are smart chips in the individual pixels directing the settings on each of the 3 elements (red, blue, and green), so the board sends a native language signal out on each output that starts with the correct universe and channel that is assigned to the output, the data is sent along a wire ensuring each pixel gets the correct channels to the correct pixel elements. You can connect several strings of lights together using this, additional strands are still individual pixel controlled.

So we have covered the general concept of pixels hopefully this will help to clear some of the fog.


Further reading

Please look over these wiki's they expand on some of the topics mentioned in this.

A little more advanced reading these get into the "meat" of these topics