This post originated from an RSS feed registered with .NET Buzz
by Eric Gunnerson.
Original Post: As the weather turns colder, a young man's thoughts turn toward...
Feed Title: Eric Gunnerson's C# Compendium
Feed URL: /msdnerror.htm?aspxerrorpath=/ericgu/Rss.aspx
Feed Description: Eric comments on C#, programming and dotnet in general, and the aerodynamic characteristics of the red-nosed flying squirrel of the Lesser Antilles
The first house that my wife and I bought was in a development with an active homeowner's
association. The first year, we got a flier from the association that said:
Holiday decoration contest
$100 first prize
$50 second prize
$25 third prize
With hundreds of houses in the development, we didn't figure we had any chance, but
we did put up a few more lives than usual, and somehow won second prize.
A monster was born.
After a trip to Point Defiance Zoo's excellent Zoolights got
me thinking about animated light displays. I had wanted to do some microcontroller
programming, but didn't have an application until now. I hooked up with one of the
robotics experts in my group, and bought the parts to build a BotBoard, and did the
hardware and software for an 8-channel light sequencer.
The sequencer was destined for a Santa animation. It starts with some flashing landing
lights, and then Santa and his reindeer appear. A few seconds later, Santa and the
presents move onto the roof, then up to the chimney, then disappearing down the chimney.
Pause, and the sequence repeats.
It was a lot of fun to write the software - the BotBoard runs
a Motorola 68HC11E2 processor
that is programmed over the serial port. A very cool processor with built-in timers
and other useful subsystems, but it's a 8-bit architecture, and you get to program
it in assembly language (you can find compilers if you want). Debugging is interesting...
So, we got that project done, but only won third prize.
A few years passed, and I had some leftover BotBoards, so I built the second controller.
This one was a 16 channel controller, but uses the same basic architecture. It runs
a 10' tree made up entirely of lights (well, lights, electrical conduit, and a whole
lot of wire).
For my most recent application, I wanted to do something different. One of the things
that I found annoying was that the lights that outlined the house were white, and
static. I wanted some thing different. I could have built another sequencer, but that
would have given me a quick switch between colors. I wanted something more subtle.
To do this, you have to get into dimming. That makes the project tougher, as you now
need to have tight control on the timing to get it to work. It's also a bit harder
to fit everything into the 2K of EEPROM and 512 bytes (yes, bytes) of memory you have.
This one took me a while, but ultimately gave me a very good project.
So, as Thanksgiving approaches, I need to get ready to put up all three of the animated
displays and a few thousand over lights. The total number of lights is around 13,000.
I've been hoping to spend some time building some new sequencing - perhaps one that
can be driven over a serial port.
If you happen to live in the Bellevue area, you can stop by. I'm going to try to post
some pictures when it's all up and running.
Oh, and if you think I'm out of control, take a look at this,
and of course, the granddaddy of them all, PlanetChristmas. 35,000 Lights. Here's
a video.