Some simple examples for Explorer 16 Development Board of Microchip.
Project Name | Short description | [1] | [2] |
---|---|---|---|
ChronometerTimer1SOSC | Display a chronometer in LCD by using Timer1 Interrupt and SOSC as clock source, change notification interrupt on S3 to start/reset the chronometer. Precision 1/32s. | x | x |
ClockTimer1SOSC | Display a Clock in LCD by using Timer1 Interrupt and SOSC as clock source, change notification interrupt on S3 to start/reset the clock. | x | x |
D10OnOffS3 | Switch on D10 LED by pressing and holding S3 switch button, LED is switched off when it's not pressed. | x | x |
D10ToggleTimer1 | Toggle switch on/off the D10 LED @ 1 Hz using Timer1 Interrupt and SOSC as clock source. | x | x |
D10FlashDelay | Flash LED D10 using __delay_ms(d) macro. | x | x |
LCDHelloWorld4MIPS | Print a message in the LCD Display @ 4 MIPS. | x | x |
LCDHelloWorld8MIPS | Print a message in the LCD Display @ 8 MIPS. | x | x |
LCDHelloWorld16MIPS | Print a message in the LCD Display @ 16 MIPS. | x | x |
LEDsOnOffS3 | Switch on D3:D10 LEDs by pressing and holding S3 switch button, LED is switched off when it's not pressed. | x | x |
LEDsToggleTimer1 | Toggle switch on/off the D3:D10 LEDs @ 1 Hz using Timer1 Interrupt and SOSC as clock source. | x | x |
ToggleD9D10CNIS3 | Toggle switch on/off the D9/D10 LEDs using the Change Notification Interrupt on S3 switch button. | x | x |
[1] PIC24FJ128GA010, [2] dsPIC33FJ256GP710A
Module Name | Project Name | [1] | [2] |
---|---|---|---|
Write to output pin / D10 | D10FlashDelay | x | x |
Use delay macro | D10FlashDelay | x | x |
Read from input pin / S3 | D10OnOffS3 | x | x |
Write to LCD using Parallel Master Port (PMP) | LCDHelloWorld4MIPS | x | |
Write to LCD (w/ PMP) | LCDHelloWorld | x | x |
Parallel write to output pins / D3:10 | LEDsOnOffS3 | x | x |
Change Notification Interrupt / S3 | ToggleD9D10CNIS3 | x | x |
Low-Power Secondary Oscillator (SOSC) / Timer 1 | D10ToggleTimer1 | x | x |
[1] PIC24FJ128GA010, [2] dsPIC33FJ256GP710A
# | Project Name | Modules |
---|---|---|
1 | D10FlashDelay | Write to output pin / D10; Use delay macro; |
2 | D10OnOffS3 | Write to output pin / D10; Read from input pin / S3; |
3 | LCDHelloWorld4MIPS | Write to LCD @ 4 MIPS (Busy flag check) |
4 | LCDHelloWorld8MIPS | Write to LCD @ 8 MIPS (Busy flag check) |
5 | LCDHelloWorld16MIPS | Write to LCD @ 16 MIPS (Busy flag check) |
6 | LEDsOnOffS3 | Parallel write to output pins / D3:10; Read from input pin / S3; Write to LCD; |
7 | ToggleD9D10CNIS3 | Change Notification Interrupt / S3; Write to output pin / D10; Write to LCD; |
8 | D10ToggleTimer1 | Low-Power Secondary Oscillator (SOSC) / Timer 1; Write to output pin / D10; Write to LCD; |
9 | LEDsToggleTimer1 | Low-Power Secondary Oscillator (SOSC) / Timer 1; Write to output pins / D3:10; Write to LCD; |
10 | ClockTimer1SOSC | Low-Power Secondary Oscillator (SOSC) / Timer 1; Change Notification Interrupt / S3; Write to LCD; |
11 | ChronometerTimer1SOSC | Low-Power Secondary Oscillator (SOSC) / Timer 1; Change Notification Interrupt / S3; Write to LCD; |
- MPLAB X IDE is a software program that runs on a PC (Windows®, Mac OS®, Linux®), supports project management, code editing, debugging and programming of Microchip microcontrollers.
- MPLAB XC16 is a C compiler for 16-bit PIC devices.
- Explorer 16 Development Board with ICD3 Bundle, Part Number: DV164037
or
- Development Board:
- Explorer 16 Development Board with 100-pin PIM, Part Number: DM240001 or
- Explorer 16/32 Development Board, Part Number: DM240001-2
- Supported Processor Plug-In Modules (PIMs):
- dsPIC33FJ256GP710A Plug-In-Module Part Number: MA330011
- PIC24FJ128GA010 Plug-In-Module Part Number: MA240011
- 9V power supply, Part Number: AC162039, AC002014
- Hardware debugger/programmer: MPLAB REAL ICE, MPLAB ICD or PICkit