kicad

  • 生成Gerber文件
  • 查看Gerber文件
  • 上传Gerber文件

几乎所有的PCB制造商都接受Gerber文件,它是一种工业标准,任何一种PCB CAD应用都可以生成。这节视频给大家介绍一下如何使用KiCad6生成Gerber文件、如何到制造商的网站上做在线提交。

在这里我们以捷配为例,其它厂商的流程基本都是一样的。

捷配是一家总部设在杭州的生产厂商,提供一个月2次免费快板打板并包邮的业务。

在KiCad6中生成Gerber文件,具体流程

  1. 在“文件”菜单,下拉,点击“绘制”按钮,打开“绘制”对话窗口,在左上角默认绘制的格式为Gerber
  2. 系统会根据我们设计的PCB文件自动将需要打印Gerber文件的图层勾选出来,每一个图层会生成一个单独的Gerber文件,我们绘制的虽然是单面板,但元器件在F.cu层,焊盘在B.cu层,还有其它几个重要的层都要打印出来,总计会生成9个层的文件;
  3. 除了图层文件之外,还要打印钻孔文件,除非你的板子上没有任何穿孔和过孔,厂商可以根据这个钻孔文件信息决定在板子上如何打孔和过孔,包含了“生成转空文件”和“生成映射文件”两个按钮。
  4. 在生成Gerber文件之前,需要选择输出目录,点击右侧的文件浏览按钮,在工程目录下创建一个专用于Gerber文件的文件夹,一定要取一个比较有意义的名字并加上版本号,比如我们这个工程可以取名为userledgerberv1,以便这个工程更新了版本再上传的时候能够区分。
  5. 设置好输出目录,点击“绘制”按钮,将9个图层的Gerber文件绘制出来
  6. 点击“生成钻孔文件”按钮,生成钻孔文件,这个文件将和其它9个文件放在同一个目录下面
  7. 用文件浏览器看一下这个目录下的文件是不是有10个
  8. 在上传之前可以使用Gerber查看器来打开刚生成的Gerber文件
  9. 上传到捷配的官网,需要一个压缩文件,我们可以把整个目录进行压缩,然后将压缩后的文件上传,制造厂商的后台将会自动解压我们上传的压缩文件
  1. How to manufacture a PCB with PCBWay Now that you have a Zip file that contains your project Gerber files, you can proceed with the upload process. PCBWay wants you to provide some information about your board first before you upload the Zip file. You will need to find out your board’s dimensions, how many layers it has, and decide about the board thickness (Figure 32.1).

Figure 32.1: PCBWay requires some information before you upload your Gerber’s.

Follow this process to find out the dimensions of your board and complete the ordering process:

  1. Open your PCB project in Pcbnew.
  2. Use the Measure Distance tool ( ) from the right toolbar to measure the width and length of your PCB.

Figure 32.2: Use the Measuring tool to find out the dimensions of your board.

  1. Type in the length and width values in the form (Figure 32.3). Choose your desired quantity, number of layers and thickness (1.6mm is a good standard value, only change it if you have a good reason for doing so). Click on Quote Now to go to the quotation page.

    Figure 32.3: The PCB prototype form filled in.

  2. The Quote page can be overwhelming at first (Figure 32.4). Most of the default settings are safe to keep. The only change that I make is to select the HASL lead-free surface finish since I try to work in a lead-free environment. This page does give you a good overview of the kind of customisations that are possible with PCBWay and why they are worth considering for your project. You can make boards on aluminium or rig-flex boards, with a large variety of thicknesses, solder mask colours, and surface finishes. They even support black silkscreen! When you are ready, click on the 'Add to cart' button (not showing in Figure 32.4, this button is on a side panel). This will take you to the upload page. Figure 32.4:Most default options are safe to keep, except for the surface finish.
  3. In the next step, you are prompted to upload the Gerber Zip archive. Figure 32.5: PCBWay upload facility.
  4. When the upload is complete, PCBWay’s engineers will check your project to ensure that it is technically valid and manufacturable. You will not be able to check out and pay for your boards until the audit is completed (Figure 32.6). Figure 32.6: Your PCB project is subject to an audit by PCBWay’s engineers before you can checkout.

The audit process usually takes a few hours to complete. If all goes well, you will receive an email advising you that you can complete the checkout. Once paid, you’ll have your boards in a few weeks.