IJFANS International Journal of Food and Nutritional Sciences

ISSN PRINT 2319 1775 Online 2320-7876

BUILDING AN LED DICE WITH ARDUINO FOR INTERACTIVE PLAY

Main Article Content

Vashapaka Sunilkumar, Santosh Kumar Boddupelli, Gandhe Prasad Rajendra, Konda Srikanth, Dhruv Bhakta

Abstract

This project shows how to use an Arduino's random function with LED dice. In this project, the face of a dice is represented by LEDs. Seven LEDs are required to produce each of a dice's six faces. A resistor is used to link a push button to the ground. Resistors are used to link each LED's cathode to the ground. To meet the criteria, LEDs are then attached to the Arduino. The Arduino has a ground connection. Finally, pin 6 of the Arduino is linked to the button, which is connected to the Arduino's 5v. The Arduino IDE is provided with code to produce the desired result. When the code is run, the LEDs will get random outputs that will cause them to light erratically, like a dice.

Article Details