Arduino Five Pin LED Matrix Dice

by simonfrfr in Circuits > Arduino

6430 Views, 3 Favorites, 0 Comments

Arduino Five Pin LED Matrix Dice

IMG_0616.JPG
Welcome. This project was made completely and totally by Simonfrfr except for the electronic components. You will need an Arduino UNO ($30) breadboard($3-$50)jumper wires($3-$12)Five Pin LED Dice Matrix from Newton Labs at newtonlabs.weebly.com ($8) a resistor any kind (about $1) and a button(67ยข). This basic Arduino dice will use very simple random commands and will pick a number one through six. This is open source and I will allow you to use parts of my code for other things, but please do not just republish this as your own!

Setting Up the Breadboard

FIVE PIN LED DICE MATRIX Circuit.png
The breadboard will consist of this circuit. The prototype's schematic is on the Newton Labs Website. The reason why we need a resistor is so that if any electrons get stuck after the switch is read then they will go through the resistor instead of waiting for the micro controller to take in more power.


Programing the Arduino UNO

DICE PROG.PNG
This is a very basic version of my dice program. This version is simplified and is made as easy to interpret as possible. This program only took minutes to program because of it's simplicity.

Downloads

You Are Done, But You Can Add More!

IMG_0609.JPG
You may keep it as it is or you can add on a shake sensor if you would like from my other instructable at nowhere (currently being made)! It is a nice thing to have on a boat plane or where ever you go. Now you don't have to throw your dice you can just press the button or use the shake sensor (in progress).