Year: 2025 | Month: February | Volume: 12 | Issue: 2 | Pages: 84-88
DOI: https://doi.org/10.52403/ijrr.20250210
Random Variable LED Dice Roll Implementation
Wen-Bin Lin1, Kao-Feng Yarn2
1Department of Electrical Engineering,2Department of Electrical Engineering,
CTBC University of Technology, Taiwan 74448, ROC
Corresponding Author: Wen-Bin Lin
ABSTRACT
In this paper, we use a single-chip AT89C52 to control the signals, and the arrangement of LEDs is used to analogize the dice. When the manual switch SW1 is pressed and held down, the LED light will change from 1 to 6 dots. When the SW1 switch is released, the LED will stop changing and stop at any one of the numbers 1~6. It can also shake the board like a dice, and the LEDs will change from 1 to 6 dots when you shake the board; After shaking and vibrating this board, the LED will stop changing and stop at any one of 1~6 dots to complete the function of this LED electronic dice.
Keywords: Single chip, LED, Dice roll
[PDF Full Text]