

Schematic diagram
The design and development of an AC-powered LED bulb PCB using KiCad, documenting the complete process from schematic capture to fabrication.
- Size
- 52 × 25.7 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 23
- Nets
- 15
- Pads
- 50
- Tracks, vias
- 111, 2
- Pours
- 2
- Routed
- Yes
- KiCad
- KiCad 10.0 (file 20260206)
- Created
- 2 Jul 2026
- Updated
- 13 Aug 2026
Overview
Schematic diagram is an open-source printed circuit board by FrankRubandamayonzaMagezi, from the FrankRubandamayonzaMagezi/LED-Bulb-PCB-Design-and-Development repository on GitHub. It is a 2-layer board of 52 × 25.7 mm with 23 parts on 15 nets, routed with 111 tracks and 2 vias.
It is built around the MP4050GS. Its parts include 7 resistors, 5 capacitors, 2 diodes, 2 inductors and 1 IC.
Main components
1README
README.mdLED Bulb PCB Design and Development

Project Overview
This repository documents the design and development of a 5 W, 240 VAC LED bulb PCB. The project follows the complete engineering workflow from schematic capture and PCB layout to simulation, PCB manufacturing, assembly and hardware testing.
The aim is to design an affordable, reliable and energy-efficient LED bulb suitable for indoor lighting while gaining practical experience in professional PCB design and electronics manufacturing.
Project Objectives
The objectives of this project are to:
- Design a production-ready PCB for a 5 W LED bulb.
- Develop a complete schematic using KiCad.
- Assign footprints to all electronic components.
- Produce a manufacturable PCB layout.
- Simulate the LED bulb power supply using Proteus.
- Generate Gerber files for PCB fabrication.
- Manufacture and assemble the PCB.
- Test and evaluate the final LED bulb.
- Document every stage of the engineering process.
Current Progress
- ✅ Schematic design completed
- ✅ Component footprint assignment completed
- ✅ PCB routing completed
- ✅ 3D PCB verification completed
- ✅ AC-to-DC bridge rectifier simulation completed
- ✅ Gerber generation
- 🔄 PCB fabrication (Training completed- LED bulb PCB fabrication in progress)
- 🔄 Component assembly
- ⏳ Hardware testing
- ⏳ Final product evaluation
Design Specifications
- Product: 5 W LED Bulb
- Input Voltage: 240 VAC
- Frequency: 50 Hz
- Application: Indoor Lighting
- PCB Design Software: KiCad 10
- Simulation Software: Proteus 8 Professional
Skills Demonstrated
This project demonstrates practical experience in:
- PCB schematic capture
- PCB layout design
- Component footprint assignment
- PCB routing
- Electrical Rule Check (ERC)
- Design Rule Check (DRC)
- PCB 3D verification
- Circuit simulation using Proteus
- Power electronics
- PCB fabrication techniques
- Electronics manufacturing
- Git and GitHub version control
- Engineering documentation
Repository Structure
LED-Bulb-PCB-Design-and-Development/
│
├── docs/
├── fabrication/
├── footprints/
├── images/
├── pcb/
├── schematic/
├── simulations/
├── symbols/
├── README.md
└── .gitignoreDesign Workflow
The project follows the following engineering workflow:
- Component selection
- Schematic capture
- Footprint assignment
- Electrical Rule Check (ERC)
- PCB layout
- Component placement
- PCB routing
- Design Rule Check (DRC)
- 3D PCB verification
- Circuit simulation
- Gerber generation
- PCB fabrication
- PCB assembly
- Hardware testing
- Final product evaluation
Components Used
The current design includes:
- MP4050G LED Driver IC
- MB10S Bridge Rectifier
- Fuse
- Electrolytic Capacitors
- Ceramic Capacitors
- Resistors
- LEDs
- AC Input Connector
- PCB Connectors
Proteus Simulation
A Proteus simulation was developed to demonstrate the AC-to-DC rectification stage of the LED bulb power supply.
The simulation includes:
- 240 VAC AC source
- Fuse
- Full bridge rectifier
- Electrolytic smoothing capacitor
- Current-limiting resistor
- LED load
- AC voltmeter
- DC voltmeter
- DC ammeter
- Oscilloscope
Simulation Results
The following measurements were obtained during simulation:
- AC input voltage: Approximately 241 VAC
- DC output voltage: Approximately 338 VDC
- LED current: Approximately 4.19 mA
The simulation confirms successful AC-to-DC conversion and demonstrates the operation of the rectification stage.
Note
The production LED bulb uses the MP4050G LED Driver IC. Since a compatible Proteus simulation model is currently unavailable, the simulation focuses on demonstrating the AC-to-DC rectification stage rather than the complete LED driver circuit.
Oscilloscope Waveform Verification
An oscilloscope was connected during the Proteus simulation to observe the AC input and the rectified DC output of the bridge rectifier. The captured waveforms verify the AC-to-DC conversion process by showing the sinusoidal AC input and the rectified DC output before filtering and after filtering. This confirms the correct operation of the bridge rectifier and smoothing capacitor before the power is supplied to the LED load.

