Close or Esc Key

Arduino Projects   |   Raspberry Pi   |   Electronic Circuits   |   AVR   |   PIC   |   8051   |   Electronic Projects

Building Arduino based LED dice

Submitted By: 

Shalini Verma

The advantage of having a techie at home is a blessing in disguise, especially when we get stuck with electric mishaps. Whether it’s a special occasion or an effort to introduce something innovative in the house, they are always at the rescue. This article by Brandon Cannaday has aimed to make an LED dice roller using an Arduino. Inspired by the game of monopoly, where dice rolling is a pretty integral part of the game, has made the game more interesting and also provided an opportunity to bring together your friends and family to play a game.

The amended dice is made up of seven LEDs, a button, and an Arduino Uno and when a button is pushed, the dice automatically "rolls" for a while and then lands on a random number. With this tutorial, the blogger has tried to address many glitches like the process involved to properly connect the LEDs to the breadboard, how to randomly pick a dice number to create the roll animation etc.

The project starts with downloading and running Arduino followed by Arduino IDE for your operating system. Depending upon the type of Arduino one is using, the Arduino is connected via USB connector, once connected some LEDs should light up. After properly configured, a small orange LED on the Arduino board will start blinking.

Seven LEDs are needed, to cover up all possible sides of a dice and each LED is connected to a separate output on a breadboard. After everything is connected, some Arduino code is written to control the lights. All the codes are available on the website along with detailed description of each section. Browse the link to get more details about the process of making such dice.