Tilt Activated LED Glow Cube





Introduction: Tilt Activated LED Glow Cube

I can thank Instructibles for inspiring me to make various LED projects for my family and friends. Now it's time to publish my first instructible on my latest and favorite project so far.

This instructible will show you how to quickly and easily build your own tilt activated color changing light cube!

Step 1: What You'll Need

The materials I used are:

1) 3 5mm rgb slow fading LEDs (look on ebay. I found 50 for $12)
2) 1 baseball display box (hobby store, $2.99)
3) clear glass marbles (hobby store $.99)
4) 1 9v battery holder (Radio Shack, $.99)
5) 9v battery clip (Radio Shack approx $3 for 5)
6) 1 sub-mini momentary switch (Radio Shack $1.50)
7) soldering iron
8) glue gun

Step 2: Assembling the Electronics

First solder your LEDs in series. I used 3 5mm LEDs that have a forward voltage of approx 3.2v, so in this project I didn't use a resistor with the 9v battery. Solder the LEDs so that the positive (the longer leg) of one goes to the negative (shorter leg) of the next. Next, solder your negative battery clip wire to the positive end one of your end LEDs.

I needed a hole in the bottom of the cube for the momentary switch and found that the soldering iron did an ideal job. I melted the hole to the right size and slipped the switch in. When the plastic cooled, the switch was secure. The actually switch part sticks out just enough from the bottom to be pressed when the cube is set down with a little pressure.

Finally, solder the positive lead of the battery clip to one of the switch posts, and the final LED leg to the other post.

Test your connections with the battery. If all is well, use a drop of glue on each of the 3 supports made to hold the baseball and secure your LEDs. trim any excess.

Step 3: Almost Done!

The area in the middle of the LEDs is a perfect fit for the battery holder. Glue that right in the middle. secure your battery vertically. Don't worry, once the marbles are in place, you won't be able to notice the battery.

This baseball cube comes in two pieces that slide together.  In order to add the marbles, put it together, leaving just enough separated to fit the glass marbles through. It can be a little tricky, but if you cover the bottom openings and take your time, you'll be able to fill it up quickly.Stop occasionally and shake it lightly to even out the way the marbles sit. Don't try to overfill or you won't be able to close it properly!

To hold the two pieces closed, you could glue them together. I choose not to so that I can easily change the battery when need be. You can use what you like to secure them, but I chose an elastic decorative string I had around. Tied tightly, this keeps the whole cube in place and makes it look like a small gift.

Step 4: The Finished Project

The weight of the marbles will activate the momentary switch when you set it upright. The marbles do a fantastic job of diffusing the light from the LEDs. And once they start changing colors out of sync, you'll end up with three distinct colors at a time!

I'd love to see different variations done on this. I plan on trying different colored marbles/materials. Let me know what you think!




    • Science of Cooking

      Science of Cooking
    • Paper Contest 2018

      Paper Contest 2018
    • Pro Tips Challenge

      Pro Tips Challenge

    We have a be nice policy.
    Please be positive and constructive.




    Verry Nice!
    now if i could wire up a pressure switch it would turn on when ever i set something on it, oh yea; also some sort of randomizer circut and you could have a different color every time you set your glass on it!

    To the author, yes "I" was confused. I wanted to see a tilt switch activate the circuit. I didn't get the part of the marbles pushing on the momentary switch to complete the circuit. I see the switch in the 1st picture and it just did not relate. For some reason I can't see videos from Instructables. Thanks for clearing that up. BTW, I asked because I really like this Instructable and wanted very much to make one as a Xmas gift. Very cool and simple, nice!

    I'd love to see everyone's own versions of these! Using a real tilt switch would be very easy and much more ideal.

    BTW, I recently acquired a classic metal gumball machine on a stand and will be making a new project with it involving the glass marbles and LEDs. It's just going to have to wait until after the holidays. I'll post it on Instructibles of course!

    Do you think this could be made with some old Christmas tree lights instead of the LEDs?

    Oh absolutely. Try covering the insides with paper, or frosted laminate (hey, frosted shrinky-dink paper works great), or maybe even spray with frosted paint. Then stuff with your led xmas lights. The only problem here is the size. A baseball memorabilia box like I used would be a bit small. However, they do make them for basketballs, too!

    Thanks for the resistor link. I want to build this project with a resistor. What resistor part do I need, and where do I put it inline with the LEDs? I can read a million sites with reistor basics, but specific to this build, what do I need specifically? Thank you very much. This is a very cool project. I hope to get my kids involved too.

    - s3

    Great. Thank you. I really appreciate the resistor color help on that site. I like the diagrams on this site a bit more for us noobies: http://ledcalc.com/

    Can anyone find some reasonably priced micro, non-mercury tilt switches that don't ship from overseas? Sometimes waiting for a shipment from China hurts too much.

    Thanks again. This cute little build has me hooked now :)


    I wanted to make a table out of this. Out of plexiglass. Is it possible to make like a bar table. thanks

    Absolutely! It would actually be very simple to do unless you want something more interactive that lights up when you put down a drink. Just make sure you use the right resistors with whatever power source you choose. You can expand on several different smaller led projects listed on this site to get started. I've been thinking of doing something similar, my only problem being I don't have the tools or workspace to do any wood building. If you do make a table/bar, be sure to post it here on Instructibles for us to see! Leds make everything better lol