Project Gallery
Schematic Diagram
Complete schematic designed in KiCad.

Initial PCB Layout
First routed PCB layout.

Final PCB Layout
Completed PCB routing ready for Gerber generation and fabrication.

Initial 3D PCB View
Initial 3D visualization.

Final 3D PCB View (Front)
Completed PCB viewed from the component side.

Final 3D PCB View (Back)
Completed PCB viewed from the solder side.

Proteus Simulation
Bridge rectifier simulation demonstrating AC-to-DC conversion.

PCB Fabrication Equipment
The fabrication process involves several specialized machines that support PCB production from raw copper-clad boards to finished printed circuit boards.
The following equipment will be used during the manufacturing process.
PCB Prototyping Process
The PCB prototyping workflow illustrates the sequence of manufacturing steps used to transform the PCB design into a physical circuit board.

Through-Hole PCB
Example of a through-hole PCB used during the fabrication and assembly process.

Through-Hole Drilling Machine
Machine used for drilling component mounting holes after PCB fabrication.

Circuit Board Buffing Machine
Used to clean and polish the PCB surface before and after various fabrication processes, improving surface quality and solderability.

Spray Stripping Machine
Used to remove photoresist after the PCB etching process, leaving the required copper traces on the board.

PCB Fabrication Training
Before manufacturing the LED bulb PCB, practical PCB fabrication techniques were carried out using a 12 V to 5 V Buck Converter as a training project. This provided hands-on experience with the complete PCB fabrication workflow and the operation of the equipment available in the PCB fabrication laboratory.
The objective was to understand how a PCB progresses from a digital design to a fully fabricated circuit board before applying the same techniques to the LED bulb project.
The fabrication process followed these stages:
- A single-layer copper-clad PCB was selected because the circuit required only one copper layer and no vias.
- The copper surface was thoroughly cleaned to remove contaminants and improve toner adhesion.
- The PCB layout was printed onto transfer paper and transferred onto the copper-clad board using the toner transfer method with heat and pressure.
- The board was immersed in Ferric Chloride solution to chemically etch away the exposed copper, leaving only the required PCB traces protected by the toner.
- The remaining toner was removed using ethanol, exposing clean copper tracks on the FR4 substrate.
- The fabricated PCB was then prepared for the remaining finishing processes, including drilling, solder mask application and silkscreen printing.
This practical exercise provided valuable experience in PCB fabrication techniques, chemical etching, surface preparation and manufacturing processes that will be applied during the fabrication of the 5 W LED bulb PCB developed in this repository.
From Digital Design to Copper-Clad Board
The PCB fabrication process began by preparing a clean copper-clad board while referencing the digital PCB layout. This marked the transition from the computer-aided PCB design to the physical manufacturing process.

PCB with Toner Transfer
The PCB layout was transferred onto the cleaned copper-clad board using the toner transfer method. The toner formed a protective layer over the required copper traces before chemical etching.

Ferric Chloride Etching
The board was immersed in a Ferric Chloride solution to dissolve the exposed copper while preserving the toner-protected PCB traces.

PCB after Toner Removal
After chemical etching, the toner was removed using ethanol to expose the finished copper traces on the FR4 substrate. At this stage, the PCB pattern was fully formed and ready for drilling.

PCB Drilling
Component mounting holes were drilled at the required locations using a PCB drilling machine, preparing the board for component placement and soldering.

Heat Press Machine
A heat press machine was used during the toner transfer process to firmly bond the printed PCB artwork onto the copper-clad board. Proper heat and pressure ensured accurate transfer of the circuit pattern before chemical etching.

After chemical etching, the remaining toner was removed using ethanol to expose the finished copper traces on the FR4 substrate. At this stage, the PCB pattern had been successfully transferred onto the board and was ready for the remaining manufacturing processes.
The subsequent fabrication stages typically include:
- PCB drilling for through-hole components and mounting holes
- Surface cleaning and inspection
- Tin coating or surface finishing (where applicable) to protect exposed copper
- Solder mask application to insulate and protect the copper traces from oxidation and accidental short circuits
- Silkscreen printing to add component labels, reference designators and other markings
- Electrical continuity and quality inspection
- Component assembly and soldering
- Functional testing of the completed PCB
These finishing processes transform the etched PCB into a fully assembled and production-ready electronic circuit.
CNC PCB Milling
As part of the practical PCB manufacturing work, we also manufactured a single-sided PCB using a CNC machine. This provided hands-on experience with an alternative PCB fabrication method to the chemical etching process used during the earlier fabrication training.
The process started with the completed PCB layout in KiCad. We first generated the required Gerber files, which were then imported into FlatCAM. FlatCAM was used to process the Gerber files and generate the G-code required by the CNC machine.
The generated G-code files were then loaded into Mach3, which was used to control the CNC machine during fabrication. Before machining began, the machine was properly set up and calibrated to ensure that the drilling and milling operations were performed accurately.
PCB Circuit Design
The process began with the completed single-sided PCB layout. The routed PCB design provided the manufacturing data that was later converted into machine-readable G-code.

