You are on page 1of 44

mikroProg

mikroProg is a fast USB programmer with mikroICD hardware In-Circuit Debugger support. Smart engineering allows mikroProg to support PIC10, PIC12, PIC16, PIC18, dsPIC30/33, PIC24 and PIC32 devices in a single programmer!

for PIC

TO OUR VALUED CUSTOMERS


I want to express my thanks to you for being interested in our products and for having confidence in MikroElektronika. The primary aim of our company is to design and produce high quality electronic products and to constantly improve the performance thereof in order to better suit your needs.

Nebojsa Matic General Manager


The Microchip, Atmel, NXP, CYPRESS and Windows name, logo and products names are trademarks of Microchip, Atmel, NXP, CYPRESS and Windows Inc. in the U.S.A. and other countries.

Table of Contents
Introduction to mikroProg for PIC Key features 1. Driver installation step 1 Start installation step 2 Accept EULA step 3 Installing the drivers step 4 Finish installation 2. Connecting to a PC 3. mikroProg Suite for PIC software 4. Powering device via mikroProg 5. Connecting with a target device 6. IDC10 Pinout 7. Connection examples Using 1x5 male headers Using 2x5 male headers 8. Multiplexer Multiplexer in operating mode 9. Connection schematic examples 4 5 6 7 7 8 8 9 10 11 12 13 14 14 15 16 17 18 Connection examples - PIC PIC DIP8 PIC DIP14 PIC DIP18 PIC DIP20 PIC DIP28 PIC DIP40 PIC TQFP 64 PIC TQFP 80 Connection examples - PIC18FJ PIC18FJ DIP28 PIC18FJ QFN28 PIC18FJ DIP40 PIC18FJ TQFP44 PIC18FJ QFN44 PIC18FJ TQFP64 PIC18FJ TQFP80 PIC18FJ TQFP100 Connection examples - dsPIC 19 19 19 20 20 21 21 22 23 24 24 24 25 26 26 27 28 29 30 dsPIC DIP18 dsPIC TQFP44 dsPIC DIP28 dsPIC DIP40 dsPIC TQFP64 dsPIC TQFP80 Connection examples - PIC24 PIC24 DIP18 PIC24 DIP20 PIC24 DIP28 PIC24 TQFP44 PIC24 TQFP64 PIC24 TQFP80 PIC24 TQFP100 PIC24 TQFP100 Connection examples - PIC32 PIC32 TQFP64 PIC32 TQFP100 30 30 31 31 32 33 34 34 34 35 35 36 37 38 39 40 40 41

Multiplexer in programming mode 17

Page 3

Introduction to mikroProg for PIC

mikroProg for PIC represents fast and reliable programmer with ICD support. Specially designed firmware allows programming of all Microchip microcontrollers: PIC, dsPIC and PIC32. And theres no need for the firmware update each time you select a new microcontroller architecture. With mikroProg, single firmware takes care of all supported architectures. Supporting new microcontrollers is easy. Just by downloading the latest version of mikroProg Suite your programmer is ready to program new devices.
Page 4

Key features
- In-Circuit Debugging (ICD). - Unique firmware for PIC, dsPIC and PIC32 microcontrollers - No need for firmware update - New microcontrollers support via latest version of mikroProg Suite for PIC software - Power supply for target device

01 04 05 06

02

03

01 Flat cable 02 USB MINIB connector 03 IDC10 connector 04 DATA transfer indication LED 05 ACTIVE indication LED 06 LINK indication LED 07 POWER indication LED

07

Page 5

1. Driver installation
To install drivers for mikroProg for PIC go to download section on MikroElektronika website or follow link below.

http://www.mikroe.com/eng/downloads/get/1202/ mikroprog_for_pic_drivers_v200.zip

After download is complete extract files and begin installation: Folder with extracted files contains folders with drivers for different operating systems. Depending on which operating system is in use chose adequate folder and open it. Under opened folder is located setup file for driver installation. Double click on setup file and begin installation.

Page 6

step 1 Start installation

step 2 Accept EULA

01 01 02

01 In welcome screen click on Next> button

01 In order to proceed select: I accept the this EULA (End User License Agreement) 02 Click Next> button
Page 7

step 3 Installing the drivers

step 4 Finish installation

01

01

01 Drivers are installed automatically

01 Click on Finish button to end installation process

Page 8

2. Connecting to a PC
In order to use mikroProg for PIC connect it with a PC via USB cable, Figure 2-1.

Figure 2-1: Connecting USB MINIB cable

When connection is established green POWER LED will turn ON. Amber-colored LINK LED will turn ON when link between mikroProg and PC is established. Link can be established only when correct drivers are installed on your PC.
Page 9

3. mikroProg Suite for PIC software


Program mikroProg Suite for PIC is intended for programming PIC, dsPIC and PIC32 microcontrollers from Microchip. The graphic interface of this program is clear and easy-to-use, which makes the use of this program faster. The programs main window includes basic options for programming microcontrollers. In addition, there are advanced programming options that enable experienced users to set configuration bits on their own. The program includes views providing basic information about the selected MCU, voltage monitoring, etc.

Page 10

4. Powering device via mikroProg


One of key benefits on mikroProg is power supply mode which can be activated from mikroProg Suite for PIC software. Under mikroProg Suite for PIC window (MCU INFO button) you can set power supply voltage in range from 1.8V to 5V with output current up to 250mA. When you select MCU family under mikroProg Suite for PIC window, mikroProg will automatically detect which MCU is in use and it will set maximum power supply which can be used. Voltage supply value can be set by moving slider under mikroProg Suite for PIC window, Figure 4-1. To enable power supply, first set desired voltage and then click on check box Power board from programmer. 02

