Microcontrollers: Fundamentals and Applications with PIC

by ;
Edition: 1st
Format: Hardcover
Pub. Date: 2009-02-11
Publisher(s): CRC Press
  • Free Shipping Icon

    Receive Free Shipping To The More Store!*

    *Marketplace items do not qualify for the free shipping promotion.

  • eCampus.com Device Compatibility Matrix

    Click the device icon to install or view instructions

    Apple iOS | iPad, iPhone, iPod
    Apple iOS | iPad, iPhone, iPod
    Android Devices | Android Tables & Phones OS 2.2 or higher | *Kindle Fire
    Android Devices | Android Tables & Phones OS 2.2 or higher | *Kindle Fire
    Windows 10 / 8 / 7 / Vista / XP
    Windows 10 / 8 / 7 / Vista / XP
    Mac OS X | **iMac / Macbook
    Mac OS X | **iMac / Macbook
    Enjoy offline reading with these devices
    Apple Devices
    Android Devices
    Windows Devices
    Mac Devices
    iPad, iPhone, iPod
    Our reader is compatible
     
     
     
    Android 2.2 +
     
    Our reader is compatible
     
     
    Kindle Fire
     
    Our reader is compatible
     
     
    Windows
    10 / 8 / 7 / Vista / XP
     
     
    Our reader is compatible
     
    Mac
     
     
     
    Our reader is compatible
List Price: $140.00

Buy New

Usually Ships in 5-7 Business Days
$139.86

Rent Textbook

Select for Price
There was a problem. Please try again later.

Rent Digital

Rent Digital Options
Online:180 Days access
Downloadable:180 Days
$42.88
Online:365 Days access
Downloadable:365 Days
$50.66
Online:1825 Days access
Downloadable:Lifetime Access
$77.94
$42.88

Used Textbook

We're Sorry
Sold Out

How Marketplace Works:

  • This item is offered by an independent seller and not shipped from our warehouse
  • Item details like edition and cover design may differ from our description; see seller's comments before ordering.
  • Sellers much confirm and ship within two business days; otherwise, the order will be cancelled and refunded.
  • Marketplace purchases cannot be returned to eCampus.com. Contact the seller directly for inquiries; if no response within two days, contact customer service.
  • Additional shipping costs apply to Marketplace purchases. Review shipping costs at checkout.

Summary

Microcontrollers exist in a wide variety of models with varying structures and numerous application opportunities. Despite this diversity, it is possible to find consistencies in the architecture of most microcontrollers. Microcontrollers: Fundamentals and Applications with PICfocuses on these common elements to describe the fundamentals of microcontroller design and programming. Using clear, concise language and a top-bottom approach, the book describes the parts that make up a microcontroller, how they work, and how they interact with each other. It also explains how to program medium-end PICs using assembler language.Examines analog as well as digital signalsThis volume describes the structure and resources of general microcontrollers as well as PIC microcontrollers, with a special focus on medium-end devices. The authors discuss memory organization and structure, and the assembler language used for programming medium-end PICmicrocontrollers. They also explore how microcontrollers can acquire, process, and generate digital signals, explaining available techniques to deal with parallel input or output, peripherals, resources for real-time use, interrupts, and the specific characteristics of serial data interfaces in PIC microcontrollers. Finally, the book describes the acquisition and generation of analog signals either using resources inside the chip or by connecting peripheral circuits.Provides hands-on clarificationUsing practical examples and applications to supplement each topic, this volume provides the tools to thoroughly grasp the architecture and programming of microcontrollers. It avoids overly specific details so readers are quickly led toward design implementation. After mastering the material in this text, they will understand how to efficiently use PIC microcontrollers in a design process.

Table of Contents