Gerber to G-code Conversion Using FlatCAM
The generated Gerber files were imported into FlatCAM, where the PCB manufacturing data was processed and converted into G-code for the CNC machine.

CNC Control Using Mach3
The generated G-code was loaded into Mach3, which was used to control the CNC machine. The machine was set up and calibrated before starting the drilling and milling operations.

CNC Drilling and Milling
Once the machine was properly configured and calibrated, the CNC machine carried out the drilling and milling operations automatically. The drilling operation created the required component mounting holes, while milling removed unwanted copper to isolate the required circuit traces.

Final CNC-Machined PCB
The completed single-sided PCB shows the physical result of the CNC drilling and milling process.

CNC Fabrication Workflow
The complete process can be summarized as:
KiCad PCB Design → Gerber Generation → FlatCAM → G-code → Mach3 → Machine Setup & Calibration → CNC Drilling & Milling → Finished PCB
This exercise provided practical experience in PCB manufacturing using CNC technology and demonstrated how digital PCB manufacturing files can be converted into a physical circuit board. It also provided hands-on experience with FlatCAM, Mach3, CNC machine setup and calibration, as well as drilling and copper milling operations.
Engineering Considerations
During the PCB design process, attention was given to:
- Proper component placement
- Efficient PCB routing
- Trace spacing
- Design for Manufacturability (DFM)
- Electrical Rule Check (ERC)
- Design Rule Check (DRC)
- PCB inspection using the KiCad 3D Viewer
Future Work
The remaining stages of the project include:
- Generate Gerber files
- Manufacture the PCB
- Assemble the LED bulb
- Perform electrical testing
- Measure efficiency
- Evaluate thermal performance
- Produce final engineering documentation
Learning Outcomes
Working on this project has provided practical experience in:
- PCB design using KiCad
- Circuit simulation using Proteus
- PCB routing techniques
- Power electronics
- Electronics manufacturing workflow
- Git and GitHub
- Engineering documentation
License
This repository is shared for educational and portfolio purposes.
Please contact the repository owner before using any part of this design for commercial applications.
Parts
23| Qty | Value | Footprint | References |
|---|---|---|---|
| 3 | R | Resistor_SMD:R_1206_3216Metric | R2, R3, R4 |
| 2 | C_Polarized | Capacitor_THT:CP_Radial_D8.0mm_P5.00mm | C1, C2 |
| 2 | L | Inductor_THT:L_Radial_D6.0mm_P4.00mm | L1, L2 |
| 2 | R | Resistor_SMD:R_0603_1608Metric | R1, R6 |
| 2 | TestPoint | TestPoint:TestPoint_THTPad_2.0x2.0mm_Drill1.0mm | TP4, TP5 |
| 1 | 1K | Resistor_SMD:R_1206_3216Metric | R5 |
| 1 | 1N4005 | Diode_SMD:D_SMA | D2 |
| 1 | C | Capacitor_THT:C_Disc_D3.0mm_W1.6mm_P2.50mm | C4 |
| 1 | C | Capacitor_THT:C_Disc_D5.0mm_W2.5mm_P2.50mm | C3 |
| 1 | C_Polarized | Capacitor_THT:CP_Radial_D5.0mm_P2.00mm | C5 |
| 1 | D_Bridge_+-AA | Diode_SMD:Diode_Bridge_Diotec_ABS | D1 |
| 1 | Fuse | Fuse:Fuse_Bourns_MF-RG300 | F1 |
| 1 | L | TestPoint:TestPoint_THTPad_2.0x2.0mm_Drill1.0mm | TP1 |
| 1 | MP4050 | MP4050:SOIC127P600X175-8N | U1 |
| 1 | N | TestPoint:TestPoint_THTPad_2.0x2.0mm_Drill1.0mm | TP2 |
| 1 | R | Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_Horizontal | R0 |
| 1 | Varistor | Varistor:RV_Disc_D7mm_W4mm_P5mm | RV1 |
Similar boards
- 2 layers65 × 56 mm

- 2 layers14 × 100 mm

Yunomi
google/mozc-devices
Circuit diagrams and firmware source code for Gboard DIY keyboards
23 parts3kApache-2.0 - 2 layers50.8 × 52.2 mm

- 2 layers138.8 × 89.8 mm

- 2 layers32.9 × 53.3 mm

- 2 layers35.5 × 50 mm

- 2 layers19 × 19 mm

- 2 layers88.5 × 28 mm

ExpBreakout
Duet3D/Duet-2-Hardware
The KiCAD source for the Duet 3d printer controller see www.duet3d.com
23 parts258
Questions
How big is the Schematic diagram PCB?
It measures 52 × 25.7 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Schematic diagram use?
23 parts, built around the MP4050GS. 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 Schematic diagram KiCad files?
From the FrankRubandamayonzaMagezi/LED-Bulb-PCB-Design-and-Development repository on GitHub, at the commit this page was made from: the board is schematic/Schematic diagram.kicad_pcb and its schematic schematic/Schematic diagram.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Schematic diagram design in my own project?
Its repository states no licence, so its author keeps all rights: ask FrankRubandamayonzaMagezi before reusing the design.