Stufin
Home Quick Cart Profile

PICKit 3.5 Programmer

Buy Now

Advanced Debugging

Offers advanced debugging features, including real-time data logging, signal analysis, and automated test scripts

In-Circuit DebuggingAllows users to debug and test devices without removing them from their circuits

Powerful Interface

Features a high-speed USB interface, allowing for rapid communication between the programmer and the host computer

Compatibility

Supports a wide range of operating systems, including Windows, macOS, and Linux

Compact Design

Its small size and lightweight design make it easy to integrate into any development environment

Technical Specifications

-------------------------

Programming Speed

Up to 3.5 Mbps

Voltage Range

2.0V to 5.5V

Current Range

Up to 200mA

Interface

High-speed USB 2.0

Operating Temperature

0C to 40C

Storage Temperature

-20C to 85C

Dimensions

60mm x 35mm x 15mm

Weight

20g

Applications

---------------

The PICKit 3.5 programmer is suitable for a wide range of applications, including

Embedded System Development

Ideal for developing and debugging embedded systems based on PIC microcontrollers

Prototyping

Allows for rapid prototyping and testing of PIC-based projects

Education

A valuable tool for educational institutions and students learning about microcontrollers and embedded systems

Production Programming

Can be used for programming and testing devices in production environments

Conclusion

----------

The PICKit 3.5 programmer is a powerful and versatile tool that is essential for anyone working with PIC microcontrollers. Its advanced debugging capabilities, high-speed programming, and compact design make it an ideal choice for a wide range of applications.

Pin Configuration

  • PICKit 3.5 Programmer Pinout Guide
  • The PICKit 3.5 programmer is a popular in-circuit debugger and programmer for Microchip PIC microcontrollers. It provides a simple and efficient way to program and debug these devices. Here is a detailed explanation of the pins on the PICKit 3.5 programmer:
  • Pin 1: VPP (Programming Voltage)
  • Function: Provides the programming voltage to the target device.
  • Connection: Connect to the VPP pin on the target device (if available). Otherwise, connect to the VDD pin.
  • Notes: Typically ranges from 2.5V to 5V, depending on the target device requirements.
  • Pin 2: VDD (Target Power)
  • Function: Provides power to the target device.
  • Connection: Connect to the VDD pin on the target device.
  • Notes: Should match the target device's operating voltage.
  • Pin 3: GND (Ground)
  • Function: Provides a common ground reference for the target device and the PICKit 3.5.
  • Connection: Connect to the GND pin on the target device.
  • Pin 4: PGD (Data)
  • Function: Carries data between the PICKit 3.5 and the target device.
  • Connection: Connect to the PGD pin on the target device.
  • Pin 5: PGC (Clock)
  • Function: Carries the clock signal between the PICKit 3.5 and the target device.
  • Connection: Connect to the PGC pin on the target device.
  • Pin 6: MCLR (Master Clear)
  • Function: Provides a reset signal to the target device.
  • Connection: Connect to the MCLR pin on the target device.
  • Notes: Typically active-low, meaning a low voltage (0V) resets the target device.
  • Pin 7: LVP (Low Voltage Programming)
  • Function: Indicates to the target device that it is in low-voltage programming mode.
  • Connection: Connect to the LVP pin on the target device.
  • Notes: Optional, only required for devices that support low-voltage programming.
  • Pin 8: Data (LED Indicator)
  • Function: Carries a serial data signal for debugging purposes.
  • Connection: Can be connected to a serial terminal or an LED indicator to monitor data transmission.
  • Pin 9: Vtarget (Target Voltage Sense)
  • Function: Senses the voltage of the target device.
  • Connection: Connect to the VDD pin on the target device.
  • Notes: Used by the PICKit 3.5 to automatically adjust the programming voltage.
  • Pin 10: RST (Reset Output)
  • Function: Provides a reset signal to the target device.
  • Connection: Can be connected to a reset button or an external reset circuit.
  • Notes: Optional, only required if the target device does not have a built-in reset circuit.
  • Pin 11: I/O (Input/Output)
  • Function: Carries miscellaneous I/O signals for debugging purposes.
  • Connection: Can be connected to other debugging tools or a serial terminal.
  • Pin 12: VUSB (USB Power)
  • Function: Provides power to the PICKit 3.5 from the USB connection.
  • Connection: Not connected to the target device.
  • Pin 13: D- (USB Data Minus)
  • Function: Carries the USB data signal.
  • Connection: Not connected to the target device.
  • Pin 14: D+ (USB Data Plus)
  • Function: Carries the USB data signal.
  • Connection: Not connected to the target device.
  • Pin 15: GND (USB Ground)
  • Function: Provides a ground reference for the USB connection.
  • Connection: Not connected to the target device.
  • When connecting the PICKit 3.5 to a target device, follow these general steps:
  • 1. Connect the VDD pin to the target device's VDD pin.
  • 2. Connect the GND pin to the target device's GND pin.
  • 3. Connect the PGD pin to the target device's PGD pin.
  • 4. Connect the PGC pin to the target device's PGC pin.
  • 5. Connect the MCLR pin to the target device's MCLR pin.
  • 6. If required, connect the LVP pin to the target device's LVP pin.
  • 7. Connect the VPP pin to the target device's VPP pin (if available) or VDD pin.
  • 8. Connect the RST pin to an external reset circuit or button (if required).
  • Remember to consult the target device's datasheet for specific pinout and connection requirements.

Code Examples

