
    
    <br />
<b>Warning</b>:  Cannot modify header information - headers already sent by (output started at /home/pcbassembly/www/www/blog/wp-content/plugins/dt-author-box/dt_authorbox.php:157) in <b>/home/pcbassembly/www/www/blog/wp-includes/rest-api/class-wp-rest-server.php</b> on line <b>1719</b><br />
<br />
<b>Warning</b>:  Cannot modify header information - headers already sent by (output started at /home/pcbassembly/www/www/blog/wp-content/plugins/dt-author-box/dt_authorbox.php:157) in <b>/home/pcbassembly/www/www/blog/wp-includes/rest-api/class-wp-rest-server.php</b> on line <b>1719</b><br />
{"id":899,"date":"2022-06-10T07:53:29","date_gmt":"2022-06-10T07:53:29","guid":{"rendered":"https:\/\/www.pnconline.com\/blog\/?p=899"},"modified":"2022-06-10T07:53:39","modified_gmt":"2022-06-10T07:53:39","slug":"how-is-pc-board-designed-in-kicad","status":"publish","type":"post","link":"https:\/\/www.pnconline.com\/blog\/how-is-pc-board-designed-in-kicad\/","title":{"rendered":"How Is PC Board Designed In KiCad"},"content":{"rendered":"<p>There are many free and open-source <a href=\"https:\/\/www.pnconline.com\/blog\/category\/pc-board\/\" rel=\"noopener\" target=\"_blank\">PC Board<\/a> design software packages out there, but KiCad has become one of the more popular ones due to its combination of low cost and flexibility. As with most design software, it does take some practice to learn how to use it, which is why we created this guide on how to design PCBs in KiCad.<br \/>\nWhether you\u2019re just getting started or want to review your skills, this guide will get you up and running quickly, allowing you to create your first PCB in no time.We\u2019ll walk you through starting a new project, designing your circuit, creating the Gerber files to send off to your manufacturer, and much more.<\/p>\n<h3>Step 1: Open The File<\/h3>\n<p>To open up your chosen schematic file you need to double click on it. This will bring up your schematic editor, and also provide you with access to other tabs as well as additional views of your schematic. If you have more than one page in your project, they will appear separated by tabs that can be accessed at any time.<\/p>\n<p>The first thing you should do is get rid of all unused components so that there is no clutter or confusion when designing your circuit board. You can do this by selecting each component individually and pressing delete or right-clicking on them to select Remove from Project from the menu.<\/p>\n<p>Remember not to select any electrical connections you may have made during your design process because these are required for our circuit board to function correctly. When you are done removing everything that isn\u2019t needed, save your project file under a new name so that you don\u2019t lose what you\u2019ve already done.<\/p>\n<h3>Step 2: Save Your Work<\/h3>\n<p>To save your work as you go, you must keep your progress handy. You can do so by clicking Save on KiCad\u2019s main toolbar, or by using the CTRL+S on your keyboard.<br \/>\nAs you work, you\u2019ll want to save your work often. To do so, click File&gt;Save Project (at the top left) or use the keyboard shortcut Control + S on Windows\/Linux and Command + S on Mac.<br \/>\nBefore saving, make sure that you haven\u2019t included any hidden layers by clicking Layers&gt;Show\/Hide&gt;Hidden Layers and making sure all layers are checked. It\u2019s also helpful to set up a backup location for your project files.<br \/>\nIf you choose to Save a project before compiling it when creating new projects, KiCad will automatically create backups of your files before compiling them into an output file. If something goes wrong during compilation, simply open one of these backups and continue working from there. The next time you compile, KiCad will overwrite your old backup with a new one.<\/p>\n<h3>Step 3: The Project Tree<\/h3>\n<p>You\u2019ll notice that on your right-hand side, there\u2019s a list of nodes. This is where you keep track of all your libraries, schematics,PCB designs and <a href=\"https:\/\/www.pnconline.com\/blog\/category\/printed-circuit-board-fabrication\/\" rel=\"noopener\" target=\"_blank\">pcb fabrication<\/a> files. The project tree will start with just one node called Unnamed; click on it and give it a name. That way you can return to it quickly and easily.<\/p>\n<p>By default, designs are displayed as hierarchical project trees of symbols, footprints, and 3D models. Clicking on an object displays its properties in a panel at the left.<\/p>\n<p>Right-clicking on any object opens a context menu for modifying it. It is also possible to create new project folders and objects from within KiCad using these menus.<\/p>\n<p>There is no limit to how many objects or projects you can have in KiCad. When creating or editing the schematic sheets or PCBs, remember that the current sheet refers to either sheet 0, the top sheet, or sheet 1, the bottom sheet.<\/p>\n<h3>Step 4: Board Settings<\/h3>\n<p>The software is now configured for new designs. If you\u2019re happy with all of your settings, click OK to save them and make sure that Configure Project for Manufacturing is unchecked. We want our design files to be suitable for creating prototype boards, but we don\u2019t need any extra vias or silkscreen layers as those would just be an unnecessary drain on our budget.<br \/>\nThe part of KiCad you\u2019ll be focusing on is called Board, and it\u2019s located under Preferences &gt; Board. Click on that, then click Save as Default Project, then click OK. Now, any new projects you create will use these settings by default.<br \/>\nYou\u2019ve already got some elements selected in our schematic; now let\u2019s check out how to add components from libraries. This is done using something called Footprints. For each component you want to add, different types of Footprintsdetermine their size and placement on your board.<br \/>\nTo get started, find your library folder in Documents &gt;KiCad Library&gt; Components. There should be two folders inside here, such as footprints_1_0 and footprints_1_4. The former is used for older versions of KiCad while 1_4 has newer parts available.<br \/>\nFind one you like and double-click it to open up its details page. Here you can see a list of all the possible ways that components could be placed on your board, along with their respective sizes. Scroll down until you find one that matches your needs, and then right-click on it.<br \/>\nOnce you have chosen a footprint, go back into your schematic editor and place your cursor where you want it on your board. It doesn\u2019t matter where exactly, just somewhere near where you think it might fit nicely. Right-click again and select Add to Selection.<br \/>\nAll instances of that component will now appear highlighted, allowing you to easily move them around without accidentally dragging another object instead. Move them around until they look good, and then press Ctrl+S to save your work.<br \/>\nRepeat steps 3\u20135 for each other component you want to add. When you\u2019re finished adding everything, click File &gt; Export Gerber Files&#8230; A window will pop up asking you where you want to export these files to.Choose your preferred file type before clicking Save.<\/p>\n<h3>Step 5: Trace Settings<\/h3>\n<p>To ensure your traces have sufficient space between them, you\u2019ll need to change several settings in KiCad. If you\u2019re working with 2 mils (0.002 inches) traces, choose Min trace width \/ Min clearance 0.2 mm and Min spacing 1 mm from under Advanced Tracing on the left side of the Project Properties dialog box.<br \/>\nIf you\u2019re using 5 mils (0.005 inches) traces, select Min trace width \/ Min clearance 0.5 mm and Min spacing 1 mm instead. For 10 mils (0.010 inches) or 20 mils (0.020 inches) traces, use 2mm\/4mm as appropriate for those sizes.<br \/>\nNote that these values are set per layer, so if you want to use different values for top and bottom layers, simply click on the Top or Bottom layer in the Project Properties dialog box before changing these values. Once you\u2019ve made your selections, click OK to save changes.<br \/>\nNow that you\u2019ve got your trace size set up correctly, let\u2019s move on to via size. Vias are used to connect one layer of copper to another through plated holes. These connections allow us to route signals through our board by allowing us to go from one layer to another without going all the way around (which would waste space).<br \/>\nThe reason why we have two types of vias is that they serve different purposes depending on where they\u2019re placed. <a href=\"https:\/\/www.pnconline.com\/blog\/category\/printed-circuit-board\/\" rel=\"noopener\" target=\"_blank\">Printed Circuit Board<\/a> Blind vias are located inside a hole, which means they\u2019re not visible from either side of our board. On the other hand, buried vias can be seen from both sides.<br \/>\n<figure id=\"attachment_901\" aria-describedby=\"caption-attachment-901\" style=\"width: 300px\" class=\"wp-caption alignleft\"><img loading=\"lazy\" src=\"https:\/\/www.pnconline.com\/blog\/wp-content\/uploads\/2022\/06\/How-Is-PC-Board-Designed-In-KiCad-Content-300x200.jpg\" alt=\"How Is PC Board Designed In KiCad\" width=\"300\" height=\"200\" class=\"size-medium wp-image-901\" srcset=\"https:\/\/www.pnconline.com\/blog\/wp-content\/uploads\/2022\/06\/How-Is-PC-Board-Designed-In-KiCad-Content-300x200.jpg 300w, https:\/\/www.pnconline.com\/blog\/wp-content\/uploads\/2022\/06\/How-Is-PC-Board-Designed-In-KiCad-Content-768x512.jpg 768w, https:\/\/www.pnconline.com\/blog\/wp-content\/uploads\/2022\/06\/How-Is-PC-Board-Designed-In-KiCad-Content.jpg 960w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><figcaption id=\"caption-attachment-901\" class=\"wp-caption-text\">How Is PC Board Designed In KiCad<\/figcaption><\/figure><\/p>\n<h3>Step 6: Fabrication Output<\/h3>\n<p>You\u2019ve created your schematic, laid out your board, and routed everything beautifully. Now it\u2019s time to order those fab files. For now, let\u2019s focus on getting these fab files ready for manufacturing.<\/p>\n<ul>\n<li>Use DRC to ensure there aren&#8217;t any issues with trace width\/spacing or via holes.<\/li>\n<li>Add solder mask.<\/li>\n<li>Add silkscreen.<\/li>\n<li>Check for manufacturability (is your design feasible?).<br \/>\nExport Gerber files.<\/li>\n<\/ul>\n<h3>Step 7. Exporting Gerber Files<\/h3>\n<p>Now that you have everything drawn up, save your schematic and board files. You will be using these files when it comes time to order your board. Start by going File &gt; Save or hitting Ctrl+S.<br \/>\nTo save Gerbers, you must create and name an output folder. Go ahead and do that now. After your boards are all laid out, you\u2019ll be able to export them as Gerber files.<br \/>\nIf you\u2019re doing more than one layer of a board, like if you have an inner ground plane, then make sure that you select a Separate file per layer for Gerber, otherwise, they won\u2019t work.<br \/>\nAlso, make sure that you check every single box under File Options except Place component origin at the lower-left corner of pad\/hole. This option puts components off-center on pads and is only useful if you plan to manually place components later.<br \/>\nOnce you have checked those boxes, go to File &gt; Export Gerber Files. A window will pop up asking where you want to save your Gerber. Name your project or whatever makes sense for what you\u2019re making and click OK.<br \/>\nThen another window will pop up asking which layers you want to export. Select All Layers and click OK again. Finally, a third window will appear with progress bars telling you how long it will take to generate your Gerber. It can take anywhere from 10 seconds to over an hour, depending on how many layers you have selected and how complex they are.<br \/>\nWould like to know more about <a href=\"https:\/\/www.pnconline.com\/blog\/category\/printed-circuit-board-assembly\/\" rel=\"noopener\" target=\"_blank\">printed circuit board assembly<\/a>? Email us at sales@pnconline.com<\/p>\n<div class=\"addtoany_share_save_container addtoany_content_bottom\"><div class=\"a2a_kit a2a_kit_size_32 addtoany_list a2a_target\" id=\"wpa2a_1\"><a class=\"a2a_button_facebook\" href=\"http:\/\/www.addtoany.com\/add_to\/facebook?linkurl=https%3A%2F%2Fwww.pnconline.com%2Fblog%2Fhow-is-pc-board-designed-in-kicad%2F&amp;linkname=How%20Is%20PC%20Board%20Designed%20In%20KiCad\" title=\"Facebook\" rel=\"nofollow\" target=\"_blank\"><\/a><a class=\"a2a_button_twitter\" href=\"http:\/\/www.addtoany.com\/add_to\/twitter?linkurl=https%3A%2F%2Fwww.pnconline.com%2Fblog%2Fhow-is-pc-board-designed-in-kicad%2F&amp;linkname=How%20Is%20PC%20Board%20Designed%20In%20KiCad\" title=\"Twitter\" rel=\"nofollow\" target=\"_blank\"><\/a><a class=\"a2a_button_google_plus\" href=\"http:\/\/www.addtoany.com\/add_to\/google_plus?linkurl=https%3A%2F%2Fwww.pnconline.com%2Fblog%2Fhow-is-pc-board-designed-in-kicad%2F&amp;linkname=How%20Is%20PC%20Board%20Designed%20In%20KiCad\" title=\"Google+\" rel=\"nofollow\" target=\"_blank\"><\/a><a class=\"a2a_dd addtoany_share_save\" href=\"https:\/\/www.addtoany.com\/share_save\"><\/a>\n<script type=\"text\/javascript\"><!--\nwpa2a.script_load();\n\/\/--><\/script>\n<\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>There are many free and open-source PC Board design software packages out there, but KiCad has become one of the more popular ones due to its combination of low cost and flexibility. As with most design software, it does take some practice to learn how to use it, which is why we created this guide &hellip; <a href=\"https:\/\/www.pnconline.com\/blog\/how-is-pc-board-designed-in-kicad\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">How Is PC Board Designed In KiCad<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":900,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[63,59,16],"tags":[67,61,35],"_links":{"self":[{"href":"https:\/\/www.pnconline.com\/blog\/wp-json\/wp\/v2\/posts\/899"}],"collection":[{"href":"https:\/\/www.pnconline.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.pnconline.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.pnconline.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pnconline.com\/blog\/wp-json\/wp\/v2\/comments?post=899"}],"version-history":[{"count":1,"href":"https:\/\/www.pnconline.com\/blog\/wp-json\/wp\/v2\/posts\/899\/revisions"}],"predecessor-version":[{"id":902,"href":"https:\/\/www.pnconline.com\/blog\/wp-json\/wp\/v2\/posts\/899\/revisions\/902"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.pnconline.com\/blog\/wp-json\/wp\/v2\/media\/900"}],"wp:attachment":[{"href":"https:\/\/www.pnconline.com\/blog\/wp-json\/wp\/v2\/media?parent=899"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.pnconline.com\/blog\/wp-json\/wp\/v2\/categories?post=899"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pnconline.com\/blog\/wp-json\/wp\/v2\/tags?post=899"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}