PIC32book
From Mech
Welcome to the webpage for Mechatronics and Embedded Control with the PIC32 Microcontroller, by Kevin Lynch, Nick Marchuk, and Matt Elwin.
Downloadable Chapters
Several chapters are available for download.
Videos
Videos supporting the book can be found here.
Equipment
The equipment used in the book can be purchased here.
Sample Code
All sample code in the book can be downloaded here.
Errata
Errata will go here.
Supplemental Resources
Updates, further reading, data sheets, online resources, and other user-contributed code will be posted here, by chapter.
Chapter 1: Quickstart
- Text editors (Choose one)
- Notepad++ (Windows)
- TextWrangler (Mac)
- Sublime Text (Mac)
- Gedit (Windows/Mac/Linux)
- > sudo apt-get install gedit (Ubuntu)
- vim (Windows/Mac/Linux)
- > sudo apt-get install vim-gtk (Ubuntu)
- emacs (Windows/Mac/Linux)
- > sudo apt-get install emacs (Ubuntu)
- The Native C compiler
- Make
- gnuWin32 Make (Windows)
- Already installed with Xcode (Mac)
- Your distribution's package manger (Linux)
- Already installed with gcc (Ubuntu)
- Microchip XC32 compiler
- MPLAB Harmony
- FTDI virtual COM port
- Terminal Emulator:
- PIC32quickstart.zip
- Updated NU32 Makefile! Rename this file as Makefile, edit the first six lines to have the correct paths (taken from your old Makefile), and place it in your skeleton folder, replacing your old Makefile.
Chapter 4: Using Libraries
- Data sheet for the HD44780 16x2 character LCD. There are many pin-compatible 16x2 character LCDs that will work, such as the KS0066U and HJ1602A.