PICKit 3.5 Programmer Documentation
Overview
The PICKit 3.5 is a low-cost, easy-to-use programmer and debugger for Microchip's PIC microcontrollers. It is a powerful tool for developing, programming, and debugging a wide range of PIC microcontrollers.
Features
Programs and debugs most PIC microcontrollers
 Supports ICSP andUserCodeFlash programming
 Fast programming speed (typically 1-2 seconds per(device))
 USB 2.0 connectivity
 Powered from the USB port
 Supports Windows, Linux, and macOS operating systems
Hardware Requirements
PICKit 3.5 programmer module
 USB cable (type A to micro-B)
 Target PIC microcontroller module or development board
 Breadboard and jumper wires (for prototyping)
Software Requirements
Microchip's MPLAB X IDE (free download)
 PICKit 3.5 software (free download)
Code Examples
The following code examples demonstrate how to use the PICKit 3.5 programmer in various contexts:
Example 1: Blinking LED with PICKit 3.5 and MPLAB X IDE
Hardware Requirements:
PICKit 3.5 programmer module
 PIC16F877A microcontroller module
 Breadboard and jumper wires
 LED and resistor for the blinking LED circuit
Software Requirements:
MPLAB X IDE
 XC8 compiler
Code:
```c
// Blinking LED example using PIC16F877A and MPLAB X IDE
#include <xc.h>
#pragma config FOSC = HS        // Oscillator Selection bits (HS oscillator)
#pragma config WDTE = OFF       // Watchdog Timer Enable bit (WDT disabled)
#pragma config PWRTE = OFF      // Power-up Timer Enable bit (PWRT disabled)
#pragma config MCLRE = ON       // MCLR Pin Function Select bit (MCLR pin function is MCLR)
#pragma config CP = OFF         // Flash Program Memory Code Protection bit (Code protection off)
#pragma config CPD = OFF        // Data EEPROM Code Protection bit (Data EEPROM code protection off)
#pragma config BOREN = OFF      // Brown-out Reset Enable bits (Brown-out Reset disabled)
#define _XTAL_FREQ 4000000     // Define the crystal frequency (4MHz)
void main(void) {
    TRISAbits.RA0 = 0;        // Set RA0 as output pin
    while(1) {
        RA0 = 1;               // Set RA0 high (LED on)
        __delay_ms(500);       // Delay for 500ms
        RA0 = 0;               // Set RA0 low (LED off)
        __delay_ms(500);       // Delay for 500ms
    }
    return;
}
```
Compile and Program:
1. Open MPLAB X IDE and create a new project for the PIC16F877A microcontroller.
2. Copy the above code and paste it into the project.
3. Compile the code using the XC8 compiler.
4. Connect the PICKit 3.5 programmer to the computer and the target microcontroller.
5. Select the PICKit 3.5 programmer as the debugging tool in MPLAB X IDE.
6. Program the microcontroller with the compiled code.
Example 2: Reading Potentiometer Value with PICKit 3.5 and MPLAB X IDE
Hardware Requirements:
PICKit 3.5 programmer module
 PIC16F877A microcontroller module
 Breadboard and jumper wires
 Potentiometer (e.g., 10k)
 Voltage regulator (e.g., 5V)
Software Requirements:
MPLAB X IDE
 XC8 compiler
Code:
```c
// Reading potentiometer value example using PIC16F877A and MPLAB X IDE
#include <xc.h>
#pragma config FOSC = HS        // Oscillator Selection bits (HS oscillator)
#pragma config WDTE = OFF       // Watchdog Timer Enable bit (WDT disabled)
#pragma config PWRTE = OFF      // Power-up Timer Enable bit (PWRT disabled)
#pragma config MCLRE = ON       // MCLR Pin Function Select bit (MCLR pin function is MCLR)
#pragma config CP = OFF         // Flash Program Memory Code Protection bit (Code protection off)
#pragma config CPD = OFF        // Data EEPROM Code Protection bit (Data EEPROM code protection off)
#pragma config BOREN = OFF      // Brown-out Reset Enable bits (Brown-out Reset disabled)
#define _XTAL_FREQ 4000000     // Define the crystal frequency (4MHz)
#define POT_PIN  AN0          // Define the potentiometer pin as AN0
void main(void) {
    TRISAbits.RA0 = 1;        // Set RA0 as input pin (AN0)
    ADCON0 = 0b00001101;     // Configure ADC module (channel 0, analog input)
    ADCON1 = 0b10000000;     // Configure ADC clock source (Fosc/16)
    while(1) {
        ADCON0bits.GO_done = 1; // Start ADC conversion
        while(!ADCON0bits.GO_done); // Wait for conversion to complete
        int pot_value = ADRESH;   // Read the potentiometer value
        // Print the potentiometer value using a serial terminal or LCD display
        // ...
    }
    return;
}
```
Compile and Program:
1. Open MPLAB X IDE and create a new project for the PIC16F877A microcontroller.
2. Copy the above code and paste it into the project.
3. Compile the code using the XC8 compiler.
4. Connect the PICKit 3.5 programmer to the computer and the target microcontroller.
5. Select the PICKit 3.5 programmer as the debugging tool in MPLAB X IDE.
6. Program the microcontroller with the compiled code.
These examples demonstrate how to use the PICKit 3.5 programmer to program and debug PIC microcontrollers using the MPLAB X IDE. The PICKit 3.5 programmer is a versatile tool that can be used in a wide range of applications, from simple blinking LEDs to complex IoT projects.