01

03

Figure 4-1: Voltage options 01 Setting supply voltage value from 1.8 to 5V (max 250mA) 02 Check box for enabling supply voltage from programmer 03 Box with selected supply voltage

Page 11

5. Connecting with a target device


For connection with a target device mikroProg for PIC uses IDC10 connector, Figure 5-1. In order to make proper connection with the target board it is necessary to pay attention to IDC10 connector pinout. Every pin has a different purpose and for easy orientation IDC10 connector is marked with a little knob and incision, Figure 5- 2. First pin on IDC10 is marked with colored wire on a flat cable.

Figure 5-2: Knob and incision for easy orientation

First pin

Figure 5-1: IDC10 connector

Front side of IDC10 connector is marked with a knob and incision. Front side holds PGC, PGD and MCLR pins which are used for microcontroller programming.

Page 12

6. IDC10 Pinout
01 MCU-VCC (colored wire) - MCU power supply 03 MCU-PGC - Serial programming clock 05 MCU-PGD - ICSP data 07 MCU-MCLR - Master clear/Programming voltage 09 GND - Ground 07 05 02 VCC 04 PGC 06 PGD 08 MCLR 10 GND Figure 6-1: IDC10 pinout These pins are used for multiplexing (see section 8.0 for more information) 03 01 09 10 08 06 04 02

Page 13

7. Connection examples
For connecting mikroProg with your target device a best solution is to provide 1x5 or 2x5 male headers which are connected with programing pins on microcontroller. When soldering header make sure that to use correct pinout for IDC10 connector.

Figure 7-1: Use only front row for programming

Using 1x5 male headers


When connecting mikroProg with your device via 1x5 header make sure to use front side of IDC10 connector (side with a knob and incision), Figure 7-2. For example, if you use some of Mikroelektronikas products you may notice a clear markings for mikroProg IDC10 connector header, Figure 7-2.

Figure 7-2: Connecting mikroProg to SmartGLCD 128x240 via 1x5 male header
Page 14

Using 2x5 male headers


Instead of 1x5 male header you can use 2x5 male header. Main difference is that via 2x5 male connector you can use multiplexing feature of mikroProg for PIC (explained in section 8.0).

Figure 7-3: Use entire IDC10 connector for multiplexing feature

Figure 7-4: Connecting mikroProg with Ready for PIC via 2x5 male header
Page 15

8. Multiplexer
Multiplexer is specially designed circuit which serves as a switch. Purpose of multiplexer is that theres no need for disconnecting mikroProg programmer from a device when programming is over. Multiplexing is always available, but can only be used with 2x5 male header on target board as shown on Figure 8-1. Multiplexer allows the usage of programmable pins as I/O, in non-programming mode.

While pins on MCU are separated from rest of the circuit they can not be used as I/O. By connecting mikroProg to the device programming is enabled and due to multiplexer when programming is finished programmable pins can be used as I/O without mikroProg removal, Figure 8-2.

MCU-VCC

VCC

MCU-VCC

VCC
PGC-RB6 PGD-RB7 MCLR

VCC-MCU

MCLR RA0 RA1 RA2 RA3 RA4 RA5 RE0 RE1 RE2 VCC GND OSC1 OSC2 RC0 RC1 RC2 RC3 RD0 RD1 DIP40

RB7 RB6 RB5 RB4 RB3 RB2 RB1 RB0 VCC GND RD7 RD6 RD5 RD4 RC7 RC6 RC5 RC4 RD3 RD2

MCU-PGC MCU-PGD MCU-MCLR

VCC-MCU

VCC-MCU
R R R

MCLR RA0 RA1 RA2 RA3 RA4 RA5 RE0 RE1 RE2 VCC GND OSC1 OSC2 RC0 RC1 RC2 RC3 RD0 RD1 DIP40

RB7 RB6 RB5 RB4 RB3 RB2 RB1 RB0 VCC GND RD7 RD6 RD5 RD4 RC7 RC6 RC5 RC4 RD3 RD2

MCU-PGC MCU-PGD MCU-MCLR

PGC-RB6

PGD-RB7

PIC16F887

VCC-MCU
R R R

Figure 8-2: mikroProg is connected with target board and multiplexing is enabled

PIC16F887

Figure 8-1: By placing 2x5 header programmable pins on MCU will be separated from rest of the circuit

MCU-VCC

VCC
PGC-RB6 PGD-RB7 MCLR

MCLR RA0 RA1 RA2 RA3 RA4 RA5 Page 16

RB7 RB6 RB5 RB4 RB3 RB2 RB1

MCU-PGC MCU-PGD MCU-MCLR

Figure 8-3: When mikroProg is removed place jumpers over 2x5 male header in order to use programmable pins as I/O

PIC

Multiplexer in programming mode


During programming, the multiplexer disconnects the microcontroller pins used for programming from the target device. This enables the programming process to be safely performed without affecting the operation of the device itself. It also prevents external signals from affecting the programming process. When the programming process has been completed, the multiplexer releases the microcontroller pins used for programming so that they can be used as I/O pins.

mikroProg for PIC


Multiplexer
MCU-PGD MCU-PGC MCLR PGD PGC MCLR PROG VCC DD+ GND

USB

DATA

MCU-VCC

VCC

MCU-VCC
MCU-PGC MCU-PGD MCU-MCLR

VCC
PGC-RB6 PGD-RB7 MCLR

Figure 8-4: The multiplexer in the programming mode