Prefacep. xi
The Authorsp. xiii
Introduction to Microcontrollersp. 1
Microprocessors and Microcontrollers: Characterizationp. 1
Components of a Microcontrollerp. 3
The Watchdogp. 5
Reset Signalp. 6
Low Consumptionp. 7
Protection against Copyingp. 8
Von Neumann and Harvard Architecturesp. 9
CISC and RISC Architecturesp. 11
Manufacturers of Microcontrollers and Microprocessorsp. 12
PIC Microcontrollersp. 15
Main Characteristics of PIC Microcontrollersp. 15
The Arithmetic and Logic Unit (ALU) and the Working Register in PIC Microcontrollersp. 16
Machine Cycles and Execution of Instructionsp. 17
Pipelining for Instruction Executionp. 18
Oscillatorsp. 19
Configuration Bitsp. 21
Reset Optionsp. 22
Low-Power Consumption Modep. 27
Watchdog Timerp. 27
PIC Microcontroller Familiesp. 28
Low-End Microcontrollersp. 29
Medium-End Microcontrollersp. 30
High-End Microcontrollersp. 32
Memory in Microcontrollersp. 39
Basic Conceptsp. 39
Logic Organization of Memoryp. 41
Types of Memoryp. 43
Memory in Medium-End PIC Microcontrollersp. 44
Program Memoryp. 44
Addressing Program Memoryp. 45
Reading and Writing the Program Memoryp. 47
RAM Data Memoryp. 51
Addressing Data Memoryp. 51
Special Function Registers (SFRs)p. 54
EEPROM Data Memoryp. 58
Instruction Set and Assembler Language Programmingp. 61
Basic Conceptsp. 61
Machine Code and Assembler Languagep. 61
Structure of Instructionsp. 64
Data Addressing Modesp. 65
The Stackp. 67
Instruction Set in Medium-End PIC Microcontrollersp. 69
Data Transfer Instructionsp. 71
Arithmetic and Logic Instructionsp. 72
Control Transfer Instructionsp. 74
Unconditional Branches, Subroutine Calls, and Returnsp. 74
Conditional Branchesp. 78
Bit Manipulation Instructionsp. 81
Other Instructionsp. 81
Assembler Language Elements (for MPASM Assembler from Microchip)p. 82
Introductionp. 82
Expressions, Operations, and Operatorsp. 87
Arithmetic Operatorsp. 87
Logic and Boolean Operatorsp. 89
Logic Operators Using Direct Bit Manipulationp. 90
Assign Operatorsp. 90
Addressing Operatorsp. 92
Directivesp. 93
General Use Directivesp. 94
Directives for Relocatable Codep. 98
Macroinstructionsp. 103
Organization of a Program in Assembler Languagep. 105
Available Resources for Programming PIC Microcontrollers in Assembler Languagep. 110
The MPASM Assemblerp. 111
Absolute Code Generationp. 112
Relocatable Code Generationp. 112
Files Used and Generated during the Assembling Processp. 112
The Linker MPLINKp. 115
Library Manager MPLIBp. 117
Parallel Input and Outputp. 121
Basic Conceptsp. 121
Data Transfer Techniquesp. 122
Input/Output Techniquesp. 124
Parallel Ports in Medium-End PIC Microcontrollersp. 126
Port Ap. 129
Port Bp. 130
Port Cp. 131
Ports D, E, F, and Gp. 131
Parallel Slave Port (PSP)p. 132
Connection of Commonly Used Peripheralsp. 134
Switches and LEDsp. 134
Matrix Keypadsp. 138
Seven-Segment LEDsp. 145
Alphanumeric Liquid-Crystal Displaysp. 148
Timersp. 157
Timers in PIC Microcontrollersp. 157
Timer0 Modulep. 157
Timer1 Modulep. 162
Timer2 Modulep. 166
The CCP Modulep. 168
Capture Modep. 169
Compare Modep. 174
PWM Modep. 176
Interruptsp. 183
Basic Conceptsp. 183
Interrupt Requests and Associated Resourcesp. 183
Servicing Interrupt Requestsp. 185
Fixed and Vectored Interruptsp. 187
Interrupts in PIC Microcontrollersp. 189
Interrupt Sources and Associated Registersp. 189
Interrupt Service Subroutine Structurep. 194
Examples of Interrupt Applicationsp. 198
Real-Time Clockp. 198
Synchronization of Events to Real-Time Clockp. 202
Protection against Hardware Malfunctionsp. 205
Serial Input and Outputp. 207
Basic Conceptsp. 207
Introduction to Serial Data Transmissionp. 207
Asynchronous Communicationp. 209
Synchronous Communicationp. 209
Connection between Equipment RS-232C Interfacep. 210
The I2C Busp. 212
The USART Serial Port in PIC Microcontrollersp. 216
General Descriptionp. 217
Asynchronous Modep. 217
Synchronous Modep. 220
Communication Speedp. 221
The Synchronous Serial Port in PIC Microcontrollersp. 223
SPIp. 223
I2C Interfacep. 228
Analog Input and Output: Signal Acquisition and Distributionp. 233
Structure of a System for Signal Acquisition and Distributionp. 233
Basic Functions of Measurement and Control Systemsp. 233
Dynamic Rangep. 236
Bandwidthp. 238
Signal Samplingp. 239
Architectures for Signal Acquisition: High-Level and Low-Level Mutiplexingp. 240
The Front-End in Data Acquisition Systemsp. 242
Attenuatorsp. 243
Amplifiersp. 247
Input Protections and Filtersp. 251
Analog Multiplexersp. 253
Anti-Alias Filtersp. 255
Sample-and-Hold Amplifierp. 257
A/D Convertersp. 259
The 10-Bit A/D Converter Module in PIC Microcontrollersp. 262
Architecture of the Conversion Modulep. 262
A/D Conversion Timingp. 266
A/D Conversion Module Programmingp. 269
Calibrationp. 271
Direct Sensor-Microcontroller Interfacep. 273
Analog Back-Endp. 276
D/A Convertersp. 276
Analog Demultiplexingp. 277
Extrapolation Methodsp. 277
PWM Outputsp. 278
Output Protectionsp. 280
Appendix: Acronymsp. 283
Bibliographyp. 285
Indexp. 287
Table of Contents provided by Ingram. All Rights Reserved.

An electronic version of this book is available through VitalSource.

This book is viewable on PC, Mac, iPhone, iPad, iPod Touch, and most smartphones.

By purchasing, you will be able to view this book online, as well as download it, for the chosen number of days.

Digital License

You are licensing a digital product for a set duration. Durations are set forth in the product description, with "Lifetime" typically meaning five (5) years of online access and permanent download to a supported device. All licenses are non-transferable.

More details can be found here.

A downloadable version of this book is available through the eCampus Reader or compatible Adobe readers.

Applications are available on iOS, Android, PC, Mac, and Windows Mobile platforms.

Please view the compatibility matrix prior to purchase.