Microchip PICs
From Mech
Revision as of 14:47, 14 July 2012 by AndrewKessler (talk | contribs) (→Using the NU32 (Winter 2012 and on))
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.
Link to all PIC18F sample code here.
The NUScope
Using the NU32 (Winter 2012 and on)
- NU32: Introduction to the PIC32
- Sample Code
- NU32: Serial Communication with the PC
- NU32: 16x2 LCD
- NU32: Digital Input and Output
- NU32: Counters and Timers
- NU32: Interrupts
- NU32: Output Compare, PWM, and Analog Output
- NU32: Analog Input
- NU32: Using the dsPIC33FJ12MC201 QEI to SPI board
- NU32: Using the MAX9918 current sensor
- NU32: Using the TB6612 H-Bridge
- NU32: Driving RC servo motors
- NU32: Driving a stepper motor
- NU32: Using the LS7183 Quadrature Clock Converter
- NU32: Using the L293D H-Bridge
- NU32: Digital Signal Processing
- NU32: Input Capture
- NU32: Flash Self-Programming
- NU32: UART Asynchronous Serial Communication
- NU32: I2C Synchronous Serial Communication
- NU32: SPI Synchronous Serial Communication
- NU32: Watchdog Timer
- NU32: VC0706 Serial Camera
- NU32: Using the MCP42X1 SPI Digital Potentiometer
Using the NU32v2 (Winter 2011)
- NU32v2: Introduction to the PIC32
- Sample Code
- NU32v2: Digital Input and Output
- NU32v2: Counters and Timers
- NU32v2: Interrupts
- NU32v2: Output Compare, PWM, and Analog Output
- NU32v2: Serial Communication with the PC
- NU32v2: Nokia 5110 LCD
- NU32v2: Analog Input
- NU32v2: Using the LS7183 Quadrature Clock Converter
- NU32v2: Using the L293D H-Bridge
- NU32v2: Input Capture
- NU32v2: Flash Self-Programming
- NU32v2: UART Asynchronous Serial Communication
- NU32v2: I2C Synchronous Serial Communication
- NU32v2: SPI Synchronous Serial Communication
- NU32v2: Digital Signal Processing
- NU32v2: Watchdog Timer
- NU32v2: Simple Analog Input
Using the PIC18F4520
- 4520 Board intro
- 4520 Board construction
- 4520 Board use
- Microcontroller PIC18F4520
- PIC MCUs: Capabilities of PIC18F4520
Example Code in C for PIC18F4520
- C Example: Parallel Interfacing with LCDs
- C Example: Digital Inputs
- C Example: PWM Motor Control
- C Example: Comparators
- C Example: Digital Outputs
- C Example: Analog Inputs
- C Example: Digital Outputs (Ports)
- C Example: Bi-Directional PWM Motor Control
- C Example: Serial LCD
Using the PIC32MX Series
- Introduction to the PIC32
- Getting Started with PIC32 (includes NU32 development board)
- Download PIC32 Tutorial Files here.
- ME 333 Lab 2 - Includes Digital IO, Analog Input, Parallel LCD and RS232 Com
- ME 333 Lab 4 - Includes PWM and Encoder Motor Control
- Microcontroller PIC32MX460F512L
- Programming HID Bootloader on PIC32
- Directions to code HelloWorld
- Directions to Load Files to PIC32 with HID Bootloader
- PIC MCUs: Capabilities of PIC32MX
- PIC32MX: Bootloader
- Simple Programs
- Communication
- Motor Control
- Capabilities
Other PIC Resources
- PIC PWM Motor Driver
- Writing Code with the C18 Compiler
- Controlling a seven segment display
- PIC Microcontrollers with C18 Compiler
- PIC Motor Control and Serial Port Example
- PIC16F684
- PIC Microcontrollers with CCS Compiler
- Stepper motor control with the PIC
- PIC/C18 Compiler Tips and Troubleshooting
- CCS C
- Analog Input
- PIC MCUs: Hardware and Connections
- Storing constant data in program memory
- PIC Analog-Digital-Converter Example
- PIC Microcontroller
- Digital inputs & outputs
- Debugging C on a PIC
- Analog Output
- PIC MCUs: Software
- Interfacing to External EEPROM
- CCS IDE
- Interrupts
- PIC16F684 Registers
- Waveform Generation with AD9833
- Waveform Generation with AD9833, and SPI
- PIC computation time benchmarks
- PICkit 1
- PIC MCUs: 4520 Board
- More debugging tips
- Example Writeup: Analog Input
- LED Drivers
- Embedded Programming Tips for CCS C
- Wireless PIC bootloading
- PIC 18f4553
- I2C Motor Controller
- Driving a piezo speaker with a PIC
- PIC Servo Controller
- Watchdog timer
- Interfacing PIC with SPI memory
- Using the LS7166 Quadrature Counter