Skip to the content
2 layers52 × 25.7 mmSchematic diagram, the printed circuit board in 3D

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

1

README

README.md

LED Bulb PCB Design and Development

Final PCB 3D View

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

text
LED-Bulb-PCB-Design-and-Development/
│
├── docs/
├── fabrication/
├── footprints/
├── images/
├── pcb/
├── schematic/
├── simulations/
├── symbols/
├── README.md
└── .gitignore

Design Workflow

The project follows the following engineering workflow:

  1. Component selection
  2. Schematic capture
  3. Footprint assignment
  4. Electrical Rule Check (ERC)
  5. PCB layout
  6. Component placement
  7. PCB routing
  8. Design Rule Check (DRC)
  9. 3D PCB verification
  10. Circuit simulation
  11. Gerber generation
  12. PCB fabrication
  13. PCB assembly
  14. Hardware testing
  15. 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.

Oscilloscope Waveform Analysis


Project Gallery

Schematic Diagram

Complete schematic designed in KiCad.

Schematic


Initial PCB Layout

First routed PCB layout.

Initial PCB Layout


Final PCB Layout

Completed PCB routing ready for Gerber generation and fabrication.

Final PCB Layout


Initial 3D PCB View

Initial 3D visualization.

Initial 3D PCB


Final 3D PCB View (Front)

Completed PCB viewed from the component side.

Front 3D PCB


Final 3D PCB View (Back)

Completed PCB viewed from the solder side.

Back 3D PCB


Proteus Simulation

Bridge rectifier simulation demonstrating AC-to-DC conversion.

Proteus Simulation


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.

PCB Prototyping Process


Through-Hole PCB

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

Through-Hole PCB


Through-Hole Drilling Machine

Machine used for drilling component mounting holes after PCB fabrication.

Through-Hole Drilling Machine


Circuit Board Buffing Machine

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

Circuit Board Buffing Machine


Spray Stripping Machine

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

Spray Stripping Machine


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.

Digital Schematic to Copper Clad


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.

PCB with Toner


Ferric Chloride Etching

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

Ferric Chloride Etching


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 without Toner


PCB Drilling

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

PCB Drilling


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.

Heat Press


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.

PCB Circuit Design


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.

FlatCAM Interface


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.

Mach3 Interface


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.

CNC Machining


Final CNC-Machined PCB

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

Final CNC Machined PCB Final CNC Machined PCB


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
QtyValueFootprintReferences
3RResistor_SMD:R_1206_3216MetricR2, R3, R4
2C_PolarizedCapacitor_THT:CP_Radial_D8.0mm_P5.00mmC1, C2
2LInductor_THT:L_Radial_D6.0mm_P4.00mmL1, L2
2RResistor_SMD:R_0603_1608MetricR1, R6
2TestPointTestPoint:TestPoint_THTPad_2.0x2.0mm_Drill1.0mmTP4, TP5
11KResistor_SMD:R_1206_3216MetricR5
11N4005Diode_SMD:D_SMAD2
1CCapacitor_THT:C_Disc_D3.0mm_W1.6mm_P2.50mmC4
1CCapacitor_THT:C_Disc_D5.0mm_W2.5mm_P2.50mmC3
1C_PolarizedCapacitor_THT:CP_Radial_D5.0mm_P2.00mmC5
1D_Bridge_+-AADiode_SMD:Diode_Bridge_Diotec_ABSD1
1FuseFuse:Fuse_Bourns_MF-RG300F1
1LTestPoint:TestPoint_THTPad_2.0x2.0mm_Drill1.0mmTP1
1MP4050MP4050:SOIC127P600X175-8NU1
1NTestPoint:TestPoint_THTPad_2.0x2.0mm_Drill1.0mmTP2
1RResistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_HorizontalR0
1VaristorVaristor:RV_Disc_D7mm_W4mm_P5mmRV1

Similar boards

  • 2 layers65 × 56 mmPi servo hat, the printed circuit board in 3D

    Pi servo hat

    earthtojake/text-to-cad

    Design physical products with AI

    23 parts26kMIT
  • 2 layers14 × 100 mmYunomi, the printed circuit board in 3D

    Yunomi

    google/mozc-devices

    Circuit diagrams and firmware source code for Gboard DIY keyboards

    23 parts3kApache-2.0
  • 2 layers50.8 × 52.2 mmFuhhni, the printed circuit board in 3D

    Fuhhni

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    23 parts915
  • 2 layers138.8 × 89.8 mmKeyboard pcb, the printed circuit board in 3D

    Keyboard pcb

    diepala/cantor

    Cantor keyboard, a 42 key diodeless split keyboard.

    23 parts756GPL-3.0
  • 2 layers32.9 × 53.3 mmGoatgdo, the printed circuit board in 3D

    Goatgdo

    Kaldek/rat-ratgdo

    Open source schematics for ratgdo PCB

    23 parts511MIT
  • 2 layers35.5 × 50 mmTobo, the printed circuit board in 3D

    Tobo

    kelu124/echomods

    Open source ultrasound processing modules and building blocks

    23 parts463
  • 2 layers19 × 19 mmKeybit, the printed circuit board in 3D

    Keybit

    notaroomba/keybytes

    A truly modular keyboard

    23 parts444
  • 2 layers88.5 × 28 mmExpBreakout, the printed circuit board in 3D

    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.