1st Edition

Microcontrollers Fundamentals and Applications with PIC

    312 Pages 164 B/W Illustrations
    by CRC Press

    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 PIC focuses 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 signals

     

    This 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 PIC microcontrollers. 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 clarification

    Using 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.

    Introduction to Microcontrollers

    Microprocessors and Microcontrollers: Characterization

    Components of a Microcontroller

    Von Neumann and Harvard Architectures

    CISC and RISC Architectures

    Manufacturers of Microcontrollers and Microprocessors

    PIC Microcontrollers

    Main Characteristics of PIC Microcontrollers

    PIC Microcontroller Families

    Memory in Microcontrollers

    Basic Concepts

    Memory in Medium-End PIC Microcontrollers

    Instruction Set and Assembler Language Programming

    Basic Concepts

    Instruction Set in Medium-End PIC Microcontrollers

    Assembler Language Elements (for MPASM Assembler from Microchip)

    Available Resources for Programming PIC

    Microcontrollers in Assembler Language

    Parallel Input and Output

    Basic Concepts

    Parallel Ports in Medium-End PIC Microcontrollers

    Connection of Commonly Used Peripherals

    Timers

    Timers in PIC Microcontrollers

    The CCP Module

    Interrupts

    Basic Concepts

    Interrupts in PIC Microcontrollers

    Examples of Interrupt Applications

    Serial Input and Output

    Basic Concepts

    The USART Serial Port in PIC Microcontrollers

    The Synchronous Serial Port in PIC Microcontrollers

    Analog Input and Output: Signal Acquisition and Distribution

    Structure of a System for Signal Acquisition and Distribution

    The Front-End in Data Acquisition Systems

    The 10-Bit A/D Converter Module in PIC

    Microcontrollers

    Calibration

    Direct Sensor–Microcontroller Interface

    Analog Back-End

    Appendix: Acronyms

    Bibliography

    Biography

    Fernando E. Valdes-Perez, Ramon Pallas-Areny