{"id":4260,"date":"2011-12-25T22:16:43","date_gmt":"2011-12-26T03:16:43","guid":{"rendered":"http:\/\/embedded-lab.com\/blog\/?p=4260"},"modified":"2012-07-30T09:29:13","modified_gmt":"2012-07-30T13:29:13","slug":"breadboard-module-for-18-pin-pic16f-microcontrollers-pcb-version","status":"publish","type":"post","link":"https:\/\/embedded-lab.com\/blog\/breadboard-module-for-18-pin-pic16f-microcontrollers-pcb-version\/","title":{"rendered":"Breadboard module for 18-pin PIC16F microcontrollers (PCB version)"},"content":{"rendered":"<p>Because of their compact size, ease of use and many built-in peripherals, the 18-pin PIC16F series processors (PIC16F628A, PIC16F88, and now PIC16F1827\/47) have always been my favorite microcontrollers. Many of my projects and tutorials written in this blog also use PIC16F628A and PIC16F1827 microcontrollers. As I will be using them more in the future too, I thought of making some PCB versions of my <a href=\"http:\/\/embedded-lab.com\/blog\/?p=1034\" target=\"_blank\"><strong>breadboard module for PIC16F628A<\/strong><\/a> with some modifications.\u00a0I used <a href=\"http:\/\/iteadstudio.com\/store\/index.php?main_page=index&amp;cPath=19_20\" target=\"_blank\">Iteadstudio&#8217;s PCB prototyping service<\/a>\u00a0for this, and I would say the PCBs turned out really well for the price I paid. I used their <a href=\"http:\/\/iteadstudio.com\/store\/index.php?main_page=product_info&amp;cPath=19_20&amp;products_id=173\" target=\"_blank\">2 layer 5cm x 5cm service<\/a> and got 10 PCBs for less than $15, including shipping to the United States.<\/p>\n<div id=\"attachment_4266\" style=\"width: 570px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/12\/BreadBoardTitle.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-4266\" class=\"size-full wp-image-4266\" title=\"BreadBoardTitle\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/12\/BreadBoardTitle.jpg\" alt=\"\" width=\"560\" height=\"373\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/12\/BreadBoardTitle.jpg 560w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/12\/BreadBoardTitle-550x366.jpg 550w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/a><p id=\"caption-attachment-4266\" class=\"wp-caption-text\">Mini breadboard module for 18-pin PIC microcontrollers<\/p><\/div>\n<p><!--more--><\/p>\n<p><strong>Component layout and circuit diagram<\/strong><\/p>\n<p>The PCB dimension is approximately 5.0 cm x 3.5 cm and has got the following components:<\/p>\n<ul>\n<li>18-pin DIP socket to hold an 18-pin PIC microcontroller<\/li>\n<li>3-pin Ceramic resonator (4.0 MHz)<\/li>\n<li>Two tact switches (6 mm x 6mm, 2-pin type like <a href=\"http:\/\/www.taydaelectronics.com\/servlet\/the-1663\/Tact-Switch-TACT-SWITCH\/Detail\" target=\"_blank\"><strong>this<\/strong><\/a>)<\/li>\n<li>2-pin dip switch<\/li>\n<li>4 resistors (two 10 K?, two 470 ?)<\/li>\n<li>1 capacitor (100 nF)<\/li>\n<li>2 LEDs<\/li>\n<li>5-pin ICSP header<\/li>\n<li>Header pins for Vcc, Gnd, PORTA, and PORTB pins<\/li>\n<\/ul>\n<p>The layout of these components on the PCB is shown below. There are two tact switches on the board: one for reset and other for user input. Similarly, there are two LEDs: one for power-on indicator and the other for user output. The input tact switch and the output LED can be connected to RB0 and RB1 pins respectively through a 2-pin dip switch. The switch and the LED are useful for a quick test of the board. The microcontroller clock is derived using an external ceramic resonator having 3 pins with built-in load capacitors. PORTA (RA0-RA4) and PORTB (RB0-RB7) pins of the microcontroller are accessible for experimenting through header pins (male, female, or right-angled). A 5-pin header is also available for ICSP programming through a PICkit2 or PICkit3.<\/p>\n<div id=\"attachment_4284\" style=\"width: 584px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/12\/CompLayout.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-4284\" class=\"size-full wp-image-4284\" title=\"CompLayout\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/12\/CompLayout.png\" alt=\"\" width=\"574\" height=\"471\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/12\/CompLayout.png 574w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/12\/CompLayout-550x451.png 550w\" sizes=\"auto, (max-width: 574px) 100vw, 574px\" \/><\/a><p id=\"caption-attachment-4284\" class=\"wp-caption-text\">Layout of the components on the board<\/p><\/div>\n<p>The circuit diagram of this breadboard module is provided below. It can also be constructed on a general purpose prototyping perforated circuit board just like my\u00a0<strong><a href=\"http:\/\/embedded-lab.com\/blog\/?p=1034\" target=\"_blank\">breadboard module for PIC16F628A<\/a>.<\/strong><\/p>\n<div id=\"attachment_4269\" style=\"width: 574px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/12\/CircuitDiagramSmall.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-4269\" class=\"size-full wp-image-4269\" title=\"CircuitDiagramSmall\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/12\/CircuitDiagramSmall.jpg\" alt=\"\" width=\"564\" height=\"400\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/12\/CircuitDiagramSmall.jpg 564w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/12\/CircuitDiagramSmall-550x390.jpg 550w\" sizes=\"auto, (max-width: 564px) 100vw, 564px\" \/><\/a><p id=\"caption-attachment-4269\" class=\"wp-caption-text\">Circuit diagram of the breadboard module<\/p><\/div>\n<p><strong>PCB design<\/strong><\/p>\n<p>I designed a two layer PCB for this project using the <a href=\"http:\/\/www.designspark.com\/theme\/designspark-pcb\" target=\"_blank\">DesignSpark PCB<\/a> design software, which is free and easy to use. It also lets you create Gerber files of your designed PCB. The top and bottom layer of the PCB are shown below. I have used a copper pour on the bottom layer to create a ground plane. It could be done for the top layer too.<\/p>\n<div id=\"attachment_4271\" style=\"width: 560px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/12\/PCB_Top.jpg\">\u00a0<img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-4271\" class=\"size-medium wp-image-4271\" title=\"PCB_Top\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/12\/PCB_Top-550x405.jpg\" alt=\"\" width=\"550\" height=\"405\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/12\/PCB_Top-550x405.jpg 550w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/12\/PCB_Top.jpg 800w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/a><p id=\"caption-attachment-4271\" class=\"wp-caption-text\">Top view of PCB<\/p><\/div>\n<div id=\"attachment_4270\" style=\"width: 560px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/12\/PCB_Bottom.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-4270\" class=\"size-medium wp-image-4270\" title=\"PCB_Bottom\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/12\/PCB_Bottom-550x410.jpg\" alt=\"\" width=\"550\" height=\"410\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/12\/PCB_Bottom-550x410.jpg 550w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/12\/PCB_Bottom.jpg 800w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/a><p id=\"caption-attachment-4270\" class=\"wp-caption-text\">Bottom view of PCB<\/p><\/div>\n<p>The assembled module of the project is shown below.<\/p>\n<div id=\"attachment_4263\" style=\"width: 560px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/12\/Board3.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-4263\" class=\"size-medium wp-image-4263\" title=\"Board3\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/12\/Board3-550x426.jpg\" alt=\"\" width=\"550\" height=\"426\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/12\/Board3-550x426.jpg 550w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/12\/Board3.jpg 800w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/a><p id=\"caption-attachment-4263\" class=\"wp-caption-text\">PCB with all components soldered<\/p><\/div>\n<div id=\"attachment_4265\" style=\"width: 560px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/12\/Board5.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-4265\" class=\"size-medium wp-image-4265\" title=\"Board5\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/12\/Board5-550x367.jpg\" alt=\"\" width=\"550\" height=\"367\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/12\/Board5-550x367.jpg 550w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/12\/Board5.jpg 800w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/a><p id=\"caption-attachment-4265\" class=\"wp-caption-text\">Module can be easily plugged into a breadboard<\/p><\/div>\n<p>Right-angled male header pins can also be used for accessing I\/O port pins so that it can be plugged straight on one side of the breadboard (shown below).<\/p>\n<div id=\"attachment_4295\" style=\"width: 570px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/12\/RtAngledHeader1.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-4295\" class=\"size-full wp-image-4295\" title=\"RtAngledHeader1\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/12\/RtAngledHeader1.jpg\" alt=\"\" width=\"560\" height=\"420\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/12\/RtAngledHeader1.jpg 560w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/12\/RtAngledHeader1-550x412.jpg 550w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/a><p id=\"caption-attachment-4295\" class=\"wp-caption-text\">Board can also have right angled headers<\/p><\/div>\n<div id=\"attachment_4290\" style=\"width: 570px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/12\/TestProgram.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-4290\" class=\"size-full wp-image-4290\" title=\"TestProgram\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/12\/TestProgram.jpg\" alt=\"\" width=\"560\" height=\"387\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/12\/TestProgram.jpg 560w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/12\/TestProgram-550x380.jpg 550w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/a><p id=\"caption-attachment-4290\" class=\"wp-caption-text\">Running a test program (flashing LED) on the board<\/p><\/div>\n<p>At last, I have got a few of these PCBs as extra. If you are interested to get one, contact me at <em>admin (at) embedded-lab.com<\/em>. It will be $4.50 (through Paypal) for one PCB and that will include shipping within the United States through USPS. Sorry, I won&#8217;t be able to ship it outside the US.<\/p>\n<p><span style=\"color: #800000;\">Update: Sorry, all the PCBs are gone!<\/span><\/p>\n<p><a href=\"http:\/\/embedded-lab.com\/uploads\/gerbers\/PICModule.zip\">Download Gerber files of the PCB design<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Because of their compact size, ease of use and many built-in peripherals, the 18-pin PIC16F series processors (PIC16F628A, PIC16F88, and now PIC16F1827\/47) have always been my favorite microcontrollers. Many of my projects and tutorials written in this blog also use PIC16F628A and PIC16F1827 microcontrollers. As I will be using them more in the future too, I thought of making some PCB versions of my breadboard module for PIC16F628A with some modifications.\u00a0I used Iteadstudio&#8217;s PCB prototyping service\u00a0for this, and I would say the PCBs turned out really well for the price I paid. I used their 2 layer 5cm x 5cm<\/p>\n","protected":false},"author":1,"featured_media":4261,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[245,367,4],"tags":[389,132,24,285],"class_list":["post-4260","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-embedded-lab-projects","category-mcu-develeopment-tools","category-pic-projects","tag-18-pin-pic-board","tag-pic-board","tag-pic-development-board","tag-pic16f1827"],"_links":{"self":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/4260","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/comments?post=4260"}],"version-history":[{"count":26,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/4260\/revisions"}],"predecessor-version":[{"id":5701,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/4260\/revisions\/5701"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/media\/4261"}],"wp:attachment":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/media?parent=4260"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/categories?post=4260"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/tags?post=4260"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}