View on GitHub

Hammes Hacks

Projects designed by Emily Hammes

Shamrock

Introduction

The Shamrock is a PCB-Celtic knot shaped like a shamrock with 20 LEDs. The LEDs are independently controlled by an ATTINY 13 using charlieplexing. Code is uploaded to the device with AVR dude using a Bus Pirate, a AVRisp mk II or similar. It is not Arduino compatible. It comes pre-programmed in the kit.

Theory

Embedding Plastic

Embedding plastic makes the PCBs to look like stained glass windows during the day. It is pretty, but I have not managed to find a flame retardant plastic source. This makes the plastic not suitable for electronics use. Therefore, I have not included plastic in the kits. However, given that I am living in a country where people put actual candles on actual pine trees at Christmas, I am not really worried about adding another fire hazard to my tree. I am including these directions so that you can create this fire hazard at your own risk.

Materials

Melting the Plastic

Preheat oven to the temperature recommended for the 3D printer plastic. Place a piece of perfectly flat aluminum foil onto the cookie sheet. Place the PCB onto the aluminum foil. Using tweezers, put pieces of 3D printer plastic into the empty spaces in the PCB making sure that none of the pieces are touching the pads of the PCB. Once the plastic is arranged, place the whole board into the oven. Wait until the plastic melts and then remove the cookie sheet from the oven. Once the cookie sheet is at room temperature, peel the aluminum foil off of the PCB. You are now ready to solder the components onto the PCB.

Note: If any plastic has melted onto the Pads of the PCB, the PCB will still work, but you will need to melt it when soldering the components. It is very important to clean your tip when soldering especially if there are parts of plastic on the PCB already!

Soldering The Shamrock

Materials

To solder the heart follow these steps:

schmatic

  1. Solder on all 20 LEDS paying attention to the LED orientation on the silkscreen.
  2. Solder the capacitor onto the PCB.
  3. Solder the ATtiny13A onto the PCB.
  4. Solder the Resistors onto the PCB.
  5. Solder the power cable onto the PCB.
  6. (Optional) Chain them together by soldering cables onto each other.

Uploading Code

Whats Inside the PCB?

schematic

This is the schematic of the PCB, showing how all the components are connected.

PCB

This is a transparent view of the PCB. Green lines are wires on one side and red lines are wires on the other side of the PCB. The text that will be printed on the board is in magenta on one side and teal on the other. The yellow line is the edge of the board. The gold circles are drilled through the board and have copper on both sides.