Skip to the content
PCBKitNew board
2 layers54.6 × 46.8 mmAnydice, the printed circuit board in 3D

i made this project as my dnd dices wud get lost alot, and it couldnt roll some numbers, and using traditional rng online is distracting.

Size
54.6 × 46.8 mm
Copper layers
2
Thickness
1.6 mm
Parts
15
Nets
24
Pads
65
Tracks, vias
177, 27
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
4 Jun 2026
Updated
26 Oct 2026

Overview

Anydice is an open-source printed circuit board by karnxx, from the karnxx/anydice repository on GitHub. It is a 2-layer board of 54.6 × 46.8 mm with 15 parts on 24 nets, routed with 177 tracks and 27 vias.

It is built around the TP4056-42-ESOP8. Its parts include 4 ICs, 4 diodes, 3 capacitors, 1 resistor and 1 connector. It belongs with the ESP32 and RISC-V boards of this library.

Main components

1

README

README.md

Anydice

so this is a dice which can basically roll any number, it uses a xiao esp32c3, an oled, mpu 6040. u can set the max dice roll possibility and then shake and roll it like normal to produce a randomly generated number.

i made this project as my dnd dices wud get lost alot, and it couldnt roll some numbers, and using traditional rng online is distracting.

WORKING

  • so with the button you can set the max digit to roll. then u can shake the dice and actually roll it(mpu6050) to produce a final number on the oled, which is a random number between 0 and tht max digit.

PCB

  • custom pcb via kicad, files here
  • the pcb is mounted in the dice via screws, and the oled is mounted on the pcb with screws and spacers.
image image

CAD

  • cadded via fusion360, files here
image image image

BOM

Parts

15
QtyValueFootprintReferences
41N5819Diode_THT:D_DO-41_SOD81_P10.16mm_HorizontalD1, D2, D3, D4
2CCapacitor_THT:C_Disc_D3.0mm_W1.6mm_P2.50mmC0.1µF2, C0.1µF3
1BatteryConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalBT1
1CCapacitor_THT:CP_Radial_D8.0mm_P3.50mmC470µF1
1Conn_01x02Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ1
1ER_OLEDM0.91_1x-I2CDisplay:ER_OLEDM0.91_1x-I2CU3
1RResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR4.8
1SW_SPSTButton_Switch_THT:SW_Tactile_SPST_Angled_PTS645Vx31-2LFSSW2
1TP4056-42-ESOP8Package_SO:SOIC-8-1EP_3.9x4.9mm_P1.27mm_EP2.41x3.3mmU4
1XIAO ESP32C3xiao:xiao_esp32c3U2
1module_mpu6050usini_kicad_sensors-main:module_mpu6050U1

Questions

How big is the Anydice PCB?

It measures 54.6 × 46.8 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Anydice use?

15 parts, built around the TP4056-42-ESOP8. 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 Anydice KiCad files?

From the karnxx/anydice repository on GitHub, at the commit this page was made from: the board is pcb/anydice.kicad_pcb and its schematic pcb/anydice.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Anydice design in my own project?

Its repository states no licence, so its author keeps all rights: ask karnxx before reusing the design.

Similar boards

  • 2 layers60 × 111.3 mmSilkscreen pcb, the printed circuit board in 3D

    Silkscreen pcb

    iandchasse/silkscreen-pcb

    Silkscreen: open-hardware ESP32-S3 e-paper reader mainboard (KiCad 9). Formerly the de-link hub.

    189 parts589CERN-OHL-S-2.0
  • 2 layers96.8 × 91.4 mmInkbadge, the printed circuit board in 3D

    Inkbadge

    cheyao/inkbadge

    Undercity eink PCB badges controlled by a rp2350

    98 parts22
  • 2 layers51 × 21 mmFOX JACK EXT BOARD TOP, the printed circuit board in 3D

    FOX JACK EXT BOARD TOP

    KaliAssistant/Fox-Jack

    Portable social-engineering LAN tool for automated payloads and wired audits — based on Luckfox Pico Max

    35 parts22GPL-3.0
  • 2 layers31.3 × 67 mmRPBoard², the printed circuit board in 3D

    RPBoard²

    euvalennn/rpboard-squared

    Simple RP2350-based devboard

    63 parts9
  • 4 layers88 × 58 mmECG V-0.2, the printed circuit board in 3D

    ECG V-0.2

    Doenec/ecg-esp32

    open source project ecg with esp32 and ad8232

    115 parts8
  • 2 layers210 × 31 mmTrhw, the printed circuit board in 3D

    Trhw

    nimitvijayvargee/trhw

    This is an RP2040 ruler that implements wifi, bluetooth, BLE along with a 4MB Flash storage, LEDs, Input buttons and some cool units and lengths!

    59 parts8
  • 2 layers78 × 36 mmBt nes advantage pcb, the printed circuit board in 3D

    Bt nes advantage pcb

    cajunpanda/bluetooth-nes-advantage

    A bluetooth mod for the NES Advantage classic controller.

    45 parts7MIT
  • 2 layers61 × 61 mmESP32 FC, the printed circuit board in 3D

    ESP32 FC

    MAATHES-THILAK-K/ESP32-S3_FLIGHT_CONTROLLER

    A custom-designed flight controller based on the ESP32-S3 module, built for compatibility with the esp-fc firmware and Betaflight-like configuration.

    69 parts7Apache-2.0