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.
What you need
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)
soda cantiny wires, preferably two different colors
ATTiny45 chip (code attached*) (Digikey #ATTiny45v-10SU-ND)
LED (Digikey #160-1423-1-ND)
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.
Score & Cut the glass
The first thing you need to do is decide the size of pendant you want. I made mine *just* big enough to fit everything on the back. This is mostly dictated by the size of the battery.
Art glass is a bit softer than window glass. It is much easier to cut as well. Draw your lines on the glass. Dab a little mineral oil on the cutting wheel to keep it moving nice and smoothly. Apply slight and even pressure and roll all the way to the other side of the glass (past your markings).
Glass pliers are very nice and specifically designed to break your glass along your score. They’re kind of rounded on the ends and have rubber pads to protect the glass from scratching. The pliers below are regular pliers that have been dipped in liquid rubber several times to get the same effect – mostly anyway. Either way, they will break the glass *way* better than your hand.
Score and break until you have a square.
Cut your soda can and vellum to size. Your picture and glass should already be to size.
Cut a hole in your picture and your aluminum that the LED can shine through.
There will be four layers for your picture before we start on the electronics. Stack layers in the following order:
As you can see, we’re using the vellum to diffuse the LED light.
Copper tape is not difficult to work with. Line the edges first. Squish two opposite sides down flat. Run your fingernail or other flat surface over them to make the edges sharp. Then squish the other two sides taking care to make nice corners. The flatter your fold against the glass the nicer your solder will look when you’re finished.
For more Detail: LED Microcontrolled Stained Glass Firefly Pendant using Microcontroller ATTiny45 chip