Arduino-powered holiday lights

I wanted to take control of the lights on my Christmas tree this year, so I read everything I could about interfacing an LED matrix. The idea was to have a setup where I could turn individual lights on and off, and run a little program that did something more than your typical strand of lights. All of my Googling led me to the Maxim 7219 chip, which can control up to 64 LEDs using only 3 pins on the Arduino. I used one of Paul Badger's Arduino-compatible Bare Bones Boards to run the whole show.

If you get really ambituous, you can cascade multiple 7219s and LED matrixes, so you can have a lot of lights. But I ended up getting lazy, and only built one matrix of 64 lights. I followed the diagram on page 1 of tomek ness' tutorial to build the LED matrix (be sure to read this bug report for an important update). There may be better ways to do it, but I laid out the matrix as a web of wires, using wire strippers to cut into the wire and push some insulation out of the way before I wrapped each LED's leads around the exposed wire. Then I soldered it in place, put some heatshrink wrap around the joint, and ended up with a not-too-shabby LED matrix. Once that was done, I again turned to tomek's tutorial, and hooked the Arduino up to the 7219 and the 7219 up to the matrix. tomek also has some source code available that I was able to modify for my needs. You can find my code right here.

The video above gives you an overview of the project. After the jump, you can see a high-speed video showing how I put one of the rows together (stripping, soldering, shrinking). I'll post some more on this project soon--stay tuned for details on how I got this talking to my Nokia phone over Bluetooth.


Recent Entries

Comments

Oldest comments listed first.

Posted by: Anonymous on December 7, 2007 at 9:37 PM

Yet another omen that I should get one for Christmas


Posted by: TrygveTrygve on July 29, 2008 at 8:52 PM

Really nice! Is there a way to control that many LEDs individually without using a matrix?


Leave a comment


Subscribe to MAKE!Subscribe to MAKE Magazine!

Subscribe today, save 42% and get web access to MAKE free. MAKE Digital Edition is available only to subscribers.

$34.95 / 1 year
(4 Quarterly Issues)

Subscribe now


Void your warranty, violate a user agreement, fry a circuit, blow a fuse, poke an eye out. Make: The risk-takers, the doers, the makers of things... Welcome to Make: Online!


CRAFT Maker Shed Maker Faire MAKE television
Holiday Gift Guides from MAKE
Gifts for Dads
Science and Chemistry
Gifts Under $20
More guides: Santa Claus Machines, Geek Toys for Grown Up Girls & Boys


Check out all of the episodes of Make: television

Alex Rider Dream Gadget Contest
Make: Science Room

Connect with MAKE

Be a MAKE fan on Facebook MAKE on Facebook
Visit our Facebook page and become a fan of MAKE!
MAKE on Twitter MAKE on Twitter
Follow our MAKE tweets!
MAKE Flickr Pool MAKE on Flickr
Join our MAKE Flickr Pool!
    make_tips on Twitter




    Maker SHED

    Advertise here with FM.

    Why advertise on MAKE?
    Read what folks are saying about us!

    Click here to advertise on MAKE!



    Subscribe to MAKE Magazine!

    Make: Online authors!

    Gareth BranwynGareth Branwyn
    Senior Editor


    Phillip TorronePhillip Torrone
    Senior Editor
    | AIM | Twitter


    Becky SternBecky Stern
    Associate Editor
    | AIM | Twitter


    Marc de VinckMarc de Vinck
    Contributing Writer
    | AIM | Twitter


    John ParkJohn Park
    Contributing Writer
    | Twitter


    Sean RaganSean Ragan
    Contributing Writer
    | Twitter


    Matt MetsMatt Mets
    Contributing Writer
    | AIM | Twitter


    Dale DoughertyDale Dougherty
    Editor & Publisher
    | Twitter


    Shawn ConnallyShawn Connally
    Managing Editor
    | Twitter


    Goli MohammadiGoli Mohammadi
    Associate Managing Editor

    Kip KayKip Kay
    Weekend Projects
    | AIM | Twitter


    Collin CunninghamCollin Cunningham
    Contributing Writer
    | AIM | Twitter

    Adam FlahertyAdam Flaherty
    Contributing Writer
    | AIM | Twitter



    More contributors: Mark Frauenfelder (Editor-in-Chief, MAKE magazine), Kipp Bradford (Technical Consultant/Writer), Chris Connors (Education), Diana Eng (Guest Author), Peter Horvath (Intern), Brian Jepson (O'Reilly Media), Robert Bruce Thompson (Science Room)

    Suggest a Site!

    Current Podcast

    itunesdl.gif Weekend Project: Beetlebot Simple robot from your parts bin that avoids obstacles. Thanks go to Jerome Demers for the original article in MAKE, Volume 12. To download the Beetlebot video, click here or subscribe in iTunes. Check out the complete Beetlebot article... More...

    Get the Make: Online sent via email
    Enter your email to receive Make: Online each day:



    MAKE Fascination video series brought to you by Dow

    Make: Education
    MAKE: en EspaƱol MAKE: Japan
    Important please read


    Subscribe to MAKE Magazine!

    Recent Posts from the Craft: Blog