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 00hrs 45min 03sec
Learn More →

Designing Embedded Systems with PIC Microcontrollers: Principles and Applications

Wilmshurst, Tim ● 2009

PIC microcontrollers are used worldwide in commercial and industrial devices. The 8-bit PIC which this book focuses on is a versatile work horse that completes many designs. An engineer working with applications that include a microcontroller will no doubt come across the PIC sooner rather than later. It is a must to have a working knowledge of this 8-bit technology.

This book takes the novice from introduction of embedded systems through to advanced development techniques for utilizing and optimizing the PIC family of microcontrollers in your device. To truly understand the PIC, assembly and C programming language must be understood. The author explains both with sample code and examples, and makes the transition from the former to the latter an easy one. This is a solid building block for future PIC endeavors.

New to the 2nd Edition:
*Include end of chapter questions/activities moving from introductory to advanced
*More worked examples
*Includes PowerPoint slides for instructors
*Includes all code snips on a companion web site for ease of use
*A survey of 16/32-bit PICs
*A project using ZigBee


*Covers both assembly and C programming languages, essential for optimizing the PIC
*Amazing breadth of coverage moving from introductory to advanced topics covering more and more complex microcontroller families
*Details MPLAB and other Microchip design tools


Why Read This Book

You should read this book if you need a hands‑on, system‑level introduction to 8‑bit PIC microcontrollers that takes you from basic concepts to practical designs. You will learn both PIC assembly and C programming, how to use timers, ADC, PWM and serial buses, and how to apply real‑world considerations like low‑power operation, debugging and PCB/interface design.

Who Will Benefit

Embedded engineers, firmware developers and hobbyists who need to design, program, and debug products based on 8‑bit Microchip PIC (PIC12/16/18) microcontrollers.

Level: Intermediate — Prerequisites: Basic digital electronics and microcontroller concepts plus familiarity with C programming or willingness to learn PIC assembly alongside C.

Get This Book

Key Takeaways

  • Understand the architecture and instruction set of 8‑bit PIC microcontrollers and choose the right device for a job.
  • Write and optimise firmware in both PIC assembly and embedded C, and move effectively between the two.
  • Configure and use core peripherals: timers, interrupts, ADC, PWM, UART, SPI and I2C for common embedded tasks.
  • Implement low‑power techniques, EEPROM/flash handling and robust peripheral interfacing in real designs.
  • Use development tools and hardware programmers/debuggers (MPLAB, PICkit/ICD) and apply practical debugging and PCB/interface practices.

Topics Covered

  1. Introduction to embedded systems and the PIC family
  2. PIC architecture, CPU core and instruction set
  3. Development tools, assemblers and compilers
  4. Programming PIC in assembly: basics and examples
  5. Embedded C for PICs and transitioning from assembly
  6. Digital I/O, ports and interrupt handling
  7. Timers, counters and event timing
  8. Analog interfacing: ADC, sensors and conditioning
  9. Pulse‑width modulation and motor/actuator control
  10. Serial communications: UART, SPI and I2C
  11. Memory, EEPROM and data storage techniques
  12. Power management and low‑power design
  13. Debugging, testing and programming hardware (PICkit/ICD)
  14. Practical design examples, PCB and EMC considerations
  15. Advanced topics and optimisation techniques

Languages, Platforms & Tools

Assembly (PIC assembly)CMicrochip PIC12Microchip PIC16Microchip PIC18Microchip MPLAB IDEMPLAB XC compilers / Hi‑Tech C (historical)PICkit / ICD hardware debuggersSimulators and assemblers

How It Compares

Similar ground is covered by Mazidi et al.'s 'PIC Microcontroller and Embedded Systems' (more of a reference and textbook), while Wilmshurst is more pragmatic and systems‑oriented with hands‑on examples and design advice.

Related Books

Bryant, Randal, O'Hallaron,...