Electronic Dice
Made by
Magic tree
About this project
A super compact 30mm X 30mm Module that acts as a dice, Tired of cheaters in board games?? this is the perfect thing to use! Press a button and You get a random number as LED counts :3
Made by
Magic tree
A super compact 30mm X 30mm Module that acts as a dice, Tired of cheaters in board games?? this is the perfect thing to use! Press a button and You get a random number as LED counts :3
Follow the progress behind this project.

i had to go through a LOT of trouble shooting with this code because i am not fluent in C++ as i mainly write programs in python and i can't write python on this chip because it has really less memmory so i had to use the help of Ai here so
.png)
Made the case for our build. divided into bottom case and top case and the assembly file.
Lapse: https://lapse.hackclub.com/timelapse/vfHFLbeSQfqa
designed a schematic and traced the PCB to finalise the module
Lapse: https://lapse.hackclub.com/timelapse/dIHN1J9NU4k6

Went with ATtiny84A because the initial mcu i slected (ATtiny85) was havinng just 6 gpio pins which was not possible to combine with 6 LEDs and a button.

Brain stormed about the things i wanted to make and deided to make an electronic dice where you press a button and get a random number
from 1-6 just like a real dice but inform of LEDs on and off.
LED arrangement
X X
X X
X X
The reason why it took so much time is because i had to think of a way to make this dice and i had to go through a lot of choices
where i even though of using classing 0.96 inch LED display fo display these numbers but it got too bulky.
then i went through using a 3x3 matric LED to show the whole numbers but then it got too complicated.
