Cancer Sucks

K-n-C's Raspberry PiChristmas Lites Page


Click on these links to go to a section on the page...
[What is RPi?] - [What to do with it?] - [GPIO Fun!] - [Brainstormin']
[Do it!] - [Progress?] - [How'd ya do it?]
Go To:

So, I heard about this supposedly cool, little micro-controller, embedded Linux computer thing, on some IEEE forums in October of 2013. Strangely it sounds like a dessert?... "Raspberry Pi". At first I was like "...eh, another Arduino clone. I don't really want to waste my time learning another operating system for a lame, little hardware gadget?...", then I started hearing more about it from Make magazine, and other Hardware sites I frequent. Finally, the Linux based home automation software I use was being ported to the Raspberry Pi, and that did it, my curiosity peaked.

What is this thing?

After a little research, I realized this little credit card sized PCB was a full-fledge Linux desktop, and could run as a micro-server quite adequately. Plus... it had this GPIO - "General Purpose Input/Output" port (hmmm, That sounds interesting?). I decided I had to have one to play with... I could buy this little wonder for $25 US from the creators, a UK non-profit (RaspberryPi.Org), and wait almost 3 weeks for it to get to me, plus the shipping would probably be crazy-expensive?... OR I could just order it off of Amazon.com for $40, not pay for shipping, and get it in under a week... No Brainer?! (Be nice to me Amazon!!!)

[Top]

OK, Now that I have a Raspberry Pi, what do I do with it?...

RPi01.jpg This thing is tiny?! 4"x3" with the case.
RPi02.jpg Did I already say this thing was Tiny?
RPi03.jpg Stack of 20 business cards....TINY?!
RPi04.jpg FINALLY INSTALLED... Ah, a familiar site: Debian Linux, and X.
RPi05.jpg Don't it look pur-ty?!

[Top]

Now Let's see what this GPIO port is all about...

CrashMyPi.jpg Are you ready for some LED fun?

Click on the graphic below to download the First GPIO Project VIDEO...
-VIDEO-
Success! I just might get this?!

Click on the graphic below to download the Second GPIO Project VIDEO...
-VIDEO-
I think I got this?!

[Top]

The LEDs were fun, but after watching some Raspberry Pi YouTube Videos the gears started turning...

Enter the Brainstorm...

(AKA: "It's Beginning to Look a -byte- Like Christmas?")

Click on the graphic below to download the POC VIDEO...
-VIDEO-

I bet relays can do some cool stuff?...

A little Googling and I think the next project is a go!
SainSmartRelays.jpg SainSmart Solid State Relay board for 30$... WHAT? It is definitely a must now!

I hope this isn't just another crazy Idea that blows up?!...

ChristmasPiBoxPlans.jpg I think it will work? :-/

But it is November 26th...
People take 6 months or better to do something like this? You don't even own any Christmas Lights. You probably can't get anything in time...

What are you thinking?!

[Top]

Well, Here we go...

ChristmasPiBox01.jpg Grrrr... My woodworking skills suck, but hopefully the wiring will go smoother.

...Where are the relays? Come on FedEx, you can do it...
Winter storm blanketing the East or not?! Just get them here!

ChristmasPiBox02.jpg How did I miscount that? I thought I bought 10? Ugh! Back to Home Depot. 8|
ChristmasPiBox03.jpg Wiring is almost done. Looking good? (Pat, Pat, Pat)

FEDEX! WHERE ARE MY RELAYS?
2nd day? Really?! ...It's been almost two weeks! I need them NOW!

ChristmasPiBox04.jpg Still waiting...
ChristmasPiBox05.jpg FINALLY, it is Pi Time!

Hold your breath, cross your fingers, and all that...

ChristmasPiBox06.jpg Well, the Pi still works after connecting it up and booting... now for some electricity!
[Top]

Ummmm... wait a sec... It is built, but are the 110v lines connected right...

Is it going to burn down the house? :O

Better check everything another time before plugging in anything.
Check 1, check 2, check 3, check... Come on! Just do it!


Just hold on a moment! ...Taking a Brief moment to gather thoughts and take inventory...

So it is now Dec 16, the RPi Christmas Light controller box is built, we have most the lights, but no Lighted Lawn Manger... (The first one sent was defective. Now they are sold out.)

The Lawn Angel we wanted is sold out. The Animated Bells are sold out. 2 bad rope light segments, and they are sold out of the colors we want. Just buy more white I guess?

Finally Found and ordered another Manger. Whew! Hopefully, it gets here before Christmas!

My Crafty Better Half saved the day, by fabricating the trees, and a hanging Angel out of wire, and attached some LEDs.

LightsTreeBlue.jpg LightsTreeGreen.jpg LightsAngel.jpg At least we have something that doesn't look like just a string of rope lights now!

Oh Frig... Do we have any outdoor extension cords?

Alright, enough stalling... GET ON WITH IT! You can get the extension cords tomorrow!

Click on the graphic below to download the Light Test VIDEO...
-VIDEO-
We have Pi-Lights! WooHoo!

LightsManger.jpg AND the new Manger arrived! Yay!

Now we just have to hang everything, and buy some extension cords!!!

With some much needed help (Mucho Thanks Guys!!!), we got the lights up, and...
TooManyCords.jpg We have Extension Cords! :O

[Top]

Time for the Show! (2013)

The Garageband Riff I put together sounds fairly decent and the MIDI sequence works OK, the Decorations are a little lacking, but, they are up.
It could be better, but...

Let's do this!

Click on the graphic below to download The Show VIDEO...
-VIDEO-
Pretty Basic?!
...But Hey, It Actually Works! Next year we will probably add some more channels, more features, and an FM transmitter, but it made for a Fun Project this year just the same?!

[Top]

Click on the graphic below to download a BONUS VIDEO...
-VIDEO-
Having some fun with a Jazz Chart I found online before tearing everything down for the year.
It just might be a bit busy?! :P

Have a Happy New Year!

[Top]

Time for the Show! (2014)

My Crafty Better Half saved the day AGAIN, by fabricating some very cool Sparkle Balls for the front tree.
We added 4 more channels with a Satellite box utilizing a Psuedo-POE scheme, and we added a LED lit sign to advertise the FM transmission.

SparkleBalls.jpg Sat2.jpg SignUp.jpg

The best of the 2014 Shows

Click on the graphic below to download The Show VIDEO...
-VIDEO-

[Top]

Time for the Show! (2015)

Hope your Christmas was Great!

Click on the graphic below to download a 3 minute VIDEO...
-VIDEO-

We added a "fill-in" show utilizing LightShowPi, an Open Source Project that uses just MP3s to create a light show.
The automated install makes it a little easier to install and get up and running.
We are still using LightOrgan for the first part of the show, but have expanded the show to 2 hours. :D

The best of the 2015 Shows

Click on the graphic below to download The Show VIDEO...
-VIDEO-

[Top]

Time for the Show! (2016)

Hope your Christmas was Great!

Click on the graphic below to download a short VIDEO...
-VIDEO-

until next year...

[Top]

Time for the Show! (2017)

Hope your Christmas was Great!

Click on the graphic below to download a short VIDEO...
-VIDEO-

Click on the graphic below to download a short VIDEO...
-VIDEO-

Click on the graphic below to download a short VIDEO...
-VIDEO-

until next year...

[Top]

How did I do this?

I am not going to write a complete how to because most of it has already been done here:
http://chivalrytimberz.wordpress.com

and here for an expanded video description with the MP3 piece:
http://www.youtube.com/watch?v=IKFrWDQY0rw

and here for a hardware description:
http://www.sainsmart.com/blog/relay

or here for a 4 part video tutorial on a similar hardware setup:
http://www.youtube.com/watch?v=dI3xpoyVWAo

If it is not obvious from the above links, you will need to compile the following libraries, and C program.

The GPIO library I use to control the pin output on the Raspberry Pi:
http://wiringpi.com

The open source Linux sound libraries:
http://www.alsa-project.org/main/index.php/Main_Page

The open source MIDI libraries:
http://linux-audio.com/TiMidity-howto.html

Finally the C program that syncs the lights to the MIDI file:
http://code.google.com/p/pi-lightorgan/source/browse/trunk/lightorgan.c

[Top]

EMAIL US...ChristmasProject@K-n-C.com