Simple electronic dice by DemonDomen
img_2257_bright.jpg
img_2264.jpg
img_2254.jpg
img_2257.jpg
img_2248.jpg
img_2260.jpg
Ever wanted to make an electronic dice? I designed a simple and small circuit, that fits into every pocket.

You might wounder why this is better than a normal die. It significantly increases your geekiness level.

The biggest part is the battery, because we're using a 9V battery.



 
Remove these adsRemove these ads by Signing Up

Step 1: Parts

It's hard to understand, why some people build circuits with so many parts. You can build the same thing with less parts and it still works.

You will be surprised by the number of parts needed:

-1x ATTiny26
-7x LED (preferably diffused)
-7x 160 ohm resistor
-push button
-9V battery clip

This part is for the voltage regulator:
-1x 60 ohm resistor (power rating 0.3W or more)
-1x 5.1V zener diode (power rating 0.5W or more)

Sadly, I never take pictures of my parts. I always forget.
godofal says: Nov 14, 2009. 10:27 AM
u should make it more clearly what led is wich one...
in the diagram it only says led1-led2 etc, but its hard to figure out wich one is led1 in the 7led display...
godofal says: Nov 14, 2009. 10:36 AM
btw, when i say hard to figure out, i mean the only way is to compare the solder tracks and the components to eachother to backtrack wich attinypin is connected with what led...
il show the pic as soon as im done, with the connections...
godofal says: Nov 14, 2009. 10:55 AM
okay, compared 2 pics, and uploaded it, here it is :)
leds+pins.jpg
godofal says: Nov 14, 2009. 10:58 AM
hmm,  a bit slow...

anyway here's the result, its in the pic, but a bit to small to see good...
heres a small txt version, the numbers are the pins the leds are connected to, and the place theyr standing are the place the leds are.

|20|     |14|
|19|17|13|
|18|     |12|


i hope its clear...
godofal says: Nov 15, 2009. 2:04 AM
oh dmn, just figured out why the VCC and GND arent on pin 20 and 10, its attiny26, i thought all along it was attiny2313...

well, im gonna try and alter the code for attiny2313, il post it if i can figure it out...
hamsamadiraju says: Aug 21, 2009. 3:42 AM
excellent idea! its useful to the hobbyists n students....as a mini project...thanq...
zoltzerino says: Jul 23, 2009. 12:04 PM
Ive seen this done with a much smaller chip, I think it was a PicAxe 08M, Instead of a PTM switch there was a "shake to make" switch, making it more dice like.
coolrobot says: Jul 19, 2009. 8:07 AM
it's kind of hard to understand how you soldered it together.you should do a drawind on paint or something to simplify it
coolrobot says: Jul 19, 2009. 8:04 AM
very nice!

i'm going to do this as my first real project.

thanks for the instructable

P.-S. :do you know where to get the materials?radioshack?

-alex
macobt says: Jul 4, 2009. 9:20 AM
Nice work.
Here is my double led dice
http://www.instructables.com/id/Led_Dice_PIC16F84/
DemonDomen (author) says: Jul 4, 2009. 2:10 PM
That was a great idea. But even if i thought of that, I still couldn't have made it. I only had enough leds for one and the avr would probably be too weak.
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!