Difference between revisions of "Microchip PICs"

From Mech
Jump to navigationJump to search
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''Note: Some of the code on the bottom of this page was written using the CCS compiler. All new code is being written using Microchip's MPLAB X.
'''Note: Some of the code on the bottom of this page was written using the CCS compiler. All new code is being written using Microchip's MPLAB X.


<b>[http://peshkin.mech.northwestern.edu/pic/code Link to all PIC18F sample code here.]</b>
*[[Sample code for most PIC18F4520 operations]]
*[http://www.ccsinfo.com/forum/ CCS user forum]
<br>
__TOC__
__TOC__
== The NUScope ==
*[[NUScope]]
== Using the NU32 (Winter 2012 and on) ==
== Using the NU32 (Winter 2012 and on) ==
*[[NU32: Introduction to the PIC32]]
*[[NU32: Introduction to the PIC32]]
Line 14: Line 8:
**[[NU32: Starting a New Project and Putting it on the NU32]]
**[[NU32: Starting a New Project and Putting it on the NU32]]
**[[NU32: A Detailed Look at Programming the PIC32 on the NU32]]
**[[NU32: A Detailed Look at Programming the PIC32 on the NU32]]
**[[NU32: Quickstart]]
**[[NU32: Bootloading from command line]]
* Sample Code
* Sample Code
**1 [[NU32: UART Asynchronous Serial Communication]]
**2 [[NU32: I2C Synchronous Serial Communication]]
**3 [[NU32: SPI Synchronous Serial Communication]]
**4 [[NU32: Using the Comparator]]
**5 [[NU32: Watchdog Timer]]
**6 [[NU32: Input Capture]]
**7 [[NU32: Pulse Width Modulation]]
**8 [[NU32: Analog-to-Digital Conversion]]

**[[NU32: Using the RTCC]]
**[[NU32: Flash Self-Programming]]
**[[NU32: CAN]]
**[[NU32: Writing to an SD Card]]

**[[NU32: Serial Communication with the PC]]
**[[NU32: Serial Communication with the PC]]
**[[NU32: 16x2 LCD]]
**[[NU32: 16x2 LCD]]
Line 25: Line 35:
**[[NU32: Using the MAX9918 current sensor]]
**[[NU32: Using the MAX9918 current sensor]]
**[[NU32: Using the TB6612 H-Bridge]]
**[[NU32: Using the TB6612 H-Bridge]]
**[[NU32: Using the LS7183 Quadrature Clock Converter]]
**[[NU32: Driving RC servo motors]]
**[[NU32: Driving a stepper motor]]
**[[NU32: Using the L293D H-Bridge]]
**[[NU32: Using the L293D H-Bridge]]
**[[NU32: Digital Signal Processing]]
**[[NU32: Digital Signal Processing]]

**[[NU32: Input Capture]]
**[[NU32: Flash Self-Programming]]
**[[NU32: VC0706 Serial Camera]]
**[[NU32: UART Asynchronous Serial Communication]]
**[[NU32: Using the MCP42X1 SPI Digital Potentiometer]]

**[[NU32: I2C Synchronous Serial Communication]]
== DIP-packaged PIC32's, the PIC32MX1XX/2XX Series ==
**[[NU32: SPI Synchronous Serial Communication]]
**[[NU32: Watchdog Timer]]
*[[PIC32 in DIP package]]

== The NUScope ==
*[[NUScope]]


== Using the NU32v2 (Winter 2011) ==
== Using the NU32v2 (Winter 2011) ==
Line 63: Line 77:


== Using the PIC18F4520 ==
== Using the PIC18F4520 ==
<b>[http://peshkin.mech.northwestern.edu/pic/code Link to all PIC18F sample code here.]</b>
*[[Sample code for most PIC18F4520 operations]]
*[http://www.ccsinfo.com/forum/ CCS user forum]
<br>
*[[4520 Board intro]]
*[[4520 Board intro]]
*[[4520 Board construction]]
*[[4520 Board construction]]

Latest revision as of 12:39, 2 January 2014

Note: Some of the code on the bottom of this page was written using the CCS compiler. All new code is being written using Microchip's MPLAB X.

Using the NU32 (Winter 2012 and on)

DIP-packaged PIC32's, the PIC32MX1XX/2XX Series

The NUScope

Using the NU32v2 (Winter 2011)

Using the PIC18F4520

Link to all PIC18F sample code here.


Example Code in C for PIC18F4520

Using the PIC32MX Series


Other PIC Resources

Programming the PIC with Microchip's MPLAB