Tools & Downloads   /   Programmers & ICSP   /   PIC16F877A

Building the Inchworm ICD2 PIC Programmer / Debugger using PIC16F877

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

Published
Updated

At a glance

CategoryProgrammers & ICSP
PIC modelPIC16F877A
IncludesCircuit diagram
Reading time~2 min
Jump to a section
  1. Preparing the PCB
  2. Solder all the "low profile" parts
  3. Quick Solutions to Questions related to Inchworm ICD2 PIC Programmer / Debugger:
  4. Related projects

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

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)

For more detail: Building the Inchworm ICD2 PIC Programmer / Debugger using PIC16F877
  • 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.
Beginner Tutorials · PIC16F877A

PIC16F877 Driving LCD in 4-Bit Mode using PIC16F877 with Proteus Simulation

Introduction This microcontroller project shows how a PIC16F877 can drive an LCD display using 4-bit mode inside a Proteus simulation.The project demonstrates...

Programmers & ICSP · PIC16F877A

EPE PIC/LCD Demo using PIC16F877 with Proteus Simulation

IntroductionThe EPE PIC/LCD Demo is a classic microcontroller project that demonstrates how a PIC16F877 can fully control a PG12864F graphical LCD.Designed as...

Motors & Robotics · PIC16F877A

Efficient Sun-Following Robot: A Solar Tracker with Microcontroller Control

Abstract The impending global challenge of dwindling non-renewable fuel resources underscores the urgency of transitioning towards renewable energy alternatives like solar power....

Programmers & ICSP

Calculator Test using PIC24FJ64GA006 with Proteus Simulation

Introduction The Calculator Test using EASYHDL is a practical microcontroller project built on the PIC24FJ64GA006 and simulated in Proteus. This project demonstrates...

Programmers & ICSP

PID Controlled Oven using TMS320F28027PT with Proteus Simulation

IntroductionThis project demonstrates a PID controlled oven implemented using a PICCOLO TMS320F28027PT microcontroller and verified through Proteus simulation.It is a practical microcontroller...

Programmers & ICSP

PICCOLO Motor Controller Sample Design using TMS320F28023PT with Proteus Simulation

IntroductionThis project demonstrates a PICCOLO motor controller sample design implemented using the TMS320F28023PT Piccolo microcontroller and tested through Proteus simulation. It focuses...

Ibrar Ayyub

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...