Difference between revisions of "Introduction to the PIC32"
(New page: [[Image:nu32_complete.jpg|thumb|300px|The NU32 board that breaks out the PIC32MX460F512L.|right] The [http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=2591 Microchip ...) |
|||
Line 1: | Line 1: | ||
[[Image:nu32_complete.jpg|thumb|300px|The NU32 board that breaks out the PIC32MX460F512L.|right] |
[[Image:nu32_complete.jpg|thumb|300px|The NU32 board that breaks out the PIC32MX460F512L.|right]] |
||
The [http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=2591 Microchip PIC32] is a family of complex and powerful microcontrollers that can be purchased for less than $10 in quantities of one. This microcontroller offers many peripherals useful for mechatronics purposes, such as analog to digital converters, digital I/O, synchronous and asynchronous serial communication, pulse width modulation, etc. For our purposes, the primary advantages of the 32-bit PICs over the 8-bit PICs we have used (and will continue to use) are that they are faster (max clock rate of 80 MHz compared to 40 MHz), offer more program memory (Flash) and data memory (RAM), and have significantly more computational horsepower due to the 32-bit address and data buses and single-cycle multiply for 32-bit integer math. The primary disadvantages are that they come only in surface mount packages, making them a bit harder to work with for fast prototyping compared to the DIP (dual-inline packages) 8-bit PICs that can be plugged right into a breadboard; and that they must be powered by 2.3-3.6 V, unlike the 5 V of some DIP chips we would like to interface them with. (Of course surface-mount and lower operating voltages are vastly superior for commercial embedded products, and we will find ways to work around these issues for our prototyping purposes.) |
The [http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=2591 Microchip PIC32] is a family of complex and powerful microcontrollers that can be purchased for less than $10 in quantities of one. This microcontroller offers many peripherals useful for mechatronics purposes, such as analog to digital converters, digital I/O, synchronous and asynchronous serial communication, pulse width modulation, etc. For our purposes, the primary advantages of the 32-bit PICs over the 8-bit PICs we have used (and will continue to use) are that they are faster (max clock rate of 80 MHz compared to 40 MHz), offer more program memory (Flash) and data memory (RAM), and have significantly more computational horsepower due to the 32-bit address and data buses and single-cycle multiply for 32-bit integer math. The primary disadvantages are that they come only in surface mount packages, making them a bit harder to work with for fast prototyping compared to the DIP (dual-inline packages) 8-bit PICs that can be plugged right into a breadboard; and that they must be powered by 2.3-3.6 V, unlike the 5 V of some DIP chips we would like to interface them with. (Of course surface-mount and lower operating voltages are vastly superior for commercial embedded products, and we will find ways to work around these issues for our prototyping purposes.) |
||
Revision as of 04:08, 2 January 2010
The Microchip PIC32 is a family of complex and powerful microcontrollers that can be purchased for less than $10 in quantities of one. This microcontroller offers many peripherals useful for mechatronics purposes, such as analog to digital converters, digital I/O, synchronous and asynchronous serial communication, pulse width modulation, etc. For our purposes, the primary advantages of the 32-bit PICs over the 8-bit PICs we have used (and will continue to use) are that they are faster (max clock rate of 80 MHz compared to 40 MHz), offer more program memory (Flash) and data memory (RAM), and have significantly more computational horsepower due to the 32-bit address and data buses and single-cycle multiply for 32-bit integer math. The primary disadvantages are that they come only in surface mount packages, making them a bit harder to work with for fast prototyping compared to the DIP (dual-inline packages) 8-bit PICs that can be plugged right into a breadboard; and that they must be powered by 2.3-3.6 V, unlike the 5 V of some DIP chips we would like to interface them with. (Of course surface-mount and lower operating voltages are vastly superior for commercial embedded products, and we will find ways to work around these issues for our prototyping purposes.)
Particular numbers referenced on this page refer to the PIC32MX460F512L chip, which is the PIC32 used on the NU32 board. The NU32 development board is shown at right. The NU32 board was designed by Andy Long to easily plug into a standard prototyping breadboard (DIP profile), allowing easy interfacing with the PIC. The NU32 board also has a voltage regulator, a USB connector, and a few LEDs and switches to allow you to get up and running quickly with only the assembled NU32 board, a USB cable, and a PC with free software downloaded from Microchip. See the [| getting started page].
The purpose of this page is to provide a brief overview of PIC32 hardware and programming for the beginner. Microchip provides many reference manuals, data sheets, application notes, and sample software, and there are many other helpful web resources to take you further.