Skip to the content
PCBKitNew board
2 layers50 × 40 mmRNG, the printed circuit board in 3D

NE555 + CD4017 random number generator. 41-component SMD board, no microcontroller.

Size
50 × 40 mm
Copper layers
2
Thickness
1.6 mm
Parts
41
Nets
39
Pads
122
Tracks, vias
228, 43
Pours
1
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
15 Sep 2026
Updated
15 Sep 2026

Overview

RNG is an open-source printed circuit board by EthanGreenhouse, from the EthanGreenhouse/rng-pcb repository on GitHub. It is a 2-layer board of 50 × 40 mm with 41 parts on 39 nets, routed with 228 tracks and 43 vias.

It is built around the CD4017BM, NE555D and FRC0805J102 TS, with the NCD0805R1, CT41G-0805-2X1-50V-0.1UF-K(N) and FRC0805J103TS among its other parts. Its parts include 19 resistors, 11 diodes, 6 capacitors, 2 ICs and 1 connector.

Main components

11

README

README.md

Random Number Generator PCB

A digital die: press ROLL, ten LEDs blur, release, and exactly one stays lit. Two 1970s logic chips, no microcontroller. KiCad 10, two layers, 50 × 40 mm.

Status: Rev B fabricated, hand assembly in progress.


How it works

An NE555 in astable mode free-runs as a clock, driving a CD4017 decade counter. The 4017 asserts exactly one of its ten outputs at a time and advances on each clock edge — ten outputs, ten LEDs, no decoding logic needed.

The ROLL button gates the 4017's clock enable against a 10 kΩ pull-up. Held down, the counter runs at the 555's frequency, far faster than the eye resolves, so all ten LEDs appear lit. Release it and the clock enable goes high, the counter freezes wherever it was, and one LED stays on. RESET returns the counter to output 0.

Randomness comes from the gap between human reaction time and the oscillator frequency. It is not cryptographic — the counter is perfectly deterministic — but for picking 1–10 it's indistinguishable from it.

Design

ClockNE555, astable
CounterCD4017 decade counter, 1-of-10 output
InputsROLL (clock enable gate), RESET
PowerUSB-C, 5 V, 5.1 kΩ CC pulldowns on both CC pins
Board50 × 40 mm, 2-layer, 41 components, 43 vias, all SMD
PourBack-side ground

Notes:

  • 1 kΩ series resistors on all ten LEDs — ~3 mA each off a 5 V rail with a red LED's ~2 V forward drop. Dim enough to be comfortable indoors and to keep draw low in the sweeping state.
  • 100 nF decoupling at both ICs. The 555 injects current spikes onto the rail when its output stage switches, and the 4017 shares that rail. Local decoupling is what stops that showing up as false clocking.
  • Separate power indicator LED, so the board shows it's alive even when reset with no output asserted.
  • Silkscreen carries 1–10 above the LEDs and labels both buttons.

Bring-up checklist

  1. Measure the 555's actual oscillation frequency against the calculated value.
  2. Scope the 4017 clock input — confirm it advances cleanly on every edge with no double-clocking.
  3. Confirm the clock enable genuinely freezes the counter rather than letting it drift.
  4. Confirm all ten outputs assert in sequence and only one at a time.

Tools

KiCad 10.0. Gerbers for Rev B under RNG Rev B/.

Parts

41
QtyValueFootprintReferences
141kResistor_SMD:R_0805_2012MetricR1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R13, R14, R15, R19
11RED LEDLED_SMD:LED_0805_2012MetricD1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11
5100nFCapacitor_SMD:C_0805_2012MetricC1, C3, C4, C5, C7
210kResistor_SMD:R_0805_2012MetricR16, R17
25k1Resistor_SMD:R_0805_2012MetricR11, R12
2SW_PushButton_Switch_SMD:SW_SPST_B3U-1000PRESET, ROLL
1100Resistor_SMD:R_0805_2012MetricR18
110uFCapacitor_SMD:C_0805_2012MetricC2
14017Package_SO:SOIC-16_3.9x9.9mm_P1.27mmU2
1NE555Package_SO:SOIC-8_3.9x4.9mm_P1.27mmU3
1USB_C_Receptacle_USB2.0_16PConnector_USB:USB_C_Receptacle_G-Switch_GT-USB-7010ASVJ2

Questions

How big is the RNG PCB?

It measures 50 × 40 mm and has 2 copper layers, 1.6 mm thick.

What parts does the RNG use?

41 parts, built around the CD4017BM, NE555D, FRC0805J102 TS and NCD0805R1. 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 RNG KiCad files?

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

Can I use the RNG design in my own project?

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

Similar boards

  • 2 layers20 × 160 mmZibs Saber v2, the printed circuit board in 3D

    Zibs Saber v2

    PedroBMedeiros/PolySaber

    Firmware for Cal Poly Senior Project - PolySaber a Custom PCB Soundboard

    75 parts
  • 4 layers45.3 × 45.3 mmPower Board, the printed circuit board in 3D

    Power Board

    Kiya86/Terasaki-Main-

    42 parts
  • 2 layers50.5 × 94.7 mmSwordOfSecretsUSBProd, the printed circuit board in 3D

    SwordOfSecretsUSBProd

    gili-yankovitch/SwordOfSecrets

    To solve the challenge you will need to discover a series of flags, hidden inside the sword. Each one will help you unlock the next step in the challenge, to finally reveal the ultimate secret the sword holds.

    16 parts47MIT
  • 2 layers65.4 × 133.6 mmBSidesTLV2025GloveBadge, the printed circuit board in 3D

    BSidesTLV2025GloveBadge

    bsidestlv/bsidestlv-2025-badge

    To solve the challenge you will need to discover a series of flags, hidden inside the badge. Each one will help you unlock the next step in the challenge, to finally reveal the ultimate secret the badge holds.

    35 parts13MIT
  • 2 layers60 × 50 mmHackeriot board 2024, the printed circuit board in 3D

    Hackeriot board 2024

    bmeisels/hackeriot_board

    Hackeriot Board is a research target for learning about Hardware Reverse Engineering. The board was used as part of the Hardware Reverse Engineering workshop at the 2024 conference.

    39 parts1
  • 4 layers42 × 65 mmIcarus Flight Computer, the printed circuit board in 3D

    Icarus Flight Computer

    daedalus-ind/icarus-hardware

    Hardware of the onboard flight computer for the Icarus rocket.

    106 parts2MIT
  • 4 layers189.4 × 59.1 mmFlippyDriver, the printed circuit board in 3D

    FlippyDriver

    NietoSkunk/FlippyDriver

    Driver board for Luminator MAX3000 Flip Dot Panels

    344 parts10MIT
  • 2 layersMacropad, the printed circuit board in 3D

    Macropad

    moonbeeper/moonpad

    109 partsMIT