Volume 13 | Issue 4
Volume 13 | Issue 4
Volume 13 | Issue 4
Volume 13 | Issue 4
Volume 13 | Issue 4
This project demonstrates the usage of random function with LED dice using an Arduino. In this project LEDs are used to represent the face of a Dice. To create all the six faces of a dice, we need 7 LEDs. A push button is connected to the ground with a resistor. All the cathodes of the LEDs are connected to the ground with resistors. LEDS are then connected to the Arduino to facilitate the requirement. The Arduino is connected to the ground. Finally, the button is connected the 5v of Arduino, the pin 6 of Arduino is connected to the button. A code is given to the Arduino IDE to give the output as per the requirement. When the code is executed, the output will be random outputs which are given to the LEDs, so that they glow randomly resembling a Dice.