The following project shows how to create a electronic dice kit that is based on the ATiny13 microcontroller. Read through to know more about this.
The requirements of the project are listed below:
- Atmel ATiny13 or ATiny13V microcontroller
- 1 eight pin IC socket
- 14 3mm green LEDs
- 3V Power source and holder
- PC board
The project also requires a little programming. However, the code can be downloaded and used as per the needs, as it is an open-source project.
The main reason to use the green LEDs in this case is to avoid the incorporation of different colors on the circuit.
Pin 3 of the ATiny13 microcontroller is used to determine the right and left of the LEDs being used. If the control lines other than the pin3 (pin2, 4, 5, 6, or 7) goes high, the left side of the LEDs would turn on. In case the pin 3 goes high, the right side of the LEDs would light up in a predefined combination.
The problem of using such mechanism is that all the LEDs cannot be lit up at the same time. But this can be solved by using a fast microcontroller which would eventually cause the LEDs to lighten up simultaneously.