Difference between revisions of "How Computer Controlled Animated Lighting Works"
Jump to navigation
Jump to search
Dirknerkle (talk | contribs) |
ErnieHorning (talk | contribs) (Updated networking, controller, and protocol information to reflect current hardware and software, introduced modern RGB pixel concepts, clarified communication methods, and preserved the original educational content and examples.) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 3: | Line 3: | ||
== '''Software''' == | == '''Software''' == | ||
| − | :You'll install software onto your computer and use it to design a "sequence" of lighting effects. Many of the most popular software tools are free while some are fee-based. Most | + | :You'll install software onto your computer and use it to design a "sequence" of lighting effects. Many of the most popular software tools are free while some are fee-based. Most sequencing software supports Windows, and several popular packages also support macOS and Linux. |
== '''Lighting Effects''' == | == '''Lighting Effects''' == | ||
| − | :The effects you'll use might include simple on/off, or pulsating on/off, or gradual brightening (called ramp up) or gradual dimming (ramp down). And if you like, the software also allows you to make these effects occur in time to a song or other piece of music you've chosen. Music is an important element of lighting sequences because without it, lights can appear to be random and uncoordinated; it's the music that ties it all together. For example, if your chosen song has a nice drum beat, maybe you want some lights to blink in time with the beat. Or maybe you want the lights to gradually get brighter as the music gets louder or maybe dim the lights down when the music is soft. | + | :The effects you'll use might include simple on/off, or pulsating on/off, or gradual brightening (called ramp up) or gradual dimming (ramp down). And if you like, the software also allows you to make these effects occur in time to a song or other piece of music you've chosen. Music is an important element of lighting sequences because without it, lights can appear to be random and uncoordinated; it's the music that ties it all together. For example, if your chosen song has a nice drum beat, maybe you want some lights to blink in time with the beat. Or maybe you want the lights to gradually get brighter as the music gets louder or maybe dim the lights down when the music is soft. Modern sequencing software also supports sophisticated effects such as color gradients, motion effects, text, images, video, and animation across RGB pixel displays. |
== '''How many lights can I control?''' == | == '''How many lights can I control?''' == | ||
| − | :The software allows you to separately control many, many strings of lights or even individual lights if you want. Each string or individual light that you want to control is called a "channel." So your sequence of effects might include dozens of strings of lights (dozens of channels), each of which you can control independently from all the others. So you get to decide what lights to turn on/off, when and how bright you want them to be. | + | :The software allows you to separately control many, many strings of lights or even individual lights if you want. Each string or individual light that you want to control is called a "channel." So your sequence of effects might include dozens of strings of lights (dozens of channels), each of which you can control independently from all the others. So you get to decide what lights to turn on/off, when and how bright you want them to be. With modern pixel lighting, a single prop may contain hundreds or even thousands of individually controllable RGB pixels, dramatically increasing the number of available channels in a display. The software also provides normal editing capabilities such as changing the settings and saving them later. It also allows you to group several sequences together to make a longer program or "show." And once you have designed your "show" the software can also be used to schedule what days and times you want your show to start and stop. Pretty cool stuff! |
== '''How does the computer control the lights?''' == | == '''How does the computer control the lights?''' == | ||
| − | :When you "play" your sequence (your show program) on your computer, the software causes your computer to send out special signals to other electronic devices that you build that are out in the yard. These devices are called "controllers" and the lights are connected to the controllers. | + | :When you "play" your sequence (your show program) on your computer, the software causes your computer to send out special signals to other electronic devices that you build that are out in the yard. These devices are called "controllers" and the lights are connected to the controllers. Controllers range from small units capable of driving just a few outputs to advanced controllers capable of controlling tens of thousands of pixel channels across multiple outputs. The lights are plugged into the controllers and the controllers are plugged into electrical power. When the controller gets a control signal from the computer to turn on a certain channel, the controller's electronics figure out which channel it is and then allows electricity to go to that channel, illuminating that channel's lights. In the examples below, an "all in one controller" is shown. It's "all in one" because it has its own power supply and can also power the lights directly. Here's an example: |
[[File:1-all-in-one.png | center|600px]] | [[File:1-all-in-one.png | center|600px]] | ||
| Line 19: | Line 19: | ||
== '''How does the computer connect to the controllers?''' == | == '''How does the computer connect to the controllers?''' == | ||
| − | :Computers and controllers are | + | :Computers and controllers are commonly connected using standard Ethernet cabling (Cat5e, Cat6, or similar). Many displays also use Wi-Fi to communicate with controllers. Depending on the hardware being used, your computer may connect directly through its built-in network adapter or by using a USB network or serial adapter. The electrical methods computers and controllers use to communicate include RS-232, RS-485, Ethernet, and in many cases Wi-Fi. Ethernet has become the most common communication method for modern pixel displays because it provides high speed, flexibility, and compatibility with existing computer networks. On top of the electrical mechanism is a "language" that the computers and controllers speak. Another word for this language is "protocol." Common protocols include Renard, DMX, E1.31 (sACN), and DDP, depending on the hardware and software being used. Different protocols operate over different communication methods. For example, Renard commonly uses RS-232 or RS-485, DMX commonly uses RS-485, while E1.31 (sACN) and DDP typically operate over Ethernet or Wi-Fi networks. And with some trickery, Renard can also run on top of Ethernet using another electronic gizmo called an "Ethernet bridge." Instead of running communication cables, some hobbyists use Wi-Fi or other wireless communication methods to connect their controllers. Some of these wireless systems can work upwards of 1/4 mile away. |
== '''How do I decide whether to use RS-232, RS-485 or Ethernet?''' == | == '''How do I decide whether to use RS-232, RS-485 or Ethernet?''' == | ||
:This is determined by the kind of lights and controller(s) you select and the protocol method you choose for your computer to control them. The software has settings that you simply choose and those settings are saved automatically along with the sequences you design. Then when you assemble your controllers, you'll load the proper settings into them to match. If you later decide to change your computer's settings, you just change the controller settings to match. It's easy to do. The "protocol" is the "language" that the computer and controllers use to talk to one another, and it's vitally important that everything be using the same protocol or you'll encounter communication problems. For example, if you had 5 people in a room and each spoke a different language, it would be difficult for them to understand one another. So they all must speak the same language (i.e. "protocol") for communication to work. | :This is determined by the kind of lights and controller(s) you select and the protocol method you choose for your computer to control them. The software has settings that you simply choose and those settings are saved automatically along with the sequences you design. Then when you assemble your controllers, you'll load the proper settings into them to match. If you later decide to change your computer's settings, you just change the controller settings to match. It's easy to do. The "protocol" is the "language" that the computer and controllers use to talk to one another, and it's vitally important that everything be using the same protocol or you'll encounter communication problems. For example, if you had 5 people in a room and each spoke a different language, it would be difficult for them to understand one another. So they all must speak the same language (i.e. "protocol") for communication to work. | ||
| − | :One '''extremely important''' thing for beginners to understand is that in the DIY world, various kinds of connectors can be used for many different things. For example, the "network jack" on the back of your computer is designed to be connected only to network-type devices such as switches and routers. In the DIY world, for convenience and to reduce cost, the same kinds of jacks, plugs and wires may be used for other things such as serial communication or voltage connections to external light control devices. '''As such, just because a jack or plug "looks" like a network connector | + | :One '''extremely important''' thing for beginners to understand is that in the DIY world, various kinds of connectors can be used for many different things. For example, the "network jack" on the back of your computer is designed to be connected only to network-type devices such as switches and routers. In the DIY world, for convenience and to reduce cost, the same kinds of jacks, plugs and wires may be used for other things such as serial communication or voltage connections to external light control devices. '''As such, just because a jack or plug "looks" like a network connector does not mean it carries Ethernet signals. Identical-looking connectors may be used for Ethernet, serial communications, low-voltage DC power, or other signals. Always verify the connector's purpose before plugging equipment together, as connecting the wrong devices together can damage one or both units.''' |
== '''How do the viewers hear my music?''' == | == '''How do the viewers hear my music?''' == | ||
| − | :While your computer is playing the sequence the computer's sound card will simultaneously be playing the music to keep the music and computer control commands in sync with one another. Some hobbyists use small amplifiers and put speakers outdoors so visitors can hear the music, but sometimes outdoor speakers create issues with neighboring homeowners. So most DIY'ers connect a small, low-power FM transmitter to their computer's sound jack to transmit the music to visitors' car radios so they can listen in the comfort and privacy of their vehicles. Low-power FM transmitters are | + | :While your computer is playing the sequence the computer's sound card will simultaneously be playing the music to keep the music and computer control commands in sync with one another. Some hobbyists use small amplifiers and put speakers outdoors so visitors can hear the music, but sometimes outdoor speakers create issues with neighboring homeowners. So most DIY'ers connect a small, low-power FM transmitter to their computer's sound jack to transmit the music to visitors' car radios so they can listen in the comfort and privacy of their vehicles. Low-power FM transmitters are available in a wide range of prices depending on their features and regulatory compliance. |
== '''What are these SSR things I read about?''' == | == '''What are these SSR things I read about?''' == | ||
| − | :An SSR is short for "solid state relay" and it's just a device to safely control powerful electrical current by computer control. All-in-one controllers have SSRs built in so that all you have to do is plug the controller into main power and then plug the lights directly into the controller. However, some controllers use external SSRs which are not inside the controller box. | + | :An SSR is short for "solid state relay" and it's just a device to safely control powerful electrical current by computer control. All-in-one controllers have SSRs built in so that all you have to do is plug the controller into main power and then plug the lights directly into the controller. However, some controllers use external SSRs which are not inside the controller box. SSRs are primarily used with traditional AC lighting. RGB pixel displays generally use dedicated pixel controllers and do not require external SSRs. Using remote SSRs sometimes involves a little more wiring, but it can result in a more convenient way to lay out your show. Here are a couple examples: |
[[File:3-remote ssrs.png |center|600px]] | [[File:3-remote ssrs.png |center|600px]] | ||
| Line 38: | Line 38: | ||
== Overview == | == Overview == | ||
| − | + | == '''Modern Display Architectures''' == | |
| + | |||
| + | :Today's animated displays generally fall into one of three categories: | ||
| + | |||
| + | ::* Traditional A/C lighting using SSRs and A/C controllers. | ||
| + | ::* RGB pixel displays using dedicated pixel controllers. | ||
| + | ::* Hybrid displays that combine traditional lighting with RGB pixels. | ||
| + | |||
| + | :Many hobbyists begin with a small display and expand over several seasons as they gain experience and discover new techniques. | ||
| + | |||
| + | |||
| + | In a nutshell, the computer plays a "sequence" that you created, it sends control signals out a wire to the controllers, the controllers decode the signals and turn on/off the appropriate lights, and all the while your viewers are listening to the music you've chosen and watching your lights dance with looks of wonder and amazement. And that's how computer animated lighting works. | ||
Latest revision as of 13:18, 20 July 2026
Overview
- This hobby uses a combination of computer software, various kinds of wiring both for computer control and electrical power, electronic 'controllers,' relays, lights of various kinds and a myriad of hooks, tape, plastic and metal pipe, plastic "zip ties" and other methods to fasten and hang the lights on the house, bushes and trees. Most of the supplies can be purchased at local hardware or home improvement stores while the electronic controllers and other specific lighting components are usually purchased from electronic parts supply stores and other DIY lighting hobbyists' online stores.
Software
- You'll install software onto your computer and use it to design a "sequence" of lighting effects. Many of the most popular software tools are free while some are fee-based. Most sequencing software supports Windows, and several popular packages also support macOS and Linux.
Lighting Effects
- The effects you'll use might include simple on/off, or pulsating on/off, or gradual brightening (called ramp up) or gradual dimming (ramp down). And if you like, the software also allows you to make these effects occur in time to a song or other piece of music you've chosen. Music is an important element of lighting sequences because without it, lights can appear to be random and uncoordinated; it's the music that ties it all together. For example, if your chosen song has a nice drum beat, maybe you want some lights to blink in time with the beat. Or maybe you want the lights to gradually get brighter as the music gets louder or maybe dim the lights down when the music is soft. Modern sequencing software also supports sophisticated effects such as color gradients, motion effects, text, images, video, and animation across RGB pixel displays.
How many lights can I control?
- The software allows you to separately control many, many strings of lights or even individual lights if you want. Each string or individual light that you want to control is called a "channel." So your sequence of effects might include dozens of strings of lights (dozens of channels), each of which you can control independently from all the others. So you get to decide what lights to turn on/off, when and how bright you want them to be. With modern pixel lighting, a single prop may contain hundreds or even thousands of individually controllable RGB pixels, dramatically increasing the number of available channels in a display. The software also provides normal editing capabilities such as changing the settings and saving them later. It also allows you to group several sequences together to make a longer program or "show." And once you have designed your "show" the software can also be used to schedule what days and times you want your show to start and stop. Pretty cool stuff!
How does the computer control the lights?
- When you "play" your sequence (your show program) on your computer, the software causes your computer to send out special signals to other electronic devices that you build that are out in the yard. These devices are called "controllers" and the lights are connected to the controllers. Controllers range from small units capable of driving just a few outputs to advanced controllers capable of controlling tens of thousands of pixel channels across multiple outputs. The lights are plugged into the controllers and the controllers are plugged into electrical power. When the controller gets a control signal from the computer to turn on a certain channel, the controller's electronics figure out which channel it is and then allows electricity to go to that channel, illuminating that channel's lights. In the examples below, an "all in one controller" is shown. It's "all in one" because it has its own power supply and can also power the lights directly. Here's an example:
- Often you can interconnect multiple smaller controllers together to control even more channels. In a way, it's like plugging one extension cord into another, and another, etc. The process of interconnecting controllers is called "daisy-chaining."
How does the computer connect to the controllers?
- Computers and controllers are commonly connected using standard Ethernet cabling (Cat5e, Cat6, or similar). Many displays also use Wi-Fi to communicate with controllers. Depending on the hardware being used, your computer may connect directly through its built-in network adapter or by using a USB network or serial adapter. The electrical methods computers and controllers use to communicate include RS-232, RS-485, Ethernet, and in many cases Wi-Fi. Ethernet has become the most common communication method for modern pixel displays because it provides high speed, flexibility, and compatibility with existing computer networks. On top of the electrical mechanism is a "language" that the computers and controllers speak. Another word for this language is "protocol." Common protocols include Renard, DMX, E1.31 (sACN), and DDP, depending on the hardware and software being used. Different protocols operate over different communication methods. For example, Renard commonly uses RS-232 or RS-485, DMX commonly uses RS-485, while E1.31 (sACN) and DDP typically operate over Ethernet or Wi-Fi networks. And with some trickery, Renard can also run on top of Ethernet using another electronic gizmo called an "Ethernet bridge." Instead of running communication cables, some hobbyists use Wi-Fi or other wireless communication methods to connect their controllers. Some of these wireless systems can work upwards of 1/4 mile away.
How do I decide whether to use RS-232, RS-485 or Ethernet?
- This is determined by the kind of lights and controller(s) you select and the protocol method you choose for your computer to control them. The software has settings that you simply choose and those settings are saved automatically along with the sequences you design. Then when you assemble your controllers, you'll load the proper settings into them to match. If you later decide to change your computer's settings, you just change the controller settings to match. It's easy to do. The "protocol" is the "language" that the computer and controllers use to talk to one another, and it's vitally important that everything be using the same protocol or you'll encounter communication problems. For example, if you had 5 people in a room and each spoke a different language, it would be difficult for them to understand one another. So they all must speak the same language (i.e. "protocol") for communication to work.
- One extremely important thing for beginners to understand is that in the DIY world, various kinds of connectors can be used for many different things. For example, the "network jack" on the back of your computer is designed to be connected only to network-type devices such as switches and routers. In the DIY world, for convenience and to reduce cost, the same kinds of jacks, plugs and wires may be used for other things such as serial communication or voltage connections to external light control devices. As such, just because a jack or plug "looks" like a network connector does not mean it carries Ethernet signals. Identical-looking connectors may be used for Ethernet, serial communications, low-voltage DC power, or other signals. Always verify the connector's purpose before plugging equipment together, as connecting the wrong devices together can damage one or both units.
How do the viewers hear my music?
- While your computer is playing the sequence the computer's sound card will simultaneously be playing the music to keep the music and computer control commands in sync with one another. Some hobbyists use small amplifiers and put speakers outdoors so visitors can hear the music, but sometimes outdoor speakers create issues with neighboring homeowners. So most DIY'ers connect a small, low-power FM transmitter to their computer's sound jack to transmit the music to visitors' car radios so they can listen in the comfort and privacy of their vehicles. Low-power FM transmitters are available in a wide range of prices depending on their features and regulatory compliance.
What are these SSR things I read about?
- An SSR is short for "solid state relay" and it's just a device to safely control powerful electrical current by computer control. All-in-one controllers have SSRs built in so that all you have to do is plug the controller into main power and then plug the lights directly into the controller. However, some controllers use external SSRs which are not inside the controller box. SSRs are primarily used with traditional AC lighting. RGB pixel displays generally use dedicated pixel controllers and do not require external SSRs. Using remote SSRs sometimes involves a little more wiring, but it can result in a more convenient way to lay out your show. Here are a couple examples:
- Daisy-chaining is of course still possible!
Overview
Modern Display Architectures
- Today's animated displays generally fall into one of three categories:
- Traditional A/C lighting using SSRs and A/C controllers.
- RGB pixel displays using dedicated pixel controllers.
- Hybrid displays that combine traditional lighting with RGB pixels.
- Many hobbyists begin with a small display and expand over several seasons as they gain experience and discover new techniques.
In a nutshell, the computer plays a "sequence" that you created, it sends control signals out a wire to the controllers, the controllers decode the signals and turn on/off the appropriate lights, and all the while your viewers are listening to the music you've chosen and watching your lights dance with looks of wonder and amazement. And that's how computer animated lighting works.