Breadboard module for 18-pin PIC16F microcontrollers (PCB version)

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. I used Iteadstudio’s PCB prototyping service for this, and I would say the PCBs turned out really well for the price I paid. I used their 2 layer 5cm x 5cm service and got 10 PCBs for less than $15, including shipping to the United States.


Component layout and circuit diagram

The PCB dimension is approximately 5.0 cm x 3.5 cm and has got the following components:

  • 18-pin DIP socket to hold an 18-pin PIC microcontroller
  • 3-pin Ceramic resonator (4.0 MHz)
  • Two tact switches (6 mm x 6mm, 2-pin type like this)
  • 2-pin dip switch
  • 4 resistors (two 10 KΩ, two 470 Ω)
  • 1 capacitor (100 nF)
  • 2 LEDs
  • 5-pin ICSP header
  • Header pins for Vcc, Gnd, PORTA, and PORTB pins

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.

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 breadboard module for PIC16F628A.

PCB design

I designed a two layer PCB for this project using the DesignSpark PCB 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.


For more detail: Breadboard module for 18-pin PIC16F microcontrollers (PCB version)

About The Author

Ibrar Ayyub

I am an experienced technical writer with a Master's degree in computer science from BZU Multan University. I have written for various industries, mainly home automation, and engineering. I have a clear and simple writing style and am skilled in using infographics and diagrams. I am a great researcher and is able to present information in a well-organized and logical manner.

Follow Us: