Skip to the content
4 layers69.5 × 51.1 mmRandom Number Display System, the printed circuit board in 3D

🎲 Digital Random Number Generator PCB designed in KiCad with dual seven-segment displays, microcontroller control, 74LS48 display drivers, push-button input, and 5V embedded logic hardware.

Size
69.5 × 51.1 mm
Copper layers
4
Thickness
1.6 mm
Parts
36
Nets
78
Pads
151
Tracks, vias
234, 58
Pours
4
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
8 Jun 2026
Updated
8 Jun 2026

Overview

Random Number Display System is an open-source printed circuit board by Hirusha785, from the Hirusha785/digital-random-number-generator-pcb repository on GitHub, published under the MIT licence. It is a 4-layer board of 69.5 × 51.1 mm with 36 parts on 78 nets, routed with 234 tracks and 58 vias.

It is built around the LTS-6980HR. Its parts include 15 resistors, 3 capacitors, 3 ICs, 2 switches and 1 connector. It belongs with the lEDs and displays boards and the 8051 (CH55x, STC, AT89) boards of this library.

Main components

1

README

README.md

🎲 Digital Random Number Generator PCB

License: MIT PCB Design Project Status

A custom-designed Digital Random Number Generator PCB developed using KiCad.
This project uses an 8051-family microcontroller, dual seven-segment displays, 74LS48 BCD-to-seven-segment display driver ICs, push-button controls, and a regulated 5V logic power supply to generate and display random numbers.


📌 Project Overview

The Digital Random Number Generator PCB is a digital electronics and embedded hardware project designed to generate and display random numbers using two seven-segment displays.

The circuit is built around an 8051-family microcontroller, which handles the random number generation logic. The generated number is separated into two BCD digits and sent to two 74LS48 BCD-to-seven-segment decoder/driver ICs. Each driver IC then controls one seven-segment display.

This project demonstrates the complete PCB design workflow in KiCad, including schematic design, component footprint assignment, PCB layout, routing, silkscreen labeling, 3D visualization, and preparation for fabrication.


✨ Key Features

  • Microcontroller-based random number generation
  • Dual seven-segment display output
  • 74LS48 BCD-to-seven-segment decoder/driver ICs
  • Push-button input for number generation
  • Dedicated reset/control button
  • 5V DC logic power input
  • Crystal oscillator circuit for microcontroller clock generation
  • Current-limiting resistors for display protection
  • Organized schematic sections for power, control, and display output
  • Compact PCB layout with mounting holes
  • Complete KiCad schematic, PCB layout, and 3D PCB preview

🧠 System Architecture

txt
Push Button Input
        ↓
8051 Microcontroller
        ↓
Random Number Generation Logic
        ↓
BCD Output Signals
        ↓
74LS48 Display Driver ICs
        ↓
Dual Seven-Segment Displays

⚙️ Hardware Description

The PCB is divided into three main sections:

  1. Power Supply Section
  2. Random Number Generation Control Section
  3. Display Driver and Seven-Segment Output Section

The user presses the push button to trigger the random number generation process. The microcontroller generates a random value and sends the corresponding BCD output signals to the display driver ICs. The 74LS48 ICs decode the BCD signals and drive the seven-segment displays.


🧩 Main Components

ComponentDescription
8051 MicrocontrollerMain control unit used for random number generation
74LS48 ICBCD-to-seven-segment decoder/driver
Seven-Segment DisplaysDisplays the generated random number
Push ButtonsUsed for reset and random number generation control
Crystal OscillatorProvides the clock signal for the microcontroller
CapacitorsUsed for oscillator stability, reset timing, and filtering
ResistorsUsed for current limiting and pull-up/pull-down functions
Screw TerminalProvides external 5V power input
PCBCustom-designed printed circuit board created using KiCad

⚡ Power Supply

The circuit is designed to operate using a regulated 5V DC power supply.

Power is supplied through a screw terminal connector.

txt
+5V  → VCC
GND  → Ground

⚠️ Always verify the power polarity before powering the PCB.


🔢 Display Driver Section

The display section uses two 74LS48 BCD-to-seven-segment decoder/driver ICs.

Each display driver receives a 4-bit BCD input from the microcontroller and controls one seven-segment display. Current-limiting resistors are used to protect the display segments.

The display section includes:

  • Two seven-segment displays
  • Two 74LS48 display driver ICs
  • Segment current-limiting resistors
  • BCD signal routing from the microcontroller
  • Seven-segment output routing to the displays

🎛️ Control Section

The control section contains the main microcontroller circuit and supporting components.