IDC10 connector

Multiplexer in operating mode


When the programming process has been completed, the multiplexer releases the microcontroller pins used for programming, thus enabling them to be used as I/O pins. This also enables the programmer to remain connected to the target device without affecting its operation.

mikroProg for PIC


Multiplexer
MCU-PGD MCU-PGC MCLR PGD PGC MCLR VCC DD+ GND

PROG

USB

DATA

MCU-VCC

VCC

MCU-VCC
MCU-PGC MCU-PGD MCU-MCLR

VCC
PGC-RB6 PGD-RB7 MCLR

Figure 8-5: The multiplexer in the operating mode

IDC10 connector

Page 17

es 9. Connection schematic exampl


Following examples demonstrate connections with some of the most popular supported MCUs. For all other MCUs consult manufacturers datasheet. All PIC, dsPIC and PIC32 MCUs use PGC, PGD and MCLR/Vpp pins for programming. Some MCUs have several groups of programming pins. For example dsPIC33FJ128GP710A has three pairs of programmable pins PGED1-PGEC1, PGED2-PGEC2 or PGED3-PGEC3 (MCLR/Vpp pin is same for all pin groups). Which ever group of programming pins you decide to use, make sure to connect each pin properly.

PGC - Serial programming clock PGD - ICSP data MCLR/Vpp - Master clear/Programming voltage Also it is necessary to attach power supply to microcontroller VCC and GND pins.
Page 18

NC VCC GP2 GP1

GP3 GND NC GP0

MCU-GP1/PGC MCU-GP0/PGD MCU-GP3/MCLR

PGC-GP1 PGD-GP0 MCLR

USER INTERFACE

8 PIN

On-board 2x5 male connector

Figure 9-1: Connection schematic for 8-pin DIP MCU via 2x5 male header

100nF 1K

MCU-VCC

VCC
PGC-RA1 PGD-RA0 MCLR

VCC RA5 RA4 RA3 RC5 RC4 RC3

GND RA0 RA1 RA2 RC0 RC1 RC2

MCU-RA1/PGC MCU-RA0/PGD MCU-RA3/MCLR

USER INTERFACE

PIC DIP14
Figure 9-2: Connection schematic for 14-pin DIP MCU via 2x5 male header

On-board 2x5 male connector

14 PIN

Page 19

Connection examples - PIC

100nF

MCU-VCC

VCC

PIC DIP8

PIC10F200 PIC16F676

1K

100nF

MCU-VCC

VCC
PGC-RB6 PGD-RB7 MCLR

Connection examples - PIC

RA2 RA3 RA4


MCLR

RA1 RA0
OSC1 OSC2

MCU-RB6/PGC MCU-RB7/PGD MCU-MCLR

USER INTERFACE

PIC DIP18
Figure 9-3: Connection schematic for 18-pin DIP MCU via 2x5 male header

PIC16F1220

GND RB0 RB1 RB2 RB3

VCC RB7 RB6 RB5 RB4

On-board 2x5 male connector

18 PIN

1K

100nF

MCU-VCC

VCC
PGC-RA1 PGD-RA0 MCLR

VCC
OSC1 OSC2 MCLR

RC5 RC4 RC3 RC6 RC7 RB7

GND RA0 RA1 RA2 RC0 RC1 RC2 RB4 RB5 RB6

MCU-RA1/PGC MCU-RA0/PGD MCU-MCLR

USER INTERFACE

PIC DIP20
Figure 9-4: Connection schematic for 20-pin DIP MCU via 2x5 male header

20 PIN

PIC16F631

On-board 2x5 male connector

Page 20

PIC DIP28
Figure 9-5: Connection schematic for 28-pin DIP MCU via 2x5 male header

PIC DIP40
Figure 9-6: Connection schematic for 40-pin DIP MCU via 2x5 male header

1K

100nF

MCU-VCC

VCC
PGC-RB6 PGD-RB7 MCLR

100nF 1K

MCU-VCC

VCC
PGC-RB6 PGD-RB7 MCLR

MCLR
RA0 RA1 RA2

RA3 RA4 RA5 GND


OSC1 OSC2

RC0 RC1 RC2 RC3

RB7 RB6 RB5 RB4 RB3 RB2 RB1 RB0 VCC GND RC7 RC6 RC5 RC4

MCU-RB6/PGC MCU-RB7/PGD MCU-MCLR

USER INTERFACE

On-board 2x5 male connector

28 PIN

MCLR RA0 RA1 RA2 RA3 RA4 RA5 RE0 RE1 RE2 VCC GND OSC1 OSC2 RC0 RC1 RC2 RC3 RD0 RD1

RB7 RB6 RB5 RB4 RB3 RB2 RB1 RB0 VCC GND RD7 RD6 RD5 RD4 RC7 RC6 RC5 RC4 RD3 RD2

MCU-RB6/PGC MCU-RB6/PGD MCU-MCLR

USER INTERFACE

On-board 2x5 male connector

40 PIN

Page 21

Connection examples - PIC

PIC16F887

PIC18F252

Connection examples - PIC

PIC TQFP 64
Figure 9-7: Connection schematic for 64-pin TQFP MCU via 2x5 male header

100nF 1K

MCU-VCC

VCC
PGC-RB6 PGD-RB7 MCLR

RE2 RE3 RE4 RE5 RE6 RE7 RD0 VCC GND RD1 RD2 RD3 RD4 RD5 RD6 RD7

RF1 RF0 AVCC AGND RA3 RA2 RA1 RA0 GND VCC RA5 RA4 RC1 RC0 RC6 RC7

