Tools & Downloads   /   Programmers & ICSP   /   PIC16F877A

Minty JDM PIC Programmer using PIC18F4550 microcontroller

Minty JDM PIC Programmer This project details how to build a JDM style programmer to program PIC Microcontrollers using Microchip's ICSP (In Circuit Serial...

Published
Updated

At a glance

CategoryProgrammers & ICSP
PIC modelPIC16F877A, PIC18F4550
Reading time~4 min
Jump to a section
  1. Minty JDM PIC Programmer
  2. Step 1
  3. Parts and Tools
  4. Step 2
  5. Layout
  6. Step 3
  7. Schematic
  8. Step 4
  9. Soldering
  10. Quick Solutions to Questions related to the Minty JDM PIC Programmer:
  11. Related projects

Summary of Minty JDM PIC Programmer using PIC18F4550 microcontroller

This project shows how to build a low-cost Minty JDM PIC programmer that uses a PC serial port and Microchip ICSP to program PIC microcontrollers with freeware PICPgm. It includes a compact layout inside a mint tin, uses serial-port-derived power, and has been tested with PIC16F877 and PIC18F4550. The guide covers parts, layout, schematic, wiring ICSP pins, soldering, and notes that some USB-to-serial adapters may not supply adequate voltage.

Parts used in the Minty JDM PIC Programmer:

  • DB9 Female Serial port connector with at least a 5-wire cable attached
  • Cable with 5 wires and a connector to connect to PIC circuit (e.g., old mouse cable)
  • 1.5K Ohm resistor
  • 10K Ohm resistor
  • 1N4148 diodes (4)
  • 8.2V Zener diode
  • 5.1V Zener diode
  • BC547 transistors (2)
  • 22uF Tantalum capacitor
  • 100uF Electrolytic capacitor
  • Small prototype board
  • Small mint tin (or enclosure)
  • Small gauge wire for connections

Minty JDM PIC Programmer

This project details how to build a JDM style programmer to program PIC Microcontrollers using Microchip's ICSP (In Circuit Serial Programming) and freeware software (PICPgm).  Total project cost: less than $10.  This device has been tested on both the PIC16F877 and PIC18F4550.  Check the PICPgm website to see compatibility with other PIC microcontrollers.

Minty JDM PIC Programmer
Minty JDM PIC Programmer

I used information from http://www.olimex.com/dev/images/PIC/PIC-USB-4550-sch.gif and Ian's excellent instructible http://www.instructables.com/id/Business-Card-PIC-Programmer/ to complete this project.

Step 1

Parts and Tools

Most of these parts are fairly common and can be found at Digikey, All Electonics, or Radio Shack:

(1) DB9 Female Serial port connector w/ at least a 5 wire cable attached  (Connector was $4.50)
(1) Cable with 5 wires and a connector to connect to PIC circuit (I used an old mouse cable)
(1) 1.5K Ohm Resistor                        ($0.14 ea)
(1) 10K Ohm Resistor                         ($0.14 ea)
(4) 1N4148 Diodes                              ($0.18 ea)
(1) 8.2V Zener Diode                           ($0.32 ea)
(1) 5.1V Zener Diode                           ($0.27ea)
(2) BC547 Transistors                        ($0.41 ea)
(1) 22uF Tantalum Capacitor            ($0.32 ea)
(1) 100uF Electrolytic Capacitor        ($0.27 ea)
(1) Small Prototype Board                 ($1.99 ea)
(1) Small Mint Tin                                (Had one laying around)
Some small guage wire for connections

Tools required:
- Soldering Iron and Solder
- Wire Strippers
- Multimeter (for checking connections)

Step 2

Layout

I chose to layout my components in a straight line and make the connections on the back side of the board.  Take a look at the schematic on the next step if you wish to have a different layout.  If you use this layout, MAKE SURE YOU GET THE DIODES, CAPS, AND TRANSISTORS PLACED PROPERLY!  Notice that the last diode is placed opposite of the others.  Make sure you have the capacitors oriented to connect the negative lead to ICSP pin #3.

Step 3

Schematic

Minty JDM PIC Programmer Schematic
Minty JDM PIC Programmer Schematic

Here is the schematic for circuit.  The circuit uses power from the serial port to power the PIC microcontroller during programming.  Some USB to Serial converters do not work with this circuit because of the voltage needed on the PIC's mclr pin.  This circuit works best with on board ports or serial cards.  For the ICSP pins, they are connected to the microcontroller as follows:
1.  MCLR Pin
2.  VDD Pin(s)
3.  VSS Pin(s)
4.  PGC Clock Pin
5.  PGD Data Pin

Step 4

Soldering

Once the components are in place, solder the pins together as directed by the schematic in the previous step.  Use wire to jumper points together as needed.  I tested all connections a couple times with the multimeter to make sure that everything was connected properly and that points weren't shorted together.  I've attached a schematic to this step that is a mirrored version of the original, it comes in handy when soldering and testing the connections.  It shows the view of the circuit as seen from the solder side.

For more detail: Minty JDM PIC Programmer using PIC18F4550 microcontroller

 

  • What is the total project cost?
    Less than $10 according to the article.
  • Which PIC microcontrollers has this device been tested on?
    It has been tested on PIC16F877 and PIC18F4550.
  • What software is used to program PICs with this device?
    The freeware PICPgm software is used.
  • How does the circuit power the PIC during programming?
    The circuit uses power from the serial port to power the PIC microcontroller during programming.
  • Will USB to serial converters always work with this circuit?
    No, some USB to Serial converters do not work because of the voltage needed on the PIC's mclr pin; on-board ports or serial cards work best.
  • How are the ICSP pins connected to the microcontroller?
    ICSP pin mapping: 1 MCLR, 2 VDD, 3 VSS, 4 PGC clock, 5 PGD data.
  • What tools are required to build this project?
    Soldering iron and solder, wire strippers, and a multimeter for checking connections.
  • Are component orientations important during assembly?
    Yes; diodes, capacitors, and transistors must be placed correctly, and the last diode is oriented opposite the others.
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...

Beginner Tutorials · PIC18F4550

PICDEM FS USB CDC Evaluation Board using PIC18F4550 with Proteus Simulation

Introduction The PICDEM FS USB CDC Evaluation Board is a practical microcontroller project built around the PIC18F4550, designed to demonstrate USB communication...

Peripheral Tutorials · PIC18F4550

PICDEM FS USB Mass Storage Device using PIC18F4550 with Proteus Simulation

Introduction This microcontroller project demonstrates how to simulate a USB Mass Storage Device (MSD) using the PIC18F4550 in a Proteus simulation environment....

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