Engineers Garage

  • Projects and Tutorials
    • Electronic Projects
      • 8051
      • Arduino
      • ARM
      • AVR
      • PIC
      • Raspberry pi
      • STM32
    • Tutorials
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Products News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • EE Resources
    • DesignFast
    • LEAP Awards
    • Oscilloscope Product Finder
    • White Papers
    • Webinars
  • EE Learning Center
    • Design Guides
      • WiFi & the IOT Design Guide
      • Microcontrollers Design Guide
      • State of the Art Inductors Design Guide
  • Women in Engineering

PCB Designing using Kicad (Part 11/12)

By Venugopal M

PCB Design Gerber Files:

Gerber files are like ‘universal language’ for PCB designs.  It is the family of the file format used by the PCB industry software to describe the connections, drilling, and milling data. Gerber format is an open vector format for 2D images. The standard file extension is “.GRB”  and the current Gerber format is – 274X.

Common problems with Gerber files and solutions:

 
S.No Problem Description Solution

1

Obsolete file format Gerber file has mainly two formats, 274D and 274X. In 274D, Aperture list is required while in 274X Apertures are embedded into the files. ODB++  is also a Gerber format.  In these formats 274X is the preferred format, since the Apertures are embedded into Gerber files.  
2 Confusing file labels The board layers are labeled in Gerber files as “.GBL” , “.GBS” and so on. The finding board layers with these labels are very confusing. Providing a text label in the Gerber file data is a better way to indicate the files and layers representation.
3 Fabrication Drawing files A fab drawing contains the overall dimensions of the board, cut outs, special routing, file names, thickness, and material names related information. If there is any simple mistake, it may lead to a big Error in fabrication of the PCB. When we have to work with an outside vendor, we have to carefully check these files, before sending them.  
4 Drill format Drill formats do not have a proper format; we have to guess that by trial and error.  In format, the header must include the information about drill file. It’s a short way to convey the information within the drill file. 
5 Registration of the layers Manual file alignment of the layers is necessary because some files may have layers at different datum alignment.  If possible, having the Gerber files registered to a common data point is recommended.
6 Vector fills Layers with shield area come filled with 1 or 2 mil vectors. This causes the Gerber file to be larger in size. And we need to contourize the data. Filling areas by using “raster” and “contour” is recommended.
7 Composite layers To create one layer, some design software use composite layers.  Like Embedded traces use three layers to create one layer. 1. Plane layer, 2. Clearance layer, 3. Trace layer.  Three layers should combine, and then we can get  a single Gerber layer.

How to create Gerber files:

Creating Gerber files is different in different software. Like, in eagle cad we can generate Gerber files by using CAM processor, but it is different in KiCad.

To generate Gerber file in Kicad follow these  steps:

1.       Open file menu and select plot option. (In PCB new window).

2.       A plot dialogue box will appear on the screen as shown below.

 
Screenshot of Plot Dialogue Box in KIcad
 
Fig. 1: Screenshot of Plot Dialogue Box in KIcad
 

1.       Select “plot format” as Gerber.

2.       Select the required layers in layers list.

EX: front copper layer, bottom copper layer, front and back silk screens, Mask layers, Edge cuts, etc.

3.       Leave output directory blank, it will save out Gerber file default Project folder. But if you need to create a separate folder, then select path.

4.       In “options” default boxes are checked, if we need any other options we can select and check.

5.       Now press the “plot button” at the bottom side of the window. After this, select “Generate drill file”.

6.       A dialogue box will appear with the name of “Drill file generation”.

7.       Leave output directory (we selected any path in plot window, select same path).

8.       Settings are very important in this window, mainly,

·         Drill units (inches)

·         Zeros format(suppress leading zeros)

·         Options(minimal header)

·         Drill origin (Absolute)

 
Screenshot of Drill Files Generation Window on KIcad
 
Fig. 2: Screenshot of Drill Files Generation Window on KIcad
 

1.       Now click on “Drill file” button and close the window.

2.       Now Gerber file is created,  which can be checked in default project folder. Zip this folder to send fabrication.

How to check/View the Gerber file:

1.       In KiCad, we can view the Gerber file by using Gerber view.

2.       Open Gerber view > select Load Gerber file > select any layer > we can see the selected layer.

