EmbeddedRelated.com
Books
Jacob Beningo
Live online course · Jacob Beningo
AI for Embedded Developers
$100 off for EmbeddedRelated readers until Dec 6 · 5 live sessions, Dec 7-11
Discount ends in
26days 01hrs 25min 57sec
Learn More →

Microcontroller Theory and Applications

Rafiquzzaman, M. ● 2011

Rafiquzzaman's Microcontroller Theory and Applications with the PIC 18F has been designed for a one-semester or one-quarter course in microcontrollers taught at the undergraduate level in electrical/computer engineering and computer science departments. The students are expected to have a background in C language and digital logic (both combinational and sequential) design. Practitioners of microcontroller-based applications will find more simplified explanations, together with examples and comparisons considerations, than are found in manufacturers' manuals.


Why Read This Book

You should read this book if you want a compact, application-focused introduction to the PIC18F family that takes you from device architecture to real firmware examples in C. It emphasizes practical peripheral usage and interfacing examples, making it easier to go from datasheet to working prototype.

Who Will Benefit

Undergraduate students and practicing embedded engineers who know basic C and digital logic and need a hands-on guide to programming and interfacing PIC18F microcontrollers.

Level: Intermediate — Prerequisites: Basic C programming and digital logic (combinational and sequential) background.

Get This Book

Key Takeaways

  • Write and organize firmware in C for PIC18F microcontrollers using common development flows.
  • Configure and use PIC18F on-chip peripherals (GPIO, timers, ADC, PWM) effectively.
  • Implement interrupt-driven designs and handle peripheral interactions reliably.
  • Develop serial communications (USART) and bus interfaces (SPI/I2C) to connect sensors and modules.
  • Use Microchip development tools (MPLAB/XC8) and programmers/debuggers to build and test projects.
  • Design basic hardware interfaces and translate manufacturer datasheet details into working circuits.

Topics Covered

  1. Introduction to Microcontrollers and the PIC18F Family
  2. PIC18F Architecture and Memory Organization
  3. Development Tools and C Compiler Basics (MPLAB, XC8, PICkit)
  4. Digital I/O and Port Interfacing
  5. Timers and Counters
  6. Interrupts and Real-time Event Handling
  7. Analog-to-Digital Conversion and Signal Conditioning
  8. Pulse-Width Modulation and Motor/Power Control
  9. Serial Communication: USART, SPI, and I2C
  10. Data Memory, EEPROM and Non-Volatile Storage
  11. Interfacing Displays, Keypads, and Sensors
  12. Embedded System Design Examples and Case Studies
  13. Appendices: Instruction Set/Assembly Notes and Reference Tables

Languages, Platforms & Tools

CAssemblyMicrochip PIC18FPIC microcontrollersMPLAB IDEXC8 compilerPICkit / ICD debuggers

How It Compares

Covers similar practical ground to Mazidi's "PIC Microcontroller and Embedded Systems" but is more tutorial/course-oriented and slightly less exhaustive on low-level details; less modern than some recent PIC/C guides but still useful for PIC18F-focused projects.

Related Books

Bryant, Randal, O'Hallaron,...