Download Programming And Customizing The PIC Microcontroller By Myke Perdko

Introduction

In a time when digital electronics is becoming more complex and less accessible to students and low-end project and product developers, microcontrollers have become the tools of choice for learning about electronics and programming as well as providing the capabilities needed to create sophisticated applications cheaply and easily. If you were to look through any electronics magazine, you would discover that almost every example application uses a microcontroller (often abbreviated to just MCU) to provide a user interface, sequence operations, and respond to changing inputs. These chips are inexpensive, have a surprisingly high level of performance, and are easy to integrate into an application. Microcontrollers have reversed the trend of modern electronics and provide an easy and effective way for students, hobbyists, and professionals to create applications. In the introduction to the first edition of this book, I explained my fascination with the Intel 8048 microcontroller. I first discovered this device when I was looking at the first IBM Personal Computer’s schematics. While the PC’s schematic itself took up 20 pages, the keyboard’s simply consisted of a single 8048 chips which provided a “bridge” between the keys on the keyboard and the PC system unit. I got a copy of the 8048’s datasheet and was amazed at the features available, making the single chip device very analogous to a complete computer system with a processor, application storage, variable storage, timers, processor interrupt capability, and Input/Output (I/O). This single chip gave designers the capability of developing highly sophisticated applications in one simple component that could be easily wired into the overall product. One of the most popular and easy to use microcontroller families available in the market today is the Microchip “PIC microcontroller.” Originally known as the PIC (for Peripheral Interface Controller), the PIC microcontroller MCU consists of over 400 variations (or Part Numbers), each designed to be optimal in different applications. These variations consist of a number of memory configurations, different I/O pin arrangements, amount of support hardware required, packaging, and available peripheral functions. This wide range of device options is not unique to the PIC microcontroller; many other microcontrollers can boast a similar menu of part numbers with different options for the designer.

Table Of Content

Chapter 1 Embedded Microcontrollers

Microcontroller Types

Internal Hardware

Applications

Processor Architectures

Instructions and Software

Peripheral Functions

Memory Types

Microcontroller Communication

Device Packaging 35

Application Development Tools

Chapter 2 The Microchip PIC Microcontroller

Accessing the Microchip Web Site

PIC Microcontroller Feature Summary

Features Unique to the PIC Microcontroller

PIC Microcontroller Families

Chapter 3 Software Development

Tools

Tools Overview

High Level Languages

Microchip MPLAB IDE

Chapter 4 Programming PIC Microcontrollers

Hex File Format

Code Protection

Parallel Programming

PIC ICSP Programmer Interface

Microchip Programmers

My Programmers

Third-Party Programmers

Chapter 5 Emulators and Debuggers

MPLAB ICE-2000

MPLAB REAL ICE

MPLAB ICD 2

Debugger

The Emu-II

Other Emulators

Chapter 6 The Microchip PIC MCU Processor Architecture

The CPU 244

Hardware and File Registers

The PIC Microcontroller’s ALU

Data Movement

The Program Counter and Stack

Reset

Interrupts

Architecture Differences

Chapter 7 Using the PIC MCU Instruction Set

Setting Up the MPLAB IDE Simulator with a Test Template

PIC MCU Instruction Types

The Mid-Range Instruction Set

Low-End PIC Microcontroller Instruction Set

PIC18 Instruction Set

Chapter 8 Assembly-Language Software Techniques

Sample Template

Labels, Addresses, and Flags

Subroutines with Parameter Passing 3

Subtraction, Comparing and Negation

Bit AND and OR

16-Bit Operations

MulDiv, Constant Multiplication and Division

Delays 400 Patch Space

Structures, Pointers, and Arrays

Sorting Data

Interrupts

Reentrant Subroutines

Simulating Logic

Event-Driven Programming

State Machine Programming

Porting Code Between PIC Microcontroller Device Architectures

Optimizing PIC Microcontroller Applications 438

A Baker’s Dozen Rules to Follow That Will Help to Avoid Application Software

Chapter 9 Basic Operating Features

Power Input and Decoupling

Configuration Fuses

OPTION Register

TMR0 478 Interrupt Operation

The Right PIC Microcontroller to Learn On

Chapter 10 Macro Development

PIC Microcontroller Assembly-Language Macros

The Difference Between Defines and Macros

The Assembler Calculator494

Multiline C Macros

Conditional Assembly/Compilation

Using Defines and Conditional Assembly for Application Debug

Debugging Macros

Structured Programming Macros

Chapter 11 Building and Linking

Creating Linked Applications

Chapter 12 Boot loaders

Boot loader Requirements

Mid-Range Boot loaders

PIC18 Boot loaders

Chapter 13 Real-Time Operating Systems

Low-End and Mid-Range RTOSs

PIC18 RTOS Design 5

Chapter 14 Debugging Your Applications  

Document the Expected State

Characterize the Problem

Hypothesize and Test Your Hypothesis

Propose Corrective Actions

Test Fixes

Release Your Solution

Debug: An Application to Test Your Debug Skills

Chapter 15 PIC Microcontroller Application Design and Hardware Interfacing

Requirements Definition 5

PIC Microcontroller Resource Allocation

Effective User Interfacing

Project Management

Power Management

Reset

Interfacing to External Devices

Chapter 16 PIC MCU Optional Hardware Features

Mid-Range Built-in EEPROM/Flash Access

TMR1 624 TMR2 626

Compare/Capture/PWM (CCP) Module

Serial I/O 633 Analog I/O

Parallel Slave Port (PSP)

In-Circuit Serial Programming (ICSP)

Chapter 17 PIC MCU Input and Output Device Interfacing

LEDs 661 Switch Bounce

Matrix Keypads

LCDs

Analog I/O 682 Audio Output

Relays and Solenoids

Asynchronous (NRZ) Serial Interfaces

Synchronous Serial Interfaces

Chapter 18 Motor Control

Dc Motors

Stepper Motors

R/C Servo Control

Chapter 19 Practical PC Interfacing

PC Software Application Development Tools

Serial Port

Parallel Port

Chapter 20 PIC Microcontroller Application Basics

Jumping Around

Analog Input/Output

I/O with Interrupts

Serial I/O

Chapter 21 Projects

Low-End Devices

Mid-Range

Devices

PIC18 Devices

 

Tags: #Design of Rtos by Myke Predko #Microcontroller Programming the Microchip Pic #Myke Predko Programming And Customizing the 8051 Microcontroller pdf #Pic Microcontroller Project Book #Programming and Customizing the 8051 Microcontroller by Myke Predko free download #Programming And Customizing The 8051 Microcontroller by Myke Predko pdf free Download #Programming And Customizing The Pic Microcontroller pdf

Download AutoCAD 2005 FOR Dummies By Mark Middlebrook
Download AutoCAD 2005 FOR Dummies By Mark Middlebrook
Introduction It’s astounding to surmise that AutoCAD

Leave a reply "Download Programming And Customizing The PIC Microcontroller By Myke Perdko"

Must read×

Top
css.php