3.       We can also view Gerber file by using online Gerber viewers. EX:  GerbLook.

4.       Open GerbLook in web browser and load the Zipped Gerber file.  It shows the available errors. If no errors are there, it will show                  Gerber files.

 
Screenshot of Checking the Gerber file on KIcad
 
Fig. 3: Screenshot of Checking the Gerber file on KIcad
 


Filed Under: Tutorials

 

Questions related to this article?
👉Ask and discuss on Electro-Tech-Online.com and EDAboard.com forums.



Tell Us What You Think!! Cancel reply

You must be logged in to post a comment.

HAVE A QUESTION?

Have a technical question about an article or other engineering questions? Check out our engineering forums EDABoard.com and Electro-Tech-Online.com where you can get those questions asked and answered by your peers!


Featured Tutorials

  • PS2 Keyboard To Store Text In SD Card Using Arduino Circuit Setup On Breadboard
    How To Use PS2 Keyboard To Store Text In SD Card Using Arduino- (Part 42/49)
  • Wireless Path Tracking System Using Mouse, XBee And Arduino Circuit Setup On Breadboard
    How To Make A Wireless Path Tracking System Using Mouse, XBee And Arduino- (Part 43/49)
  • How to Make a Wireless Keyboard Using Xbee with Arduino- (Part 44/49)
  • Making Phone Call From GSM Module Using Arduino Circuit Setup On Breadboard
    How to Make Phonecall From GSM Module Using Arduino- (Part 45/49)
  • How to Make a Call using Keyboard, GSM Module and Arduino
    How To Make A Call Using Keyboard, GSM Module And Arduino- (Part 46/49)
  • Receiving SMS Using GSM Module With Arduino Prototype
    How to Receive SMS Using GSM Module with Arduino- (Part 47/49)

Stay Up To Date

Newsletter Signup

Sign up and receive our weekly newsletter for latest Tech articles, Electronics Projects, Tutorial series and other insightful tech content.

EE Training Center Classrooms

EE Classrooms

Recent Articles

  • Renesas delivers intelligent sensor solutions for IoT applications
  • Microchip Technology releases AVR-IoT Cellular Mini Development Board
  • Qualcomm acquires Cellwize to accelerate 5G adoption and spur infrastructure innovation
  • MediaTek’s chipset offers high-performance option for 5G smartphones
  • Nexperia’s new level translators support legacy and future mobile SIM cards

Most Popular

5G 555 timer circuit 8051 ai Arduino atmega16 automotive avr bluetooth dc motor display Electronic Part Electronic Parts Fujitsu ic infineontechnologies integratedcircuit Intel IoT ir lcd led maximintegratedproducts microchip microchiptechnology Microchip Technology microcontroller microcontrollers mosfet motor powermanagement Raspberry Pi remote renesaselectronics renesaselectronicscorporation Research samsung semiconductor sensor software STMicroelectronics switch Technology vishayintertechnology wireless

RSS EDABOARD.com Discussions

  • Thermal pad
  • lna+mixer noise figure problem
  • ADS Cascode Power Amplifier Loadpull Problem
  • SMPS topology
  • DC DC converter output voltage rise time

RSS Electro-Tech-Online.com Discussions

  • Where is the fuse ?
  • 500+V power supply from 9V battery using ZVS
  • Control Bare LCD With ATmega328p
  • undefined reference header file in proteus
  • Engine compression high voltage ignition voltage?
Engineers Garage
  • Analog IC TIps
  • Connector Tips
  • DesignFast
  • EDABoard Forums
  • EE World Online
  • Electro-Tech-Online Forums
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips
  • 5G Technology World
  • About Us
  • Contact Us
  • Advertise

Copyright © 2022 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Projects and Tutorials
    • Electronic Projects
      • 8051
      • Arduino
      • ARM
      • AVR
      • PIC
      • Raspberry pi
      • STM32
    • Tutorials
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Products News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • EE Resources
    • DesignFast
    • LEAP Awards
    • Oscilloscope Product Finder
    • White Papers
    • Webinars
  • EE Learning Center
    • Design Guides
      • WiFi & the IOT Design Guide
      • Microcontrollers Design Guide
      • State of the Art Inductors Design Guide
  • Women in Engineering