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.

Digital Dice: an Arduino project.

Digital Dice: an Arduino project.
People like games "high tech". For example: in my country there is a game called "Monopoly". In that game one must collect "streets" by buying them with money.
That game recently released a version where one doesn't pay with paper but with a credit card.

I was starting to think about what else i couldd modernise...
OMG... I thought while throwing the dice.
10 minutes and a game I won later I started learning Wiring.
when I could do that I bought an Arduino.



Why this Instructable is in the efficiency contest:
The battery's used in the Arduino are rechargables, these can be charged over 1000 times! No throwing away battery's!!
 
Remove these adsRemove these ads by Signing Up
 

Step 1Materials and tools.

Materials and tools.
  • Arduino
  • Power for Arduino.
  • 7 LED's.
  • Suitable box.
  • Wire.
  • Switch

Tools:
  • Soldering Iron.
  • Hot glue.
  • Dremel.
  • Some items like a ruler, I won't actually tell when to use them but it should come in handy.
« Previous StepDownload PDFView All StepsNext Step »
21 comments
May 18, 2011. 6:51 PManand-patel says:
So how exactly does the dice work? do you press the button then it shows a different number?? Keen to make similar project
May 22, 2011. 3:36 PManand-patel says:
Thanks, also how do you connect the wires to arduino??
Aug 3, 2011. 5:13 PManand-patel says:
Awesome, I tried this and it worked perfectly! One change I would like to make is to have the lights flash randomly before settling on a number (simulating the 'rolling' of a die) - could you help me out?
May 26, 2011. 8:37 AMdholroyd says:
I could download this code??
Aug 20, 2010. 11:50 AMthehtd says:
http://thehtd.blogspot.com/ thanks for the informations..
Jun 22, 2010. 12:08 AMsapc says:
what part of the code sets how long the lights stay on for before switching off
Aug 21, 2009. 5:48 PMcoolrobot says:
very good Instructable!

I got a question tough

do the numbers on the digital dice just change very fast (ex:every millisecond)?

also,the circuit thing is nice but it would be MUCH easier if you had a prototyping shield on so you could just snap the LED's in there and run some jumper wires to the digital pins

also,if anybody knows a project (similar to this) in which you press a button and the LED's display a number and keeps it on unless you press the button one more time,which will display another number...please respond
Aug 22, 2009. 3:49 AMcoolrobot says:
another thing...I an new to the arduino which I got a week ago and the second code (DigitalDice_with_press),its the same soldering and things except that you connect a push button (or switch) to it instead of the ON/OFF switch,right? i am waiting for a response...this is a really cool project and I intend to make it I will test it out after I can get the answer to my questions thanks
Aug 22, 2009. 6:34 AMcoolrobot says:
here's the thing...i have tried like 4 arduino projects and for some reason (me) none of them worked even if i connected everything well and double chacked. i also tried this one and it doesnt work for me...if it works for anyone...then maybe its my stupid protoshield kit that was missing 3 female headers that should be pluged in the icsp pins and then on the protoshield maybe it doesnt work,maybe its me but i will check out the first one to see if it works for me... sorry...
Apr 27, 2009. 7:47 PMWard_Nox says:
(removed by author or community request)
Apr 28, 2009. 10:57 PMWard_Nox says:
(removed by author or community request)
Apr 30, 2009. 4:57 PMWard_Nox says:
(removed by author or community request)
Apr 27, 2009. 7:35 AMTXTCLA55 says:
Hmmm; some diagrams of how to wire all the LED's to the arduino would be nice....but over all a great ible! 5 starts!

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!
23
Followers
12
Author:dunnos