

Random Number Display System
🎲 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
1README
README.md🎲 Digital Random Number Generator PCB
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
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:
- Power Supply Section
- Random Number Generation Control Section
- 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
| Component | Description |
|---|---|
| 8051 Microcontroller | Main control unit used for random number generation |
| 74LS48 IC | BCD-to-seven-segment decoder/driver |
| Seven-Segment Displays | Displays the generated random number |
| Push Buttons | Used for reset and random number generation control |
| Crystal Oscillator | Provides the clock signal for the microcontroller |
| Capacitors | Used for oscillator stability, reset timing, and filtering |
| Resistors | Used for current limiting and pull-up/pull-down functions |
| Screw Terminal | Provides external 5V power input |
| PCB | Custom-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.
+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

PCB Layout

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
| Section | Status |
|---|---|
| Schematic Design | Completed |
| PCB Layout | Completed |
| 3D PCB Preview | Completed |
| Gerber File Export | Ready / To be generated |
| Hardware Testing | Pending |
👨💻 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| Qty | Value | Footprint | References |
|---|---|---|---|
| 14 | 100 | Resistor_SMD:R_1206_3216Metric | R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, R12, R13, R14 |
| 3 | , , | ||
| 2 | 74LS48 | Package_DIP:CERDIP-16_W7.62mm_SideBrazed_Socket | U1, U3 |
| 2 | LTS-6980HR | Display_7Segment:7SegmentLED_LTS6760_LTS6780 | AFF1, AFF2 |
| 2 | SW_Push | Button_Switch_THT:SW_PUSH_6mm_H4.3mm | SW1, SW2 |
| 1 | 10uF | Capacitor_SMD:C_1206_3216Metric | C3 |
| 1 | 11Hz | Crystal:Crystal_SMD_0603-2Pin_6.0x3.5mm | Y1 |
| 1 | 1k | Resistor_SMD:R_1206_3216Metric | R15 |
| 1 | 22pF | Capacitor_SMD:C_1206_3216Metric | C1 |
| 1 | 22pf | Capacitor_SMD:C_1206_3216Metric | C2 |
| 1 | AT89x51xxA | Package_QFP:TQFP-44_10x10mm_P0.8mm | U2 |
| 1 | Screw_Terminal_01x02 | TerminalBlock:TerminalBlock_bornier-2_P5.08mm | J1 |
The 30 most common of 36 parts.
Similar boards
- 2 layers

- 2 layers74.9 × 110.5 mm

- 2 layers

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 mm

DimmerDigital Pic16f628a
Agustin586/Pic-Projects
Aca se encuentran todos los programas de pic
57 parts1 - 2 layers265.5 × 132.3 mm

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 mm

- 2 layers

Reloj digital
maxielibossio-beep/Reloj-digital
Pcb, esquematico y simulacion del reloj digital
77 parts1 - 2 layers113.4 × 85.7 mm

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).