The new generation of 32-bit PIC microcontrollers can be used to solve the increasingly complex embedded system design challenges faced by engineers today. This book teaches the basics of 32-bit C programming, including an introduction to the PIC 32-bit C compiler. It includes a full description of
Embedded computing and mechatronics with the PIC32 microcontroller
โ Scribed by Elwin, Matthew; Lynch, Kevin M.; Marchuk, Nicholas
- Publisher
- Newnes is an imprint of Elsevier
- Year
- 2015
- Tongue
- English
- Leaves
- 613
- Edition
- 1
- Category
- Library
No coin nor oath required. For personal study only.
โฆ Synopsis
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.
Coverage includes:
- A practical introduction to the C programming language
- Getting up and running quickly with the PIC32
- An exploration of the hardware architecture of the PIC32 and differences among PIC32 families
- Fundamentals of embedded computing with the PIC32, including the build process, time- and memory-efficient programming, and interrupts
- A peripheral reference, with extensive sample code covering digital input and output, counter/timers, PWM, analog input, input capture, watchdog timer, and communication by the parallel master port, SPI, I2C, CAN, USB, and UART
- An introduction to the Microchip Harmony programming framework
- Essential topics in mechatronics, including interfacing sensors to the PIC32, digital signal processing, theory of operation and control of brushed DC motors, motor sizing and gearing, and other actuators such as stepper motors, RC servos, and brushless DC motors
For more information on the book, and to download free sample code, please visit http://www.nu32.org
- Extensive, freely downloadable sample code for the NU32 development board incorporating the PIC32MX795F512H microcontroller
- Free online instructional videos to support many of the chapters
โฆ Table of Contents
Content:
Front Matter,Copyright,Dedication,Preface,AcknowledgmentsEntitled to full textI: QuickstartChapter 1 - Quickstart, Pages 3-14
Chapter 2 - Hardware, Pages 17-34
Chapter 3 - Software, Pages 35-57
Chapter 4 - Using Libraries, Pages 59-68
Chapter 5 - Time and Space, Pages 69-89
Chapter 6 - Interrupts, Pages 91-111
Chapter 7 - Digital Input and Output, Pages 115-121
Chapter 8 - Counter/Timers, Pages 123-131
Chapter 9 - Output Compare, Pages 133-143
Chapter 10 - Analog Input, Pages 145-158
Chapter 11 - UART, Pages 159-176
Chapter 12 - SPI Communication, Pages 177-190
Chapter 13 - I2C Communication, Pages 191-211
Chapter 14 - Parallel Master Port, Pages 213-220
Chapter 15 - Input Capture, Pages 221-225
Chapter 16 - Comparator, Pages 227-232
Chapter 17 - Sleep, Idle, and the Watchdog Timer, Pages 233-238
Chapter 18 - Flash Memory, Pages 239-247
Chapter 19 - Controller Area Network (CAN), Pages 249-265
Chapter 20 - Harmony and Its Application to USB, Pages 267-313
Chapter 21 - Sensors, Pages 317-340
Chapter 22 - Digital Signal Processing, Pages 341-374
Chapter 23 - PID Feedback Control, Pages 375-385
Chapter 24 - Feedback Control of LED Brightness, Pages 387-397
Chapter 25 - Brushed Permanent Magnet DC Motors, Pages 399-425
Chapter 26 - Gearing and Motor Sizing, Pages 427-437
Chapter 27 - DC Motor Control, Pages 439-458
Chapter 28 - A Motor Control Project, Pages 459-490
Chapter 29 - Other Actuators, Pages 491-514
Appendix A - A Crash Course in C, Pages 515-585
Appendix B - Circuits Review, Pages 587-609
Appendix C - Other PIC32 Models, Pages 611-615
Index, Pages 617-625
๐ SIMILAR VOLUMES
This book is a hands-on introduction to the principles and practice of embedded system design using the PIC microcontroller. Packed with helpful examples and illustrations, it gives an in-depth treatment of microcontroller design, programming in both assembly language and C, and features advanced to
This book is a hands-on introduction to the principles and practice of embedded system design using the PIC microcontroller. Packed with helpful examples and illustrations, it gives an in-depth treatment of microcontroller design, programming in both assembly language and C, and features advanced to
This book is a hands-on introduction to the principles and practice of embedded system design using the PIC microcontroller. Packed with helpful examples and illustrations, it gives an in-depth treatment of microcontroller design, programming in both assembly language and C, and features advanced to
This book is a hands-on introduction to the principles and practice of embedded system design using the PIC microcontroller. Packed with helpful examples and illustrations, it gives an in-depth treatment of microcontroller design, programming in both assembly language and C, and features advanced to