Microcontroller Theory and Applications
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.
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
- Introduction to Microcontrollers and the PIC18F Family
- PIC18F Architecture and Memory Organization
- Development Tools and C Compiler Basics (MPLAB, XC8, PICkit)
- Digital I/O and Port Interfacing
- Timers and Counters
- Interrupts and Real-time Event Handling
- Analog-to-Digital Conversion and Signal Conditioning
- Pulse-Width Modulation and Motor/Power Control
- Serial Communication: USART, SPI, and I2C
- Data Memory, EEPROM and Non-Volatile Storage
- Interfacing Displays, Keypads, and Sensors
- Embedded System Design Examples and Case Studies
- Appendices: Instruction Set/Assembly Notes and Reference Tables
Languages, Platforms & Tools
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.













