

PCB layout
This project was developed to provide an efficient and engaging way to randomly select winners in competitions or events where the order of winners needs to be determined fairly and without bias.
- Size
- 103.1 × 77 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 59
- Nets
- 73
- Pads
- 190
- Tracks, vias
- 424, 0
- Pours
- 1
- Routed
- Yes
- KiCad
- KiCad 6 (file 20211014)
- Created
- 10 Aug 2024
- Updated
- 13 Aug 2024
Overview
PCB layout is an open-source printed circuit board by Abdulsalam-Alsheikh, from the Abdulsalam-Alsheikh/CircleOfLuck repository on GitHub. It is a 2-layer board of 103.1 × 77 mm with 59 parts on 73 nets, routed with 424 tracks and 0 vias.
It is built around the 74HC595 and IRLZ44N. Its parts include 25 resistors, 13 connectors, 12 transistors, 2 ICs and 1 switch. It belongs with the AVR (ATmega, ATtiny) boards of this library.
Main components
2README
README.mdRandom Number Selector with 12 Segments
This project is an electronic circuit that randomly selects a winner from 12 participants by lighting up the corresponding segment on a circular board. The circuit is built using an Arduino Nano, shift registers, MOSFET transistors, and other components. The design includes a PCB layout, simulation in Proteus, and Arduino code for the logic control.
Components
- Arduino Nano: Controls the entire circuit.
- 2 x 74HC595 Shift Registers: Expands the number of outputs to control the 12 segments.
- 12 x IRLZ44N MOSFET Transistors: Used to switch the LEDs for each segment.
- Resistors: Various values to limit current and ensure proper operation of the circuit.
- Power Supply Jack: To feed the circuit with the required voltage.
- Junction Connectors: For connecting each segment to its corresponding transistor.
Project Files
- Proteus Simulation File: A simulation of the circuit to test the functionality before actual implementation note( The Arduino code will not work directly here on the simulation due to the adopted method of generating the random number you must change the method of generating the random number before the simulation ) .
- Arduino Code: The code used to control the selection process and light up the segments.
- PCB Design: A layout of the PCB ready for manufacturing, including all the components and connections.
Circuit Design
The circuit is designed to randomly select a number from 1 to 12 using an LED on a circular board. The selection is controlled by an Arduino Nano, which sends signals to the shift registers. The shift registers then control the MOSFET transistors, which switch the LEDs on and off based on the random selection.
How It Works
- The Arduino generates a random number between 1 and 12.
- The shift registers receive the number and activate the corresponding MOSFET.
- The MOSFET then allows current to pass through and lights up the LED corresponding to the selected number.
- The number remains lit until the process is repeated.
Usage
- Load the provided Arduino code into the Arduino Nano.
- Connect the circuit components as per the schematic in the Proteus file or PCB design.
- Power the circuit through the power supply jack.
- The circuit will randomly select a number and light up the corresponding segment.
Watch the final circuit project here Circuit of CircleOfLuck .
Watch how the circuit logic works here Logic of CircleOfLuck .
Parts
59| Qty | Value | Footprint | References |
|---|---|---|---|
| 13 | 100k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R1_1, R2_2, R3_3, R4_4, R5_5, R6_6, R7_7, R8_8, R9_9, R10_10, R11_11, R12_12, re2 |
| 12 | 220R | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, R12 |
| 12 | IRLZ44N | Package_TO_SOT_THT:TO-220-3_Vertical | Q1, Q2, Q3, Q4, Q5, Q6, Q7, Q8, Q9, Q10, Q11, Q12 |
| 12 | Screw_Terminal_01x02 | z_lib_abd:connector borne | J2, J3, J4, J5, J6, J7, J8, J9, J10, J11, J12, J13 |
| 4 | MountingHole | z_lib_abd:abd_foot | H1, H2, H3, H5 |
| 2 | 74HC595 | Package_DIP:DIP-16_W7.62mm | U1, U2 |
| 1 | Arduino_Nano_v3.x | z_lib_abd:arduino_nano_abd | A1 |
| 1 | Barrel_Jack_Switch_Pin3Ring | z_lib_abd:barreljack_10A | J1 |
| 1 | MountingHole_Pad | MountingHole:MountingHole_2.5mm_Pad_Via | H13 |
| 1 | SW_DIP_x01 | Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_Horizontal | SW1 |
Similar boards
- 2 layers100 × 100 mm

- 2 layers99.1 × 99.1 mm

- 4 layers71.3 × 95.9 mm

ChessBotController
cryptoAlgorithm/chess-printer
A chess bot, but on steroids. Custom 3D printer control board with a few oddly specific features.
55 parts3 - 2 layers

Organ Serial to Parallel
locokepler/Pipe_Organ
The repository of the pipe organ, over the different iterations of mechanical, electrical, and code design
105 parts2 - 2 layers163.5 × 55 mm

IROC U Charging NMOS
24bec124-sketch/IROC-U-Charging-NMOS
Developed for Team Arrow as part of IRoC-U (ISRO Robotics Challenge - URSC), a national student competition hosted by the Indian Space Research Organization (ISRO).
41 parts1MIT - 2 layers163.8 × 52.4 mm

Solenoid driver v2
jboymel/piano-robot
Modular solenoid-based robotic piano actuator system — Northwestern SURG 2026
75 parts - 2 layers91.8 × 42.7 mm

Racktemperatur
klein0r/pcb-rack-temperature-control
Control fans in your rack depending on current temperature
28 partsMIT - 2 layers228.6 × 270.5 mm

OPEN THIS PROJECT mj036 COMBINATION
ProGenEDA/Public
This is ProGenEDA’s public engineering record. It makes the work behind the product inspectable—from circuit requests and qualification reports through to native files that open in Proteus, KiCad, EasyEDA Pro, and…
67 parts
Questions
How big is the PCB layout PCB?
It measures 103.1 × 77 mm and has 2 copper layers, 1.6 mm thick.
What parts does the PCB layout use?
59 parts, built around the 74HC595 and IRLZ44N. 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 PCB layout KiCad files?
From the Abdulsalam-Alsheikh/CircleOfLuck repository on GitHub, at the commit this page was made from: the board is PCB_layout.kicad_pcb and its schematic schematic_diagram.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the PCB layout design in my own project?
Its repository states no licence, so its author keeps all rights: ask Abdulsalam-Alsheikh before reusing the design.