Text
Embedded computing and mechatronics with the PIC32 microcontroller
For the first time in a single reference, this book provides the beginner with a coherent and logical introduction to the hardware and software of the PIC32, bringing together key material from the PIC32 Reference Manual, Data Sheets, XC32 C Compiler User's Guide, Assembler and Linker Guide, MIPS32 CPU manuals, and Harmony documentation. This book also trains you to use the Microchip documentation, allowing better life-long learning of the PIC32. The philosophy is to get you started quickly, but to emphasize fundamentals and to eliminate "magic steps" that prevent a deep understanding of how the software you write connects to the hardware.
Applications focus on mechatronics: microcontroller-controlled electromechanical systems incorporating sensors and actuators. To support a learn-by-doing approach, you can follow the examples throughout the book using the sample code and your PIC32 development board. The exercises at the end of each chapter help you put your new skills to practice.
Table of contents
I: Quickstart
Chapter 1: Quickstart
II: Fundamentals
Chapter 2: Hardware
Chapter 3: Software
Chapter 4: Using Libraries
Chapter 5: Time and Space
Chapter 6: Interrupts
III: Peripheral Reference
Chapter 7: Digital Input and Output
Chapter 8: Counter/Timers
Chapter 9: Output Compare
Chapter 10: Analog Input
Chapter 11: UART
Chapter 12: SPI Communication
Chapter 13: I2C Communication
Chapter 14: Parallel Master Port
Chapter 15: Input Capture
Chapter 16: Comparator
Chapter 17: Sleep, Idle, and the Watchdog Timer
Chapter 18: Flash Memory
Chapter 19: Controller Area Network (CAN)
Chapter 20: Harmony and Its Application to USB
IV: Mechatronics
Chapter 21: Sensors
Chapter 22: Digital Signal Processing
Chapter 23: PID Feedback Control
Chapter 24: Feedback Control of LED Brightness
Chapter 25: Brushed Permanent Magnet DC Motors
Chapter 26: Gearing and Motor Sizing
Chapter 27: DC Motor Control
Chapter 28: A Motor Control Project
Chapter 29: Other Actuators
Appendix A: A Crash Course in C
Appendix B: Circuits Review
Appendix C: Other PIC32 Models
Index
No other version available