ATtiny85 LED Dice

by iBaeton in Circuits > Arduino

7992 Views, 85 Favorites, 0 Comments

ATtiny85 LED Dice

Today I will show You my new project - LED Dice using a ATtiny85.

When You press the button, it generates a number randomly and displays it as a die.

Materials

Parts:

  • ATtiny85 (also You can use ATtiny45 and ATtiny25)
  • DIP8 socket
  • 7 green LEDs (3V)
  • Tact switch
  • 10kΩ resistor
  • Single side perfboard (12 x 22 holes)
  • 2 batteries with holder

You also need:

  • Wire for making paths
  • Heat shrink tubing for isolate paths
  • Solder and rosin
  • Soldering iron
  • Third hand
  • Pliers
  • Hot glue gun

and Arduino for programming ATtiny.

Schematic and Design

Here is a schematic and design (both done in Fritzing) of my LED Dice.

Soldering Time!

Put the elements on perfboard and solder them. Next make the paths using wire and heat shrink tubing.

Prepare Battery Holder

Remove the wires from their original locations and put them in the lower holes. Next shorten wires and cover them with solder.

End of Soldering.

Now solder the battery holders cable to perfboard. Next hot glue the board to battery case.

Program the ATtiny Using Arduino

How to program the ATtiny you will learn from this instructable.

I prepared amazing code.

After the programming, put ATtiny to finished board. Remember to the dot next to the first pin.

Done

The ATtiny85 LED Dice is done.

This was my first Instructable.

I'm sorry for its poor quality.