Building the Inchworm ICD2 PIC Programmer / Debugger using PIC16F877

Summary of Building the Inchworm ICD2 PIC Programmer / Debugger using PIC16F877


This article guides users through assembling the Inchworm, an ICD2 clone programmer and debugger compatible with MPLAB. It emphasizes washing the PCB before assembly and soldering low-profile components first. The guide details installing specific resistors (5% tan and 1% blue) and diodes, stressing correct orientation based on cathode bands. A battery-powered variant uses Schottky diodes instead of standard ones.

Parts used in the Inchworm ICD2 PIC Programmer / Debugger:

  • Circuit board
  • Mild detergent
  • Low profile parts
  • Tan 5% tolerance resistors
  • Blue 1% metal film resistors
  • Small glass diodes (1N4148 or 1N914)
  • Larger power diodes (1N5817 Schottky or 1N4001)
  • Battery for power

Building the Inchworm ICD2 PIC Programmer / Debugger
This instructable is an illustrated walk through building an ICD2 clone called the Inchworm.

It’s a straight forward kit that lets you build an MPLAB ICD2 compatible Programmer and Debugger.

There are lots of Programmers out there but very few include a debugger, (A debugger lets you single step through your program and set watch lists (see your variables) and much more).

The full manual including schematic and notes can be found at blueroomelectronics

ICD2 PIC Programmer

Preparing the PCB

Wash the circuit board in a mild detergent and thoroughly dry before assembly.

Solder all the “low profile” parts

Here I’ve soldered and trimmed the leads of all the low profile parts. When building a PCB it’s often easiest to assemble the small parts first. This method gives you more room to work when adding the taller parts.

Add the resistors first, noting the tan resistors are the common 5% tolerance versions and the blue resistors are 1% metal film types.

Now install the diodes, both the smaller glass diodes and the larger power diodes require you to pay attention to the colored band on the cathode of all diodes. Failure to install the diodes in the correct orientation will keep the Inchworm or any electronic project from functioning properly.
Schematic ICD2 PIC Programmer
Note: I’m building a battery powered version for demos, the power diodes I used are low dropout Schottky 1N5817 types instead of the more common 1N4001 diodes. The six small glass diodes are common 1N4148 types (you can also use 1N914)

Quick Solutions to Questions related to Inchworm ICD2 PIC Programmer / Debugger:

  • What is the Inchworm?
    It is a kit that builds an MPLAB ICD2 compatible Programmer and Debugger.
  • How should the circuit board be prepared?
    Wash it in mild detergent and thoroughly dry before assembly.
  • Which parts should be assembled first?
    Assemble the small low profile parts first to leave room for taller components.
  • What distinguishes the two resistor types mentioned?
    Tan resistors are 5% tolerance while blue resistors are 1% metal film types.
  • Why is diode orientation critical?
    Installing diodes incorrectly will prevent the project from functioning properly.
  • What diodes are used for a battery powered version?
    Low dropout Schottky 1N5817 types are used instead of common 1N4001 diodes.

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter