Friday, August 13, 2021

ICSP Board for 8-bit PIC Microcontroller

 

Introduction

A device programmer is needed at the time of physical hardware prototyping. Popular PIC microcontroller programmer is a low cost PICKIT2 programmer/debugger. 

 

A 3D Sample of This design

Typically a microcontroller must be burned using a programmer before it’s placed on breadboard. Hence we need a In-Circuit Serial Programming (ICSP) adapter board for safety and time saving intention. 

ICSP Board for 8-bit PIC Microcontroller
Breadboard prototyping

The picture above is a PIC16F818 physical hardware prototyping on breadboard. I needed to program PIC16F818 using an ICSP board before this circuit is assembled on breadboard.

Schematic and PCB Design

I designed and fabricated this printed circuit project by myself. Both schematic and Printed Circuit Board (PCB) design was done using Proteus VSM version 8.

Schematic

Schematic design for this PCB made of a little counts of component. There are two Universal ZIF socket to fit any PIC microcontroller with more than 14 pin counts. Another 8-pin IC socket is placed to fit any 8-pin PIC microcontroller. A six-pin ICSP header is a connection between this board and PICKIT2 device programmer. However this header contain only five active signal of its six signals.



ICSP Board for 8-bit PIC Microcontroller
Schematic diagram for PICKIT2 ICSP Adapter

I used two-row connector to denote IC sockets in schematic.

PCB Design

Schematic and PCB design tools are integrated in one IDE of Proteus VSM 8. I placed and routed all on-board components as follow.

ICSP Board for 8-bit PIC Microcontroller
Board view of this design

It seems to exist two layer of copper track of this PCB. However the top (red) track can be replace by wire jumpers, making it to become a single sided PCB.

ICSP Board for 8-bit PIC Microcontroller
3D View of This Design

We can fabricate this printed circuit using a simple toner-transfer-method by hand.



ICSP Board for 8-bit PIC Microcontroller
Top Copper Layer


ICSP Board for 8-bit PIC Microcontroller
Components (Silk Screen) Layer

ICSP Board for 8-bit PIC Microcontroller
Bottom Copper Layer

Circuit Board Fabrication

Now it’s a few years that I fabricated this PCB by hands. Circuit board was made by toner-transfer-method. Bottom copper side and top silk of component legend was made by photo-resist solder mask.

ICSP Board for 8-bit PIC Microcontroller
Copper soldering side of this PCB

 

Top layer consisted of some old components that I could not show them here.



Result

I have been using this adapter a few years now. It fits most of 8-bit PIC micro-devices. Programmer software I have been using is a DIY PICKIT2 programmer/debugger in clone version I made.

ICSP Board for 8-bit PIC Microcontroller
PICKIT2 device ICSP programming for this adapter

I have tested this adapter with all of PICMicro devices I have in stock.

  • 40-pin devices: PIC18F4550, PIC18F452, PIC18F4431, PIC16F887, PIC16F917, PIC16F877A, etc.
  • 28-pin device: PIC18F2550, PIC16F886, PIC16F876A, etc.
  • 18-pin devices: PIC18F1220, PIC16F1827, PIC16F716, PIC16F628A, PIC16F818/819, PIC16F84A, etc.
  • 8-pin devices: PIC12F629, PIC12F675, PIC12F615, PIC12F635, etc.

I hope it works for all 8-bit PIC micro controllers in DIP package.

 

No comments:

Post a Comment

Labels

ADC (10) Analog (14) Arduino (12) Atmega16 (19) Audio (2) AVR (20) Charger (1) Cortex-M0 (1) Counter (10) CPLD (25) Digital I/O (22) Display (34) EEPROM (2) Environment Sensor (1) esp8266 (2) Experiment Board (10) I2C (4) Interrupt (7) LCD (1) LDmicro (29) measurement and instrumentation (7) Microchip Studio (3) MikroC (1) One-Shot (3) OpAmp (1) PCB (31) PIC16 Microcontrollers (16) PIC16F877A (2) PIC16F887 MikroC (22) PLC (35) PWM (11) Regulator (1) RTC (2) Sensor (8) Shift Registers (5) SPI (5) Timer (34) UART (2) ultra-sonic sensor (1) USB (1) VHDL (21) xc8 (1) XC95108 (9) XC9536 (15) XC9572 (1) Xilinx (23) Xilinx ISE (22)