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.

Holiday Dice Roller

Holiday Dice Roller
Our family is always loosing the dice from games, so we needed a more permanent solution...

This is a fun project, based on Arduino. I chose a holiday theme for the box, but you can, of course, use any style of box you like.

This device rolls two dice at random.

I also added a twist...there is a "secret" button that you can push for random doubles! Baffle your opponents by always rolling doubles!

Here's a video showing how it works:

 
Remove these adsRemove these ads by Signing Up
 

Step 1Hardware assembly

Hardware assembly
I cut out a piece of wood and drilled holes in it to mount the LED's in. It looks better if they don't protrude above the surface of the outside face of the wood.

I used 14 typical LED's, each with a 100ohm resister in-line and connected to the Arduino digital pins as follows:

Left Die:
upper row, left to right: 10,9,8
middle: 7
lower row, l to r: 11,12,13

Right Die:
upper row, left to right: 3,2,1
middle: 0
lower row, l to r: 4,5,6

Note: I made one die green and the other red in the spirit of the holidays!

Then I connected an on/off switch (in-line with the 9V battery) and a "roll" button (a momentary switch connected to Arduino Analog A0 pin...which can be referenced as digital pin 14 in the code).

I also put a "secret" switch under the green ribbon (a momentary switch connected to Arduino Analog A1 pin...which can be referenced as digital pin 15 in the code). If you push this before your roll, you always get doubles!

« Previous StepDownload PDFView All StepsNext Step »
2 comments
Jan 3, 2012. 3:34 PMPenolopy Bulnick says:
How awesome! That would be really helpful especially because it is a lot quieter than rolling dice into a pie tin!

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!
3
Followers
1
Author:kkaisen