IJFANS International Journal of Food and Nutritional Sciences

ISSN PRINT 2319 1775 Online 2320-7876

LED DICE USING ARDUINO

Main Article Content

S. Bhaskar Rao, P. Kumar

Abstract

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.

Article Details