

A simple device in which you press a button to get a random number between 1-6 like an actual dice but it's all inside a computer
- Size
- 25.5 × 25.5 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 18
- Nets
- 20
- Pads
- 54
- Tracks, vias
- 141, 16
- Pours
- 2
- Routed
- Yes
- KiCad
- KiCad 10.0 (file 20260206)
- Created
- 27 Sep 2026
- Updated
- 30 Sep 2026
Overview
Module is an open-source printed circuit board by Dhruv2212-star, from the Dhruv2212-star/Electronic-dice repository on GitHub. It is a 2-layer board of 25.5 × 25.5 mm with 18 parts on 20 nets, routed with 141 tracks and 16 vias.
It is built around the ATTINY84A-SSF. Its parts include 7 resistors, 6 diodes, 2 connectors, 1 capacitor and 1 IC. It belongs with the AVR (ATmega, ATtiny) boards of this library.
Main components
1README
README.mdElectronic Dice
Tired of Board game tactics and cheating????
I present an ELECTRONIC dice
A small 30mm x 30mm module which has 6 LEDs. when u press a button it changes LEDs quickly and random leds turn on from 1-6.
How to use??
It's simple enough for a todler to use ! just press a button and you get a random no. of LEDs!
Final assembly image
You know what else is cool?? the PCB, it uses minimal components at surface to keep it super clean!
Firmware Flashing
connect your debugger probe to the J2 port accordingly for this first.
Our Pinc connections on PCB
| J2 pin | Signal | ATtiny84A |
|---|---|---|
| 1 | VCC | U1 pin 1 |
| 2 | GND | U1 pin 14 |
| 3 | MOSI | PB0 |
| 4 | MISO | PB1 |
| 5 | SCK | PB2 |
| 6 | RESET | PB3 |
Install Arduino IDE
then,
File-> prefrences
-additional board manager URLs
--https://drazzy.com/package_drazzy.com_index.json
Tools->Boards->Board manager
install "ATTinyCore"
Select our board by: Tools-> Board-> ATTinny84a
then set:
| Arduino setting | Value |
|---|---|
| Chip | ATtiny84A |
| Clock | 1 MHz internal |
| B.O.D. | Disabled |
| EEPROM | Retained |
| Programmer | USBasp |
Connect USBasp
(power the pcb off first)
connect: USBasp -> J2
Burn the config
Upload dice firmware
That's it !!
Parts
18| Qty | Value | Footprint | References |
|---|---|---|---|
| 6 | 1K | Resistor_SMD:R_1206_3216Metric | R1, R2, R3, R4, R5, R6 |
| 6 | LED | LED_SMD:LED_1206_3216Metric_Pad1.42x1.75mm_HandSolder | D1, D2, D3, D4, D5, D6 |
| 1 | 100 nF | Capacitor_SMD:C_1206_3216Metric | C1 |
| 1 | 10K | Resistor_SMD:R_1206_3216Metric | R7 |
| 1 | ATtiny84A-SS | Package_SO:SOIC-14_3.9x8.7mm_P1.27mm | U1 |
| 1 | Conn_01x02 | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J1 |
| 1 | Conn_01x04 | Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_Vertical | J2 |
| 1 | SW_Push | Button_Switch_THT:SW_PUSH_6mm_H5mm | SW1 |
Similar boards
- 2 layers133.4 × 50.8 mm

- 2 layers99.4 × 38.6 mm

Slider driver
mage0r/RSA0N11M9A0J_motorised_slider
This is a H-bridge driver board for the RSA0N11M9A0J motorised Slider. It uses a L9110 and capacitive sensor.
38 parts7 - 4 layers85 × 56 mm

- 2 layers13.6 × 23.2 mm

Trinkle
mage0r/trinkle
A breakout board for the ATTiny84. Sometimes a Trinket just won't do...
12 parts2 - 2 layers100 × 50 mm

Moba block stelle
hpbock/moba-bockstelle
Ein Blockstellenmodul für analoge Modellbahnen zur Ansteuerung von Lichtsignalen, Zugbeeinflussung und Belegtmeldung für Loconet-T.
88 parts1 - 2 layers25.1 × 50.5 mm

- 2 layers70 × 55 mm

Open lightning trigger
conifarad/open-lightning-trigger
A low-cost optical camera trigger for lightning and other phenomena
50 partsCERN-OHL-P-2.0 - 2 layers25.4 × 72.4 mm

Questions
How big is the Module PCB?
It measures 25.5 × 25.5 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Module use?
18 parts, built around the ATTINY84A-SSF. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the Module KiCad files?
From the Dhruv2212-star/Electronic-dice repository on GitHub, at the commit this page was made from: the board is PCB/module.kicad_pcb and its schematic PCB/module.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Module design in my own project?
Its repository states no licence, so its author keeps all rights: ask Dhruv2212-star before reusing the design.