RE1 RE0 RG0 RG1 RG2 RG3 MCLR RG4 GND VCC RF7 RF6 RF5 RF4 RF3 RF2

PIC18F6310

RB0 RB1 RB2 RB3 RB4 RB5 RB6 GND OSC2 OSC1 VCC RB7 RC5 RC4 RC3 RC2

MCU-RB6/PGC MCU-RB7/PGD MCU-MCLR

USER INTERFACE

On-board 2x5 male connector

64 PIN

Page 22

Figure 9-8: Connection schematic for 80-pin TQFP MCU via 2x5 male header

100nF 1K

MCU-VCC

VCC
PGC-RB6 PGD-RB7 MCLR

RH5 RH4 RF1 RF0 AVCC AGND RA3 RA2 RA1 RA0 GND VCC RA5 RA4 RC1 RC0 RC6 RC7 RJ4 RJ5

RH2 RH3 RE1 RE0 RG0 RG1 RG2 RG3 MCLR RG4 GND VCC RF7 RF6 RF5 RF4 RF3 RF2 RH7 RH6

PIC18F8310

RJ2 RJ3 RB0 RB1 RB2 RB3 RB4 RB5 RB6 GND OSC2 OSC1 VCC RB7 RC5 RC4 RC3 RC2 RJ7 RJ6

MCU-RB6/PGC MCU-RB7/PGD MCU-MCLR

USER INTERFACE

On-board 2x5 male connector

80 PIN

Page 23

Connection examples - PIC

PIC TQFP 80

RH1 RH0 RE2 RE3 RE4 RE5 RE6 RE7 RD0 VCC GND RD1 RD2 RD3 RD4 RD5 RD6 RD7 RJ0 RJ1

Connection examples - PIC18FJ

E2 MCLR RA0 RA1 RA2 RA3 E1 10uF RA5 GND OSC1 OSC2 RC0 RC1 RC2 RC3
VCCcore

C 100nF

RB7 RB6 RB5 RB4 RB3 RB2 RB1 RB0 VCC GND RC7 RC6 RC5 RC4

10uF

MCU-VCC

VCC
PGC-RB6 PGD-RB7 MCLR

MCU-RB6/PGC MCU-RB7/PGD MCU-MCLR

USER INTERFACE

On-board 2x5 connector

PIC18FJ DIP28
Figure 9-9: Connection schematic for 28-pin DIP MCU via 2x5 male header

28 PIN

E1 10uF

RA2 RA3 VCCcore PIC18F24J10 RA5 GND OSC1 OSC2

RA1 RA0 MCLR RB7 RB6 RB5 RB4

RC0 RC1 RC2 RC3 RC4 RC5 RC6

PIC18F24J10

E2 10uF

C 100nF

MCU-VCC
MCU-RB6/PGC MCU-RB7/PGD MCU-MCLR

VCC
PGC-RB6 PGD-RB7 MCLR

USER INTERFACE

PIC18FJ QFN28
Figure 9-10: Connection schematic for 28-pin QFN MCU via 2x5 male header

RB3 RB2 RB1 RB0 VCC GND RC7

On-board 2x5 connector

28 PIN

Page 24

Figure 9-11: Connection schematic for 40-pin DIP MCU via 2x5 male header

E2 MCLR RA0 RA1 RA2 RA3 VCCcore RA5 E1 10uF RE0 RE1 RE2 VCC GND OSC1 OSC2 RC0 RC1 RC2 RC3 RD0 RD1 RB7 RB6 RB5 RB4 RB3 RB2 RB0 RB1 VCC GND RD7 RD6 RD5 RD4 RC7 RC6 RC5 RC4 RD3 RD2 10uF

C MCU-VCC 100nF
MCU-RB6/PGC MCU-RB7/PGD MCU-MCLR PGC-RB6 PGD-RB7 MCLR USER INTERFACE

VCC

On-board 2x5 connector

DIP40

Page 25

Connection examples - PIC18FJ

PIC18FJ DIP40

PIC18F45J10

E2

C MCU-VCC VCC
PGC-RB6 PGD-RB7 MCLR

Connection examples - PIC18FJ

RC6 RC5 RC4 RD3 RD2 RD1 RD0 RC3 RC2 RC1 NC

10uF

100nF
MCU-RB6/PGC MCU-RB7/PGD MCU-MCLR USER INTERFACE

NC NC RB4 RB5 RB6 RB7 MCLR RA0 RA1 RA2 RA3

RG7 RD4 RD5 RD6 RD7 GND VCC RB0 RB1 RB2 RB3

NC RC0 OSC2 OSC1 GND PIC18F44J10 VCC RE2 RE1 RE0 RA5 VCCcore E1

PIC18FJ TQFP44
Figure 9-12: Connection schematic for 44-pin TQFP MCU via 2x5 male header

On-board 2x5 connector

44 PIN

10uF

E2

C MCU-VCC VCC
PGC-RB6 PGD-RB7 MCLR

RC6 RC5 RC4 RD3 RD2 RD1 RD0 RC3 RC2 RC1 RC0

10uF

100nF
MCU-RB6/PGC MCU-RB7/PGD MCU-MCLR USER INTERFACE

RB3 NC RB4 RB5 RB6 RB7 MCLR RA0 RA1 RA2 RA3

RG7 RD4 RD5 RD6 RD7 GND AVCC VCC RB0 RB1 RB2

OSC2 OSC1 GND AGND VCC PIC18F44J10 AVCC RE2 RE1 RE0 RA5 VCCcore
E1