It includes:

  • 8051-family microcontroller
  • Push-button input
  • Reset button
  • Crystal oscillator circuit
  • Oscillator capacitors
  • Reset capacitor
  • Pull-up/pull-down resistors

The microcontroller manages the random number generation process and sends the correct BCD values to the display driver section.


🖥️ PCB Design

The PCB was designed using KiCad and includes:

  • Schematic capture
  • Footprint assignment
  • PCB layout design
  • Manual routing
  • Silkscreen labeling
  • Mounting holes
  • 3D PCB visualization
  • Fabrication-ready design structure

The board layout is organized to clearly separate the power input, microcontroller control section, and display output section.


📷 PCB Preview

The project includes the following design previews:

Schematic

image

Schematic

PCB Layout

image

PCB Layout

3D View

image image image image image

3D View


🚀 Applications

This PCB can be used for:

  • Digital electronics learning
  • Embedded systems practice
  • Microcontroller-based hardware design
  • Seven-segment display driver testing
  • Random number display applications
  • KiCad PCB design portfolio development
  • Basic digital logic demonstration projects

✅ Project Status

SectionStatus
Schematic DesignCompleted
PCB LayoutCompleted
3D PCB PreviewCompleted
Gerber File ExportReady / To be generated
Hardware TestingPending

👨‍💻 Author

Fernando S.M.H.G.


📜 License

This project is licensed under the MIT License.

You are free to use, modify, and distribute this project for educational, personal, and development purposes, provided that the original license terms are followed.

See the LICENSE file for more details.

Parts

36
QtyValueFootprintReferences
14100Resistor_SMD:R_1206_3216MetricR1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, R12, R13, R14
3, ,
274LS48Package_DIP:CERDIP-16_W7.62mm_SideBrazed_SocketU1, U3
2LTS-6980HRDisplay_7Segment:7SegmentLED_LTS6760_LTS6780AFF1, AFF2
2SW_PushButton_Switch_THT:SW_PUSH_6mm_H4.3mmSW1, SW2
110uFCapacitor_SMD:C_1206_3216MetricC3
111HzCrystal:Crystal_SMD_0603-2Pin_6.0x3.5mmY1
11kResistor_SMD:R_1206_3216MetricR15
122pFCapacitor_SMD:C_1206_3216MetricC1
122pfCapacitor_SMD:C_1206_3216MetricC2
1AT89x51xxAPackage_QFP:TQFP-44_10x10mm_P0.8mmU2
1Screw_Terminal_01x02TerminalBlock:TerminalBlock_bornier-2_P5.08mmJ1

The 30 most common of 36 parts.

Similar boards

  • 2 layersSap be, the printed circuit board in 3D

    Sap be

    kyllikki/eda-designs

    EDA designs

    148 parts32MIT
  • 2 layers74.9 × 110.5 mmWz80-io, the printed circuit board in 3D

    Wz80-io

    makesthingsxyz/wz80

    A z80 based computer.

    22 parts3MIT
  • 2 layersUZ80, the printed circuit board in 3D

    UZ80

    adzierzanowski/z80

    Zilog Z80 (and Intel 8080) assembler/disassembler for everyone and some other tools for my private Z80 stuff

    112 parts2
  • 2 layers100 × 100 mmDimmerDigital Pic16f628a, the printed circuit board in 3D

    DimmerDigital Pic16f628a

    Agustin586/Pic-Projects

    Aca se encuentran todos los programas de pic

    57 parts1
  • 2 layers265.5 × 132.3 mmDashdash, the printed circuit board in 3D

    Dashdash

    Churrosoft/Dashdash

    tablero de instrumentos por can para integrar con OpenEFI, cuando se nos ocurra algo mas original cambiamos el nombre

    272 parts1MIT
  • 2 layers100 × 100 mmPIC16F887EV, the printed circuit board in 3D

    PIC16F887EV

    JoseCuretti/PIC16F887EV

    99 parts1
  • 2 layersReloj digital, the printed circuit board in 3D

    Reloj digital

    maxielibossio-beep/Reloj-digital

    Pcb, esquematico y simulacion del reloj digital

    77 parts1
  • 2 layers113.4 × 85.7 mmSeven segment display, the printed circuit board in 3D

    Seven segment display

    qeedquan/challenges

    Various solutions to challenges

    11 parts1MIT

Questions

How big is the Random Number Display System PCB?

It measures 69.5 × 51.1 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Random Number Display System use?

36 parts, built around the LTS-6980HR. 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 Random Number Display System KiCad files?

From the Hirusha785/digital-random-number-generator-pcb repository on GitHub, at the commit this page was made from: the board is Random Number Display System.kicad_pcb and its schematic Random Number Display System.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Random Number Display System design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).