
- 498 pages
- English
- PDF
- Available on iOS & Android
Microcontroller Theory and Applications with the PIC18F
About this book
Straightforward and comprehensive textbook on programming and interfacing techniques for the PIC18F4321 microcontroller, supported by hundreds of illustrations throughout
Microcontroller Theory and Applications with the PIC18F presents core information on the theory of microcontrollers and the fundamental concepts of assembly and C language programming and interfacing techniques associated with the Microchip's PIC18F4321 microcontroller. Characteristics and principles common to typical microcontrollers are emphasized, and basic microcontroller interfacing techniques are demonstrated via examples using the simplest possible devices such as switches, LEDs, Seven-Segment Displays, and the hexadecimal keyboard. In addition, interfacing the PIC18F with other devices such as LCD displays, ADC, DAC is also included. Furthermore, topics such as CCP (Capture, Compare, PWM) and Serial I/O using assembly and C languages along with simple examples are also provided.
Information on the design of the PIC18F-based digital DC voltmeter and interfacing the PIC18F with PWM (Pulse Width Modulation) mode to a DC motor using both assembly and C languages is provided. Finally, PIC18F Serial I/O examples using both SPI and I2C modes are also included. All these examples are illustrated by means of successful implementations in the laboratory.
Building on the success of previous editions, this Third Edition has been extensively revised to include enhanced clarity in each chapter and additional illustrations, end-of-chapter problems, and examples. Certain concepts such as stack, bank-memory, programmed I/O, interrupt I/O, and CCP have been rewritten to better relate them to the PIC18F. Details on the MPLABX assembler/debugger and XC8 C-Compiler are now included as well.
Microcontroller Theory and Applications with the PIC18F includes information on:
- Microcontroller data types, unsigned and signed binary numbers and ASCII code, unpacked and packed binary-coded-decimal numbers, and the evolution of the microcontroller
- Provides guidelines on how to choose the right language (Assembly or C ) for specific applications
- PIC18F architecture and addressing modes, covering register architecture, memory organization, and program and data memories
- Programming PIC18F programmed I/O, interrupt I/O, and interfacing PIC18F4321 to a hexadecimal keyboard and a seven-segment display
- ADC, DAC, CCP, and Serial I/O interfacing techniques
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Information
Table of contents
- Cover
- Title Page
- Copyright Page
- Dedication
- Contents
- Preface
- About theĀ Companion Website
- Chapter 1 Introduction to Microcontrollers
- Chapter 2 Microcontroller Basics
- Chapter 3 Microcontroller Memory and Input/Output (I/O)
- Chapter 4 Programming Languages
- Chapter 5 PIC18F Architecture and Addressing Modes
- Chapter 6 Assembly Language Programming with the PIC18F: Part 1
- Chapter 7 Assembly Language Programming with the PIC18F: Part 2
- Chapter 8 PIC18F Programmed I/O Using Assembly & C
- Chapter 9 PIC18F Interrupt I/O, LCD, and Keyboard Interfacing
- Chapter 10 PIC18F Timers and Analog Interface
- Chapter 11 PIC18F CCP and Serial I/O
- Appendix A Answers to Selected Problems
- Appendix B Glossary
- Appendix C PIC18F Instruction Set (Alphabetical Order)
- Appendix D Appendix DPIC18F Instruction SetĀ āĀ Details
- Appendix E PIC18F4321 Special Function Registers
- Appendix F Appendix FTutorial forĀ Assembling andĀ Debugging aĀ PIC18F Assembly Language Program Using theĀ MPLAB X
- Appendix G Tutorial forĀ Compiling andĀ Debugging aĀ C-Program Using theĀ Microchipās XC8 Compiler
- Appendix H Interfacing the PIC18F4321 to a Personal Computer or Laptop Using PICkitTM 4
- Bibliography
- Index
- EULA