Animated Christmas LED Snowflake Window Decoration

Animated Christmas LED Snowflake Window Decoration
I make my own Christmas lighting decorations instead of buying ready-made ones.
This year, I made a "Snowflake" pattern using a matrix of 61 white LEDs.
The finished item measures about 38 x 40 cm and is controlled by a PIC microcontroller.

It is programmed entirely in assembler, has about 30 different pattern effects with fading, random speed and pattern selections.

The video shows some of the effects (I have added more effects since then)



The ZIP file contains the current PIC HEX firmware file and templates for making the Snowflake, PCB etc.

The latest firmware can also be found on my website.

I have added the .dwg file for the Snowflake pattern to allow you to customise the size etc.
You will need a CAD program to use it. ( A good free one is A9cad by A9tech).
 
Remove these adsRemove these ads by Signing Up
 

Step 1What you need

A sheet of clear 2mm thick Polycarbonate/Acrylic plastic sheet (The type found in DIY stores).
(You could use a thin sheet of wood or strong cardboard instead if you wish.) about 40x37 cm (16 x 14.5 inches).

Parts list
1 x 100uF capacitor (25v electrolytic)
1 x 10uF capacitor (16 or 25v electrolytic)
2 x 0,1uF capacitor (small decoupling 50v type)
1 x 1N4002 Or 1N4001 diode
1 x 7805CT Standard 5V regulator
1 x CD4028BE Or equiv. (BCD to decimal decoder IC)
1 x ULN2803 Or ULN2803A (Darlington Transistor array IC)
1 x PIC18F1330-I/P Microchip PIC microcontroller
8 x 56 ohm resistors (0.25W carbon)
61 White LEDS (5mm) High brightness.
1 x 18pin IC socket for the microcontroller.
1 x piece of single sided pcb board at least 6.3 x 3.5 cm (2.5 x 1.38 inches)
Plenty of thin hookup wire for connecting the leds.
A 9 volts DC power supply (rated at over 100mA)
4 x m3 nuts & bolts for securing the pcb to the plastic.

The PIC18F1330-I/P is a standard 18 pin DIP version, available from suppliers such as Farnell, Mouser, RS Components etc.

The leds can be the very cheap types typically available in bags of 100 from various suppliers.

The resistors can be a higher value up to 100 ohm types if you don't mind the leds being slightly dimmer.

