New publication; industrial systems design with the PIC32 MCU

April 21, 2016 // By Graham Prophet
Just published is “Embedded Computing and Mechatronics with the PIC32 Microcontroller” by Kevin Lynch, Nicholas Marchuk and Matthew Elwin, with a target readership spanning students, professionals and hobbyists.

The publishers say that, for the first time in a single reference, this book provides beginners 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. It trains readers to use the Microchip documentation, allowing better learning of the PIC32. Applications focus on mechatronics: microcontroller-controlled electromechanical systems incorporating sensors and actuators. Readers can follow the examples throughout the book using the sample code and a PIC32 development board. The exercises at the end of each chapter help readers put their new skills to practice.


The philosophy is to get readers started quickly, but to emphasize fundamentals and to eliminate "magic steps" that prevent a deep understanding of how the software they write connects to the hardware.


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, I ²C, 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


The authors are; Kevin Lynch, Professor and Department Chair of the Mechanical Engineering Department at Northwestern University (Evanston, Illinois); Nicholas Marchuk, Lecturer in Mechatronics and director of the Mechatronics Design Lab at Northwestern University; and Matthew Elwin, currently a PhD