3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

LED Microcontrolled Stained Glass Firefly Pendant

LED Microcontrolled Stained Glass Firefly Pendant
This Instructable will walk you through the steps needed to make a stained glass pendant with anLED that blinks in a pattern using a microcontroller.

The blink pattern is an actual firefly song of a type of Japanese firefly. It is a scaled down version of the Jar of Fireflies code that my partner wrote. I have included the code here.


 
Remove these adsRemove these ads by Signing Up
 

Step 1What you need

What you need
«
  • IMG_0475.JPG
  • IMG_0507.JPG
art glass (from a glass supply store)
copper tape (from a glass supply store)
a glass cutter (from a glass supply store)
pliers (glass pliers are best but you can substitute regular pliers and coat the tips with rubber like the ones below)
solder
flux
soldering iron
soda can

tiny wires, preferably two different colors
ATTiny45 chip (code attached*) (Digikey #ATTiny45v-10SU-ND)
LED (Digikey #160-1423-1-ND)
tiny switch
CR2016-1F2 battery (Digikey #P222-ND) (Really, any 3v battery will do. This one was chosen for form factor.

*Getting the code on the chip could be its own Instructable. When I am a microcontroller guru someday I will post on how to do that.
« Previous Step   View All StepsNext Step »
27 comments
Jan 28, 2010. 8:23 PManglerfish says:
Where did you get your switch?  Digikey?  If you did, could you give me the product code.
Dec 6, 2009. 1:46 PMdavidleslie says:
A company named Canfield makes a great lead free solder. Most stained glass stores have it or can order for you. Try delphi.com.....by the way, it isn't made from silver.
Sep 27, 2009. 2:08 AMbinaryfaith says:
Hey I'm just getting started with micro-controllers and just got my Arduino learning kit. I was wondering how you physically interface the micro-controller with your computer to get the code in? Must be some USB micro-controller or something can you help me out? Cheers!
Dec 16, 2008. 9:47 AMlittle quick pants says:
Where do you get your silver solder? I am having a hard time finding it in a stain glass shop. Weird. Awesome project! I have been trying to put together something similar, I am using the regular lead mix solder for ornament type pieces, with pictures on both sides.
Sep 17, 2008. 1:40 PMrivetgeek says:
Where can one find an "80 gigawatt" soldering iron? Something Doc Brown has in the delorean maybe? ;D Might wanna fix that
Dec 9, 2008. 2:15 PMcodongolev says:
1.5 jiggawatts? WHAT'S A JIGGAWATT?!?!
Aug 27, 2008. 4:42 PMPumpkin$ says:
beautiful.... simply beautiful.... I think this could work with a valentines day pendant too. I would make one for my girlfriend.
Jul 20, 2008. 8:00 AMGWJax says:
Very nice project, I work with silver and gold when I'm doing jewlery and adding the glass with a nice gold trim and siver backing would set it off very nice. Do you have the program that you could post for those of us that know how to burn a chip. I could program it my self but I like the way it operates as is. I will do this instructable but just replacing the siver solder trim with a 14K gold outline and enclosing the back with sterling silver with a hinge so it will open like a book to hide the electronics for a finnished looking project. Also I would change from a picture to a stained glass using opque colors so the electronics wont show through the glass. One other note: I was supprised that you did not include a diode to protect the chip just incase some one installed the battery backwards. The diode would protect this kind of thing and a resistor to the LED to control the current so the battery would last longer and protect the chip from over heating. I know yur just using a 3v battery but you never know with MCUs what could happen. I think this project is well deserving to include it into the book contest so please enter it and You'll get my vote for it. Great Job!
Jul 21, 2008. 3:40 PMGWJax says:
clamoring, of course this instructable would be great for the book even if you don't have the back on it. It will inspire people to make it a little diffrent. I still say go for it so I can vote for you. I'll post my finnished pendent when I get it done i'll post a pic here on your comments. Jax
Mar 15, 2008. 12:03 AMjoshua.dunham says:
Honestly, I'd just remove that switch (it can't be very comfy) and just solder a thin plate to the red lead coming from the IC. That way you could just shimmy it under the battery guard. If you wanted to go a little further you could also make the frame a bit deeper and embed the battery and the IC (since they seem to be the same height) inside the unit. Would make a better presentation. Just my 0.02$ -J Also, do you know of any good howto's on flashing that program. I was actually going to try this instructable. :)
Feb 12, 2008. 3:11 PMGorillazMiko says:
Neat. Smart. Awesome. Really cool. +1 rating. I like it A LOT. Wish I could try this out.
Feb 12, 2008. 7:40 PMGorillazMiko says:
This is most likely way to hard for me. :P I'm only 13!
Feb 13, 2008. 8:55 PMGorillazMiko says:
Thanks! Right now in the Share the Love contest, I'm in 6th place for the ratings on my LED one... wishing I could get 1st for a T-Shirt. Anyways. Well, I haven't attempted this yet, but I might, and I know I'll get stuck on the soldering. I'm okay at it, but not with small objects, I will probably drop a chip and lose it, or totally destroy it. It's really cool though.
Feb 28, 2008. 4:59 PMprutschman says:
I have had good luck with Blu Tack
Feb 16, 2008. 1:04 AMDzwiedziu says:
Ugh... as far as I see the electronics are not separated from the wearers body and the environment in any way... I would give this someone to put it on his/hers table but I would not give it for being worn. Still +1 for the idea.
Feb 27, 2008. 7:02 PMdan says:
i would just cover everything except the battery and switch moving part in hot-melt glue or silicone, it is easy and if you get some in the wrong place easy to fix/remove. also you could put blobs of glue in the corners so the whole thing stands off your chest evenly (well - evenly off my chest, i imagine there is little hope of anything standing evenly on your chest ;) also you can get a button-cell battery holder from digikey which is just a tad bit larger than the button cell itself and makes switching cells easy.
Feb 26, 2008. 8:18 AMGoodhart says:
Very cool idea.
Feb 11, 2008. 7:02 AMhomba says:
Nice! +1 and favorite :) Great work

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!
36
Followers
3
Author:clamoring