PIC18FJ QFN44
Figure 9-13: Connection schematic for 44-pin QFN MCU via 2x5 male header

On-board 2x5 connector

44 PIN

10uF

Page 26

PIC18FJ TQFP64
Figure 9-14: Connection schematic for 64-pin TQFP MCU via 2x5 male header

100nF 1K

MCU-VCC
MCU-RB6/PGC MCU-RB7/PGD MCU-MCLR

VCC
PGC-RB6 PGD-RB7 MCLR

RF1 RF0 AVCC AGND RA3 RA2 RA1 RA0 GND VCC RA5 RA4 RC1 RC0 RC6 RC7

RE1 RE0 RG0 RG1 RG2 RG3 MCLR RG4 GND VCC RF7 RF6 RF5 RF4 RF3 RF2

PIC18F63J11

RB0 RB1 RB2 RB3 RB4 RB5 RB6 GND OSC2 OSC1 VCC RB7 RC5 RC4 RC3 RC2

USER INTERFACE

On-board 2x5 male connector

64 PIN

Page 27

Connection examples - PIC18FJ

RE2 RE3 RE4 RE5 RE6 RE7 RD0 VCC GND RD1 RD2 RD3 RD4 RD5 RD6 RD7

Connection examples - PIC18FJ

PIC18FJ TQFP80
Figure 9-15: Connection schematic for 80-pin TQFP MCU via 2x5 male header

E2

C MCU-VCC VCC
PGC-RB6 PGD-RB7 MCLR

RH1 RH0 RE2 RE3 RE4 RE5 RE6 RE7 RD0 VCC GND RD1 RD2 RD3 RD4 RD5 RD6 RD7 RJ0 RJ1

10uF RJ2 RJ3 RB0 RB1 RB2 RB3 RB4 RB5 RB6 GND RA6 RA7 VCC RB7 RC5 RC4 RC3 RC2 RJ7 RJ6

100nF
MCU-RB6/PGC MCU-RB7/PGC MCU-MCLR USER INTERFACE

E1 10uF

RH5 RH4 RF1 ENVREG AVCC AGND RA3 RA2 RA1 RA0 GND VCC RA5 RA4 RC1 RC0 RC6 RC7 RJ4 RJ5

RH2 RH3 RE1 RE0 RG0 RG1 RG2 RG3 MCLR RG4 GND VCCcore RF7 RF6 RF5 RF4 RF3 RF2 RH7 RH6

On-board 2x5 connector

PIC18F83J11

80 PIN

Page 28

Figure 9-16: Connection schematic for 100-pin TQFP MCU via 2x5 male header

R 22K

E2

C MCU-VCC VCC
PGC-RB6 PGD-RB7 MCLR

RH1 RH0 RE2 RE3 RE4 RE5 RE6 RE7 RD0 RD1 RD2 RD3 RD4 RD5 VCC GND RD6 RD7 GNDPLL VCCPLL RBIAS GNDTX TPOUT+ TPOUT-

VCCTX

U1

10uF

100nF
MCU-RB6/PGC MCU-RB7/PGD MCU-MCLR USER INTERFACE

E1 10uF

RH5 RH4 RF1 ENVREG AVCC AGND RA3 RA2 RA1 RA0 GND VCC RG7 RJ7 GND RA5 RA4 RC1 RC0 RC6 RC7 RJ4 RJ5 RJ0 RJ1

RH2 RH3 RE1 RE0 RB0 RB1 RB2 RB3 NC RG6 RG5 RF0 MCLR RG4 GND VCCcore VCC RF7 RF6 RF5 RF4 RF3 RF2 RH7 RH6

VCCRX

PIC18F96J60

TPIN+ TPINGNDRX RG0 RG1 RB4 RB5 RB6 RJ2 GND OSC2 OSC1 VCC RJ3 GND VCC RJ6 RB7 RC5 RC4 RC3 RC2 RG2 RG3

On-board 2x5 connector

100 PIN

Page 29

Connection examples - PIC18FJ

PIC18FJ TQFP100

Connection examples - dsPIC

1K MCLR RB0 RB1 RB2 RB3 OSC1 OSC2 RC13 RC14 AVCC AGND

100nF

MCU-VCC

VCC
PGC-RB5 PGD-RB4 MCLR

RB6 RB7 VCC GND RB5 RB4 RD0

MCU-RB5/PGC MCU-RB4/PGD MCU-MCLR

USER INTERFACE

dsPIC DIP18
Figure 9-17: Connection schematic for 18-pin DIP MCU via 2x5 male header

18 PIN

RF3 RF6 RD8 RD2 VCC GND RD3 RD9 RA11 RC14 NC

NC NC RB10 RB9 AGND AVCC MCLR RB0 RB1 RB2 RB3

RF2 RF5 RF4 RF1 RF0 GND VCC RD1 RD0 RB12 RB11

dsPIC30F3012

On-board 2x5 connector

100nF 1K

MCU-VCC

VCC
PGC-RB6 PGD-RB7 MCLR

NC RC13 OSC2 OSC1 GND dsPIC30F4013 VCC RB8 RB7 RB6 RB5 RB4

MCU-RB6/PGC MCU-RB7/PGD MCU-MCLR

USER INTERFACE

dsPIC TQFP44
Figure 9-18: Connection schematic for 44-pin TQFP MCU via 2x5 male header

On-board 2x5 connector

44 PIN

Page 30

Figure 9-19: Connection schematic for 28-pin DIP MCU via 2x5 male header
100nF

Figure 9-20: Connection schematic for 40-pin DIP MCU via 2x5 male header

