Beginners

From diychristmas.org wiki
Jump to navigation Jump to search

Welcome to one of the greatest hobbies in the whole world!


How computer controlled animated lighting works

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 to design a "sequence" of lighting effects. Many of the most popular software tools are free while some are fee-based. Most use the Windows operating system but other options are available.

Lighting Effects

The effects you'll use might include simple on/off, or pulsating on/off, or gradually getting brighter (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 point is that you can control exactly when you want the effects to occur, even down to tenths of a second.

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 you want to do that, and how bright you want them to be. The software gives you total control. The software also provides normal editing capabilities such as saving and changing the settings later if you want. It also allows you to group several sequences together to make a "program" or "show." And once you have designed your "show" the software can also be used to schedule what days and times you want the show to start and stop. Pretty cool stuff!

How does the computer control the lights?

When you "play" your sequence (or 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. Some controllers can handle only 8 or fewer "channels" of lights while others can handle many thousands of channels. Often you can interconnect multiple smaller controllers together to control even more channels. The process of interconnecting controllers is called "daisy-chaining." 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.

How does the computer connect to the controllers?

Computers and controllers are usually physically connected to one another by wire, often using inexpensive everyday network cabling (called cat5 cable). More often than not, there's a USB or other type of adapter/dongle that facilitates communication between the computer and the controllers through the wires. Sometimes, instead of using cat5 cabling, some users replace the physical wiring by using wireless communication and various combinations of small transmitter/receiver setups. Some of these wireless systems can work upward of 1/4 mile away! The electronic mechanism that computers and controllers use to talk to one another in the hobby are named serial RS-232, serial RS-485, and Ethernet, the same mechanism used for computer networking. On top of the electronic mechanism is a "language" that the computers and controllers speak. Another word for this language is a "protocol" and popular protocols are Renard, DMX, and E1.31. The Renard protocol can easily run on top of serial RS-232 and/or serial RS-485, DMX can run on top of RS-485 and Ethernet, and E1.31 is Ethernet only.

How do the viewers hear the 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 while most use a small, low-power FM transmitter to transmit the music to visitors' car radios so they can listen in the comfort of their vehicles. Low-power FM transmitters are not expensive -- anywhere from $25-$100 -- but whether you use outdoor speakers or an FM transmitter, the synchronized audio absolutely makes the difference between a truly entertaining "show" and what looks like a yard full of randomly blinking lights.

So 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 turns on/off the appropriate lights, and all the while your viewers are listening to the music and watching your lights dance. And that's how computer animated lighting works.

Computer communications basics

Tools you will need

more info