Table of Contents

True Random Number Generator

Ionacu Teodor Alexandru 1222A

Introduction

Introducing the Dice Game with Temperature Sensor! This interactive project combines the excitement of a dice game with the unpredictability of temperature fluctuations. By integrating a DHT temperature sensor, each roll of the dice is influenced by the current temperature reading. As you press the button, LEDs flicker, a buzzer plays a slot-like melody, and the dice display a number affected by the temperature, offering a unique and immersive gaming experience. Let the temperature shape your luck and add a new dimension to your gaming adventures!

General Description

The Dice Game with Temperature Sensor is an intriguing project that combines the excitement of a dice game with the concept of true random number generation. Unlike traditional dice games that rely on predictable outcomes, this project introduces a temperature sensor to add a touch of unpredictability. The temperature reading influences the generated number, making it more akin to true randomness. By incorporating the ambient temperature into the randomization process, the project mimics the characteristics of natural random events, similar to true random number generators used in various applications. This unique feature brings an element of surprise and authenticity to the game, providing players with a more immersive and engaging experience. Whether it's a casual game among friends or an exploration of random number generation, this project offers an exciting blend of electronics, chance, and scientific principles.

Hardware Design

Components

Physical Project

Software Design

Libraries used
Funcții implementate:
Code for the project

trngdice.rar

Conclusions

It has been a fun experience learning how to create a True Random Generating Dice game. I believe that this device can be later used if needed. My knowledge regarding the Arduino technology has definitely improved.

Journal

01.05.2023 - Initial Documentation 10.05.2023 - Ordered the needed parts 15.05.2023 - Started testing the parts 30.05.2023 - Finished the project

Resources

Export to PDF