1K MCLR RB0 RB1 RB2 RB3 RB4 RB5 GND OSC1 OSC2 RC13 RC14 VCC RD9 AVCC AGND RB6 RB7 RB8 RB9 RF4 RF5 VCC GND RF2 RF3 RF6 RD8

MCU-VCC

VCC
PGC-RF2 PGD-RF3 MCLR

100nF 1K

MCU-VCC

VCC
PGC-RB6 PGD-RB7 MCLR

MCU-RF2/PGC MCU-RF3/PGD MCU-MCLR

USER INTERFACE

On-board 2x5 connector

28 PIN

MCLR RB0 RB1 RB2 RB3 RB4 RB5 RB6 RB7 RB8 VCC GND OSC1 OSC2 RC13 RC14 RA11 RD9 RD3 GND DIP40

AVCC AGND RB9 RB10 RB11 RB12 RD0 RD1 VCC GND RF0 RF1 RF4 RF5 RF2 RF3 RF6 RD8 RD2 VCC

MCU-RB6/PGC MCU-RB7/PGD MCU-MCLR

USER INTERFACE

On-board 2x5 connector

Page 31

Connection examples - dsPIC

dsPIC DIP28

dsPIC DIP40

dsPIC30F3014

dsPIC30F2012

Connection examples - dsPIC

dsPIC TQFP64
Figure 9-21: Connection schematic for 64-pin TQFP MCU via 2x5 male header

100nF 1K

MCU-VCC

VCC
PGC-RB6 PGD-RB7 MCLR

RE4 RE3 RE2 RE1 RE0 RF1 RF0 VCC GND RD7 RD6 RD5 RD4 RD3 RD2 RD1

RB6 RB7 AVCC AGND RB8 RB9 RB10 RB11 GND VCC RB12 RB13 RB14 RB15 RF4 RF5

RE5 RE6 RE7 RG6 RG7 RG8 MCLR RG9 GND VCC RB5 RB4 RB3 RB2 RB1 RB0

dsPIC30F5015

RC14 RC13 RD0 RD11 RD10 RD9 RD8 GND OSC2 OSC1 VCC RG2 RG3 RF6 RF2 RF3

MCU-RB6/PGC MCU-RB7/PGD MCU-MCLR

USER INTERFACE

On-board 2x5 connector

64 PIN

Page 32

Figure 9-22: Connection schematic for 80-pin TQFP MCU via 2x5 male header

100nF 1K
RG13

MCU-VCC

VCC
PGC-RB6 PGD-RB7 MCLR

RG15

RB6 RB7 RA9 RA10 AVCC AGND RB8 RB9 RB10 RB11 GND VCC RB12 RB13 RB14 RB15 RD14 RD15 RF4 RF5

RC1 RC2 RC3 RC4 RG6 RG7 RG8 MCLR RG9 GND VCC RA12 RA13 RB5 RB4 RB3 RB2 RB1 RB0

dsPIC30F6014

RC14 RC13 RD0 RD11 RD10 RD9 RD8 RA15 RA14 GND OSC2 OSC1 VCC RG2 RG3 RF6 RF7 RF8 RF2 RF3

MCU-RB6/PGC MCU-RB7/PGD MCU-MCLR

USER INTERFACE

On-board 2x5 connector

80 PIN

Page 33

Connection examples - dsPIC

dsPIC TQFP80

RG12 RG14 RA7 RA6 RG0 RG1 RF1 RF0 VCC GND RD7 RD6 RD5 RD4 RD13 RD12 RD3 RD2 RD1

Connection examples - PIC24

MCLR PIC24HJ12GP201-DIP18
RA0

VCC
GND

MCU-VCC
MCU-RA1/PGC MCU-RA0/PGD MCU-MCLR

VCC
PGC-RA1 PGD-RA0 MCLR

PIC24 DIP18
USER INTERFACE

RA1 RB0 RB1 OSC1 OSC2 RB4 RA4

RB15 RB14 VCAP GND RB9 RB8 RB7

On-board 2x5 connector

Figure 9-23: Connection schematic for 18-pin DIP MCU via 2x5 male header

MCLR
RA0

VCC
GND

MCU-VCC
MCU-RA1/PGC MCU-RA0/PGD MCU-MCLR

VCC
PGC-RA1 PGD-RA0 MCLR

PIC24F16KA102-DIP20

RA1 RB0 RB1 GND OSC1 OSC2 RB4 RA4

RB15 RB14 RB13 RB12 VCAP RB9 RB8 RB7


USER INTERFACE

PIC24 DIP20
Figure 9-24: Connection schematic for 20-pin DIP MCU via 2x5 male header

On-board 2x5 connector

Page 34

MCLR
RA0

VCC
GND

MCU-VCC
MCU-RB1/PGC MCU-RB0/PGD MCU-MCLR

RA1

RB15

PIC24HJ32GP202-DIP28

RB0 RB1 RB2 RB3 GND RA2 RA3 RB4 RA4 MCU-VCC VCC RB5

RB14 RB13 RB12 RB11 RB10 VCAP GND RB9 RB8 RB7 RB6

PIC24 DIP28
Figure 9-25: Connection schematic for 28-pin DIP MCU via 1x5 male header

On-board 2x5 connector

MCU-VCC

VCC
PGC-RB6 PGD-RB7 MCLR

RB9 RC6 RC7 RC8 RC9


DISVREG PIC24FJ1GA004-PF

RA7 RB14 RB15 AGND AVCC MCLR RA0 RA1 RB0 RB1

VCAP1 RB10 RB11 RB12 RB13


