It is a circuit which interfaces the PC to the microcontroller using the PC's parallel, serial or USB port. It can write data to the microcontroller and read it back for verification. Translates digital logic levels from the PC to suitable logic levels for the microcontroller.
BUILDING PIC PROGRAMMER
They generate a serial data stream using two signal lines clock and data.
Takes the hex file generated from your
compiler translating it into a serial data stream.
After all the data is sent, acknowledgement is
sent by PIC.
BUILDING PIC PROGRAMMER
BLOCK DIAGRAM
PIC PC Programmer (In Circuit)
BUILDING PIC PROGRAMMER
Based on PC interface used i) Serial programmers ii)Parallel programmers iii)USB programmers
Based on system programming
i) In Circuit Serial Programming (ICSP) ii) Out Circuit Serial Programming (OCSP)
BUILDING PIC PROGRAMMER
Set of connections that let you program the PIC while it is in your circuit i.e. no need to remove the chip just program it. Only 5 connections between PIC and programmer i) VPP - Programming voltage (usually 13V). ii) VDD - POWER (usually 5V). iii) VSS - GROUND. iv) PGD - DATA usual port and connection RB7. v) PGC - CLOCK usual port and connection RB6.
BUILDING PIC PROGRAMMER
PARALLEL PORT RS232 IC DM7407N
BUILDING PIC PROGRAMMER
BUILDING PIC PROGRAMMER Programming voltage of 11.5V-13V
Voltage of 5V for PIC microcontroller and IC
DM7407N’s working
BUILDING PIC PROGRAMMER
+11.5V POWER SUPPLY +5V POWER SUPPLY
The output of IC7805 is
The equation for the LM317 is: 5V which is used to Vo = 1.25 * (1+R6/R5) power ICDM7407N and Vo = 1.25 * (1+10k/1k2) = 11.66V PIC
BUILDING PIC PROGRAMMER
MIkRO C-To write the program which has to be performed by the PIC
EPICWIN-to convert the program written in C to hex
file.
BUILDING PIC PROGRAMMER
Can’t be used with laptops as its output power may not be good enough to operate the programmer