EasyManua.ls Logo

Microchip Technology PICkit 3 User Manual

Microchip Technology PICkit 3
102 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
Page #1 background imageLoading...
Page #1 background image
2012 Microchip Technology Inc. DS41628B
PICkit™ 3 Starter Kit
Users Guide

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the Microchip Technology PICkit 3 and is the answer not in the manual?

Microchip Technology PICkit 3 Specifications

General IconGeneral
BrandMicrochip Technology
ModelPICkit 3
CategoryComputer Accessories
LanguageEnglish

Summary

Chapter 1. Overview

Introduction to PICkit 3 Starter Kit

Provides an overview of the kit's hardware and software setup.

Chapter 1 Highlights

Summarizes the key topics covered in the Overview chapter.

New Features and Hardware Changes

Details modifications and new features in this starter kit compared to previous versions.

Included Kit Components

Lists all the hardware components provided within the starter kit package.

Low Pin Count (LPC) Board Hardware

Describes the schematic and pin assignments of the demo board.

Software and Lesson Approach

Explains the software used and recommends a sequential approach to the lessons.

Running the Demo Program

Instructions on how to execute the preprogrammed demo on the board.

Chapter 2. PIC® MCU Architecture

Core Concepts and Instructions

Covers core architecture, instructions, accumulator, and buses.

Memory Organization and Banking

Explains program memory, data memory, EEPROM, and memory banking.

Programming Basics and Directives

Covers assembler and C programming, number formats, and directives.

Chapter 3. Lessons

Lesson 1: Hello World (Turn on an LED)

Introduces basic LED control, I/O configuration, and new registers/instructions.

Lesson 2: Blink

Demonstrates creating a delay loop using instruction timing for LED blinking.

Lesson 3: Rotate

Introduces shifting and bit-oriented skip instructions for LED rotation.

Lesson 4: Analog-to-Digital Conversion

Covers ADC configuration, conversion, and displaying results on LEDs.

Lesson 5: Variable Speed Rotate

Combines ADC with LED rotation for variable speed control.

Lesson 6: Debounce

Explains switch debouncing techniques and the #define preprocessor symbol.

Lesson 7: Reversible Variable Speed Rotate

Adds switch control to reverse LED rotation direction based on ADC value.

Lesson 8: Pulse-Width Modulation (PWM)

Generates a PWM signal to control LED brightness via a potentiometer.

Lesson 9: Timer0

Uses Timer0 for delay routines, offering an alternative to instruction cycle counting.

Lesson 10: Interrupts and Pull-ups

Introduces interrupts for event handling and internal weak pull-up resistors.

Lesson 11: Indirect Addressing

Implements indirect addressing for a moving average filter using ADC values.

Lesson 12: Look-up Table

Demonstrates accessing program memory using look-up tables for data conversion.

Lesson 13: EEPROM

Covers writing and reading data to the on-board EEPROM for nonvolatile storage.

Appendix A. Block Diagram and MPLAB® X Shortcuts

Useful MPLAB X IDE Shortcuts

Lists helpful keyboard shortcuts for MPLAB X IDE development.

Finding PIC MCU Register Names

Guidance on locating register definitions in header files for MPASM and XC8.

PIC MCU Assembly Coding Best Practices

Best practices for writing commented and efficient assembly code.

Related product manuals