Tools and stuff
A sturdy workbench
Fine tip soldering iron and solder.
A heavy duty "Stanley" type retractable DIY knife for scoring the plastic sheet.
A metal "straight edge" for guiding the knife when scoring the plastic sheet.
Tape measure or ruler.
Pen for marking cuts and a sharp Bradawl for marking drill holes.
Small pliers and cutters for the wiring work.
General purpose clear glue for fixing any loose leds.
Printer, Paper and clear adhesive tape.
Safety equipment: Eye protection for soldering, trimming wires etc.
Antistatic ESD protection: A Wrist strap and ideally a ESD workbench mat are recommended.
5mm & 3.5mm metalwork drill bits for drilling led and pcb mounting holes.
A general purpose drill (I used a rechargeable type)
Tools and equipment for etching a pcb using the "Toner transfer" or other methods - there are various tutorials elsewhere so I won't go into it here.
A programmer that supports the PIC18F1330. Ideally a Microchip "PICkit 2" or similar clone type.
(Note. Older types of programmer/software (eg JDM) may not support this chip.

« Previous StepDownload PDFView All StepsNext Step »
27 comments
Dec 3, 2010. 1:57 PMschroedc says:
I like it. But, I might suggest replacing some of the white LEDs with blue ones to define/distinguish the snowflake shape a little better than just a bunch of white LEDs.
Dec 5, 2008. 8:10 AMjcencer says:
This is a very cool design, but it's much easier and cheaper to run to Wal-Mart or Target to buy the same thing. The circuitry is then in a weather-tight enclosure and can stand up to anything Mother Nature dishes out. Nice job on the design.
Dec 5, 2008. 8:20 AMjhorton says:
But then you can't modify the patterns or any other aspect of the code :) Just pot the circuit board in some epoxy, hot melt glue the solder connections, easy isn't always better.
Dec 23, 2009. 10:16 AMcompukit says:
hi i post a youtube link  to my movie of my xmis decoratjon whit the snowflake :):P.
hoop ou like it
Dec 23, 2009. 10:19 AMcompukit says:
http://www.youtube.com/watch?v=lJtLA7EfgGQ
oops forgot the clip .
Nov 14, 2009. 5:50 AMcompukit says:
I have a question that you print that image in your zip file that is signed so that the signed parts of the solder the components to come out if the other side of the solder side.
Thanks
Jan 4, 2009. 12:35 PMneilh says:
Great instructable! I just built one, and it came out really well. Would you consider posting the source code so I can play with my own patterns more easily? I was hoping to have it complete before christmas, but the LEDs took a while to ship (I found them on ebay for a reasonable price). I can supply a pic of my snowflake if you like. Happy New Year to you! Thanks again! --Neil.
Dec 30, 2008. 4:05 PMwanderingmoose says:
Thanks for your work on this project. I built four for xmas gifts this year. They went over great with the family. Thanks
Dec 7, 2008. 12:58 PMdanking says:
What values did you use for the resistors? Did you spec if for full current draw with one LED or eight?
Dec 8, 2008. 12:48 PMdanking says:
Hmmm. Clearly I failed to undetand the design. I thought each port would have to drive an entire row (or column) at a time. Or, I missed a bit of subtlety. Thanks!
Dec 5, 2008. 9:43 PMskylab says:
Very nice. But don't build it if you are in Boston! The ever paranoid spastic Public Safety folks will arrest you.
Dec 6, 2008. 6:09 AMWingDings says:
lol
Dec 4, 2008. 2:23 PMjhorton says:
This is a great project! Any chance you have the snowflake pattern in one piece, say in .SVG or .AI format? Would love to modify it a bit and get a few stars cut out on a laser cutter from places like Ponoko.
Dec 5, 2008. 11:25 AMjhorton says:
Thanks for the .DWG file! I've tried a few utilities, and have had no luck getting a usable .SVG file. I'm going to work on a new vector file from scratch over the weekend using Inkscape and the Ponoko guides. I'll share whatever I come up with!
Dec 2, 2008. 4:39 PMxboxteen01 says:
Awesome project. Any tips for drilling the acrylic to avoid cracks from stress? I heard you can use masking tape but it hasnt been effective for me on past projects
Dec 4, 2008. 1:39 PMmickeypop says:
When drilling plastic - use plastic drill --- regular twist drills are beveled at about 13 degrees, plastic drills are at 45 degrees or a 90 degree point. This prevents the jamming that causes the cracking in the first place -- if you have access to a grinder, re-shapening the tip to the new angle works great and will last a long time, much cheaper than buying special bits.
Dec 4, 2008. 1:06 PMericschmidlin says:
Forget about using tape when drilling through plastic. The only way that works is if you use a drill press that has an adjustable speed. Even then, if you dont drill with very light pressure, the plastic will still crack. The best thing you can use is a "step up" drill bit (about $20 at the usual home centers). This bit looks simillar to a funnel, with several diameter "steps". I do a lot of work with acrylics and I have yet to crack anything with this bit! Just be sure that you go slow and don't apply too much pressure when drilling! Also, drilling in reverse may work on some types of plastic, but here again, more times than not, the plastic can crack from the heat.
Dec 3, 2008. 9:36 PMgroudzero says:
A few drilling tips. Use a dull bit. Tape the back side to help stress. Use smaller bits first then move up to the size you need.
Dec 3, 2008. 8:46 PMcomputer_gui says:
I've found it works well to drill in reverse so as to melt the plastic instead of drilling normally having it catch and then having it break. The holes need to be filed down after but it keeps it from breaking.
Dec 4, 2008. 1:27 PMalexorson says:
Thanks for including the video. It really ties the whole project together. Great instructable!
Dec 3, 2008. 3:44 AMamaze1 says:
  • Very * very * nice !
I like so much the idea and the pattern.
Maybe you could save some parts using charlieplexing, but it could lack in luminosity and all in all final circuit seems not so complicated.
Indeed I think it is better place LEDs this way than make * another * led cube!
Dec 2, 2008. 3:37 PMPlasmana says:
That is some very impressive work you had done! 5 stars!

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
5
Followers
1
Author:unusualelectronics