RA10

RB4 RA8 RA3 RA2 GND VCC RC2 RC1 RC0 RB3 RB2

MCU-RB6/PGC MCU-RB7/PGD MCU-MCLR

PIC24 TQFP44
USER INTERFACE

On-board 2x5 connector

Figure 9-26: Connection schematic for 44-pin TQFP MCU via 2x5 male header

44 PIN

Page 35

Connection examples - PIC24

RB8 RB7 RB6 RB5 VCC GND RC5 RC4 RC3 RA9 RA4

Connection examples - PIC24

PIC24 TQFP64
Figure 9-27: Connection schematic for 64-pin TQFP MCU via 2x5 male header

MCU-VCC
ENVREG

VCC
PGC-RB6 PGD-RB7 MCLR

VCAP1 RD7 RD6 RD5 RD4 RD3 RD2

RE4

RE3 RE2 RE1 RE0 RF1 RF0

RD1

RE5

RC14

RE6 RE7 RG6 RG7 RG8 MCLR RG9 GND VCC RB5 RB4 RB3 RB2 RB1
RB0

PIC24FJ128GA006-PT

RB7 AVCC AGND RB8 RB9 RB10 RB11 GND VCC RB12 RB13 RB14 RB15 RF4 RF5

RC13 RD0 RD11 RD10 RD9 RD8 GND OSC2 OSC1 VCC RG2 RG3 RF6 RF2 RF3

MCU-RB6/PGC MCU-RB7/PGD MCU-MCLR

USER INTERFACE

On-board 2x5 connector

RB6

64 PIN

Page 36

Figure 9-28: Connection schematic for 80-pin TQFP MCU via 2x5 male header

RB6 RB7 RA9 RA10 AVCC AGND RB8 RB9 RB10 RB11 GND VCC RB12 RB13 RB14 RB15 RD14 RD15 RF4 RF5

RE5 RE6 RE7 RC1 RC3 RG6 RG7 RG8 MCLR RG9 GND VCC RE8 RE9 RB5 RB4 RB3 RB2 RB1 RB0

RE4 RE3 RE2 RE1 RE0 RG0 RG1 RF1 RF0 ENVREG VCAP RD7 RD6 RD5 RD4 RD13 RD12 RD3 RD2 RD1

MCU-VCC
MCU-RB6/PGC MCU-RB7/PGD MCU-MCLR

VCC
PGC-RB6 PGD-RB7 MCLR

PIC24FJ128GB108-PT

RC14 RC13 RD0 RD11 RD10 RD9 RD8 RA15 RA14 GND OSC2 OSC1 VCC D+/RG2 D-/RG3 VUSB VBUS RF8 RF2 RF3

USER INTERFACE

On-board 2x5 connector

80 PIN

Page 37

Connection examples - PIC24

PIC24 TQFP80

Connection examples - PIC24

PIC24 TQFP100
Figure 9-29: Connection schematic for 100-pin TQFP MCU via 2x5 male header

RB6 RB7 RA9 RA10 AVCC AGND RB8 RB9 RB10 RB11 GND VCC RA1 RF13 RF12 RB12 RB13 RB14 RB15 GND VCC RD14 RD15 RF4 RF5

RG15 VCC RE5 RE6 RE7 RC1 RC2 RC3 RC4 RG6 RG7 RG8 MCLR RG9 GND VCC RA0 RE8 RE9 RB5 RB4 RB3 RB2 RB1 RB0

RE4 RE3 RE2 RG13 RG12 RG14 RE1 RE0 RA7 RA6 RG0 RG1 RF1 RF0 ENVREG VCAP1 RD7 RD6 RD5 RD4 RD13 RD12 RD3 RD2 RD1

MCU-VCC
MCU-RB6/PGC MCU-RB7/PGD MCU-MCLR

VCC
PGC-RB6 PGD-RB7 MCLR

PIC24FJ128GB110-PF

GND RC14 RC13 RD0 RD11 RD10 RD9 RD8 RA15 RA14 GND OSC2 OSC1 VCC RA5 RA4 RA3 RA2 USBDP/D+/RG2 USBDN/D-/RG3 VUSB USB-DET/VBUS RF8 RF2 RF3

USER INTERFACE

On-board 2x5 connector

100 PIN

Page 38

Figure 9-30: Connection schematic for 100-pin TQFP MCU via 1x5 male header

RB6 RB7 RA9 RA10 AVCC AGND RB8 RB9 RB10 RB11 GND VCC RA1 RF13 RF12 RB12 RB13 RB14 RB15 GND VCC RD14 RD15 RF4 RF5

RG15 VCC RE5 RE6 RE7 RC1 RC2 RC3 RC4 RG6 RG7 RG8 MCLR RG9 GND VCC RA0 RE8 RE9 RB5 RB4 RB3 RB2 RB1 RB0

RE4 RE3 RE2 RG13 RG12 RG14 RE1 RE0 RA7 RA6 RG0 RG1 RF1 RF0 ENVREG VCAP1 RD7 RD6 RD5 RD4 RD13 RD12 RD3 RD2 RD1

MCU-VCC
MCU-RB6/PGC MCU-RB7/PGD MCU-MCLR

PIC24FJ128GB110-PF

GND RC14 RC13 RD0 RD11 RD10 RD9 RD8 RA15 RA14 GND OSC2 OSC1 VCC RA5 RA4 RA3 RA2 USBDP/D+/RG2 USBDN/D-/RG3 VUSB USB-DET/VBUS RF8 RF2 RF3

On-board 2x5 connector

100 PIN

