Difference between revisions of "PIC32book"

From Mech
Jump to navigationJump to search
(Created page with "Welcome to the webpage for ''Mechatronics and Embedded Control with the PIC32 Microcontroller'', by Kevin Lynch, Nick Marchuk, and Matt Elwin. == Downloadable Chapters == Se...")
 
Line 3: Line 3:
== Downloadable Chapters ==
== Downloadable Chapters ==


Several chapters are available for download.
[[Media:book-draft-April1-2015.pdf|Several chapters are available for download.]]


== Videos ==
== Videos ==

Revision as of 06:23, 1 April 2015

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

Supplemental Resources

Updates, further reading, data sheets, online resources, and other user-contributed code will be posted here.

Chapter 1: Quickstart

  1. 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)
  2. The Native C compiler
    • MinGW (Windows)
    • Xcode (Mac)
    • Your distribution's package manager (Linux)
      • > sudo apt-get install build-essential (Ubuntu)
  3. Make
    • gnuWin32 Make (Windows)
    • Already installed with Xcode (Mac)
    • Your distribution's package manger (Linux)
      • Already installed with gcc (Ubuntu)
  4. Microchip XC32 compiler
  5. MPLAB Harmony
  6. FTDI virtual COM port
  7. Terminal Emulator:
    • PuTTY (Windows)
    • screen (Mac/Linux, probably already installed)
  8. PIC32quickstart.zip
  9. 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

  1. 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.