कोशिश गोल्ड - मुक्त
TOUCH TO ROLL: A Decoder-Based Dice
Electronics For You
|April 2025
Electronic dice, or e-dice, are widely used today, but creating a design replicating the anticipation and randomness of a physical dice roll comes with its challenges.

This device achieves that effect by generating a rolling motion that lasts approximately four seconds, though the duration can be adjusted by modifying the rolling steps.
A 3-to-8 decoder (IC 74LS138) displays a valid dice face, with combinational AOI logic (AND, OR, and INVERT gates) ensuring only valid outputs. Seven individual LEDs, arranged to represent numbers 1 through 6, replicate the appearance of a traditional dice. The ESP32 microcontroller brings the design to life, handling random number selection and creating a realistic rolling effect, making this an excellent case study in digital circuit design.
Fig. 1 shows the prototype with the rolling clock, while Fig. 2 presents a block diagram of the system. Table 1 lists the components required to build this device.

The ESP32 board is the core of the device. It is used for the following tasks:
Detecting the closure of the path that activates the dice roll.
Introducing a rolling step of a few seconds (four seconds in this case).
Generating a 3-bit random number.
यह कहानी Electronics For You के April 2025 संस्करण से ली गई है।
हजारों चुनिंदा प्रीमियम कहानियों और 9,500 से अधिक पत्रिकाओं और समाचार पत्रों तक पहुंचने के लिए मैगज़्टर गोल्ड की सदस्यता लें।
क्या आप पहले से ही ग्राहक हैं? साइन इन करें
Electronics For You से और कहानियाँ
Electronics For You
Low-power, reliable transmitter chip
Researchers at MIT (United States) have developed a compact transmitter chip that reduces signal errors by a factor of four and extends battery life for IoT devices.
1 min
September 2025

Electronics For You
Leading Suppliers of MICROSCOPES FOR OC OF ELECTRONICS
Who are India's Leading Suppliers of Microscopes for Quality Control of Electronics? Here is the list...
5 mins
September 2025

Electronics For You
Compact swarm-level AI drones navigation using neural network
Researchers at Shanghai Jiao Tong University (Shanghai, China) have developed a compact AI navigation system for drones.
1 min
September 2025

Electronics For You
ML-based wireless power transfer
Researchers at Chiba University (Chiba, Japan) have developed a machine learning-based method to design wireless power transfer (WPT) systems that stay efficient and stable across varying loads.
1 min
September 2025
Electronics For You
Wi-Fi that knows who you are
WhoFi, developed at La Sapienza University (Rome, Italy), is a Wi-Fi-based surveillance system that identifies individuals by how their bodies disrupt wireless signals; no cameras, contact, or consent is needed.
1 min
September 2025

Electronics For You
3mm-thick holographic display that delivers lifelike 3D visuals
Stanford researchers (California) have unveiled a 3mm-thick holographic display that delivers lifelike 3D visuals using true holography, not stereoscopy.
1 min
September 2025

Electronics For You
Smart Trolley Robot 'TROLL.E 1.0'
Robots now play a vital role across modern society, often described as human-like due to their growing presence in social and commercial environments.
3 mins
September 2025
Electronics For You
Compact metal-free thin-film supercapacitor delivers 200V
GDUT (Guangzhou, China )researchers have developed a metal-free thin-film supercapacitor (TFSC) stack that delivers 200V in just 3.8cm³.
1 min
September 2025

Electronics For You
Al-powered self-driving lab tests materials 10x faster
Researchers at NC State (Raleigh, North Carolina) have developed an Al-powered self-driving lab that uses dynamicstate flow and real-time data to test materials 10x faster than traditional labs.
1 min
September 2025

Electronics For You
Breakthrough in co-packaging photonic and electronic chips
The MIT (United States) FUTUR-IC team has developed a breakthrough chip packaging method that co-integrates electronics and photonics using passive alignment.
1 min
September 2025
Listen
Translate
Change font size