Page 39

Connection examples - PIC24

PIC24 TQFP100

PIC32 TQFP64

Connection examples - PIC32

Figure 9-31: Connection schematic for 64-pin TQFP MCU via 2x5 male header

MCU-VCC
MCU-RB6/PGC MCU-RB7/PGD MCU-MCLR

VCC
PGC-RB6 PGD-RB7 MCLR

RE3 RE2 RE1 RE0 RF1 RF0 VDD VCAP RD7 RD6 RD5 RD4 RD3 RD2

RE4

RE5

SOSCO

RE6 RE7 RG6 RG7 RG8 MCLR RG9 VSS VDD RB5 RB4 RB3 RB2 RB1
RB0

RB6 RB7 AVDD AVSS RB8 RB9 RB10 RB11 VSS VDD RB12 RB13 RB14 RB15 RF4

SOSCI RD0 RD11 RD10 RD9 RD8 VSS OSC2 PIC32MX534F064H OSC1 VDD D+/RG2 D-/RG3 VUSB VBUS USB-ID
RF5

RD1

USER INTERFACE

On-board 2x5 connector

Page 40

PIC32 TQFP100
Figure 9-32: Connection schematic for 100-pin TQFP MCU via 2x5 male header

VCC3

E9 10uF

VCC3

VCC3

RB6 RB7 RA9 RA10 AVCC AGND RB8 RB9 RB10 RB11 GND VCC RA1 RF13 RF12 RB12 RB13 RB14 RB15 GND VCC RD14 RD15 RF4 RF5

RG15 VCC RE5 RE6 RE7 RC1 RC2 RC3 RC4 RG6 RG7 RG8 MCLR RG9 GND VCC RA0 RE8 RE9 RB5 RB4 RB3 RB2 RB1 RB0

PIC32MX795F512L

GND RC14 RC13 RD0 RD11 RD10 RD9 RD8 RA15 RA14 GND OSC2 OSC1 VCC RA5 RA4 RA3 RA2 RG2 RG3 VUSB VBUS RF8 RF2 RF3

MCU-VCC
MCU-RB6/PGC MCU-RB7/PGD MCU-MCLR

VCC
PGC-RB6 PGD-RB7 MCLR

USER INTERFACE

On-board 2x5 connector


VCC3

100 PIN
VCC3 VCC3 VCC3

Page 41

Connection examples - PIC32

RE4 RE3 RE2 RG13 RG12 RG14 RE1 RE0 RA7 RA6 RG0 RG1 RF1 RF0 VCC VCAP RD7 RD6 RD5 RD4 RD13 RD12 RD3 RD2 RD1

Notes:

Page 42

DISCLAIMER All the products owned by MikroElektronika are protected by copyright law and international copyright treaty. Therefore, this manual is to be treated as any other copyright material. No part of this manual, including product and software described herein, may be reproduced, stored in a retrieval system, translated or transmitted in any form or by any means, without the prior written permission of MikroElektronika. The manual PDF edition can be printed for private or local use, but not for distribution. Any modification of this manual is prohibited. MikroElektronika provides this manual as is without warranty of any kind, either expressed or implied, including, but not limited to, the implied warranties or conditions of merchantability or fitness for a particular purpose. MikroElektronika shall assume no responsibility or liability for any errors, omissions and inaccuracies that may appear in this manual. In no event shall MikroElektronika, its directors, officers, employees or distributors be liable for any indirect, specific, incidental or consequential damages (including damages for loss of business profits and business information, business interruption or any other pecuniary loss) arising out of the use of this manual or product, even if MikroElektronika has been advised of the possibility of such damages. MikroElektronika reserves the right to change information contained in this manual at any time without prior notice, if necessary. HIGH RISK ACTIVITIES The products of MikroElektronika are not fault tolerant nor designed, manufactured or intended for use or resale as on line control equipment in hazardous environments requiring fail safe performance, such as in the operation of nuclear facilities, aircraft navigation or communication systems, air traffic control, direct life support machines or weapons systems in which the failure of Software could lead directly to death, personal injury or severe physical or environmental damage (High Risk Activities). MikroElektronika and its suppliers specifically disclaim any expressed or implied warranty of fitness for High Risk Activities. TRADEMARKS The MikroelEktronika name and logo, the MikroElektronika logo, mikroC, mikroC PRO, mikroBasic, mikroBasic PRO, mikroPascal, mikroPascal PRO, AVRflash, PICflash, dsPICprog, 18FJprog, PSOCprog, AVRprog, 8051prog, ARMflash, EasyPIC5, EasyPIC6, BigPIC5, BigPIC6, dsPIC PRO4, Easy8051B, EasyARM, EasyAVR5, EasyAVR6, BigAVR2, EasydsPIC4A, EasyPSoC4, EasyVR Stamp LV18FJ, LV24-33A, LV32MX, PIC32MX4 MultiMedia Board, PICPLC16, PICPLC8 PICPLC4, SmartGSM/GPRS, UNI-DS are trademarks of MikroElektronika. All other trademarks mentioned herein are property of their respective companies. All other product and corporate names appearing in this manual may or may not be registered trademarks or copyrights of their respective companies, and are only used for identification or explanation and to the owners benefit, with no intent to infringe. MikroElektronika, 2011, All Rights Reserved.

mikroProg for PIC

If you want to learn more about our products, please visit our website at www.mikroe.com If you are experiencing some problems with any of our products or just need additional information, please place your ticket at www.mikroe.com/en/support If you have any questions, comments or business proposals, do not hesitate to contact us at office@mikroe.com

You might also like