Top Banner
BY SUHAS KAUSHIK D S NISHANTH VASHIST SHREYANK P Guide : Sr.Lect RAVIKANT G BIRADAR
13
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: picprog

BY SUHAS KAUSHIK D S NISHANTH VASHIST SHREYANK P

Guide : Sr.Lect RAVIKANT G BIRADAR

Page 2: picprog

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

Page 3: picprog

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

Page 4: picprog

BUILDING PIC PROGRAMMER

PC Programmer PIC(In Circuit)

BLOCK DIAGRAM

Page 5: picprog

Based on PC interface usedi) Serial programmers ii)Parallel

programmers iii)USB programmers

Based on system programmingi) In Circuit Serial Programming (ICSP)ii) Out Circuit Serial Programming (OCSP)

BUILDING PIC PROGRAMMER

Page 6: picprog

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

Page 7: picprog

BUILDING PIC PROGRAMMER

PARALLEL PORT RS232 IC DM7407N

Page 8: picprog

BUILDING PIC PROGRAMMER

Page 9: picprog

Programming voltage of 11.5V-13V

Voltage of 5V for PIC microcontroller and IC DM7407N’s working

BUILDING PIC PROGRAMMER

Page 10: picprog

BUILDING PIC PROGRAMMER

+5V POWER SUPPLY+11.5V POWER SUPPLY

The equation for the LM317 is: Vo = 1.25 * (1+R6/R5)Vo = 1.25 * (1+10k/1k2) = 11.66V

The output of IC7805 is 5V which is used to power ICDM7407N and PIC

Page 11: picprog

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

Page 12: picprog

Can’t be used with laptops as its output power may not be good enough to operate the programmer

It is slow compared to the USB programmers

BUILDING PIC PROGRAMMER

Page 13: picprog

BUILDING PIC PROGRAMMER

THANK YOU