Getting Started: Running the Application Notes demo

Required Hardware

Configuring the Software

Configuring the Hardware

Calibrating the Touch Screen

Demo Compatibility Matrix

 

Running the Application Notes Demo:

This demo shows four Graphics Application Note demos. The main screen shows folder icons for each application note. Press on a folder icon to launch a specific application note demo. Each application note will have a back button to go back to the main icon screen.

 

Running the Graphics AN1136 Demo:

This demo uses the selected hardware platform to show how Widgets are used in an application. Two buttons on the screen controls a slider and draws multiple bars to emulate a volume or a level. The buttons and slider can be controlled by the user through the touch screen. A user press on one of the buttons will move the slider and change the volume level. A touch on the left button moves the slider to the left and reduces the level. A touch on the right button moves the slider to the right and reduces the level.

 

Refer to the application note “How to Use Widgets in Microchip Graphics Library (AN1136)” downloadable in www.microchip.com/graphics under the Training and Support section for details.

 

Running the Graphics AN1182 Demo:

This demo uses the selected hardware platform to show how Fonts are used in an application. Two buttons on the screen controls an Edit Box contents. The Edit Box controls the phrase “Hello World” to be displayed in different languages (fonts).

 

Refer to the application note “Fonts in Microchip Graphics Library (AN1182)” downloadable in www.microchip.com/graphics under the Training and Support section for details.

 

Running the Graphics AN1227 Demo:

This demo uses the selected hardware platform to show how Microchip Graphics Library simplifies the design of a keyboard based GUI.

 

Refer to the application note “Using a Keyboard with the Microchip Graphics Library (AN1227)” downloadable in www.microchip.com/graphics under the Training and Support section for details.

 

Running the Graphics AN1246 Demo:

This demo and the accompanying application note serves as a useful guide in creating customized Widgets. The essential components of a Widget are enumerated and described in the application note as well as the process of integrating the new Widget into the Graphics Library.

 

Refer to the application note “How to Create Widgets in Microchip Graphics Library (AN1246)” downloadable in www.microchip.com/graphics under the Training and Support section for details.

 

Configuring the Software

To run the demo in the supported Development Board combination, set the proper hardware profile in the project HardwareProfile.h file:

 

·         To run the demo on selected Development Boards using QVGA display use:

#include "Configs/HWP_XXX_QVGAv1.h”

·         To run the demo on selected Development Boards using WQVGA display use:

#include "Configs/HWP_XXX_WQVGAv1.h”

·         To run the demo on Multimedia Expansion Board use:

#include "Configs/HWP_MEB_XXX.h”

 

Where: XXX represents any of the selected Development Boards.

 

The hardware profile file name refers to the combination of Development Boards that are used to run the demo. Refer to the abbreviations summary (link) for details.

 

The table below shows the hardware set up for the selected Development Boards attached to different Display Boards:

 

Required Hardware/Configuring the Hardware

 

Selected Development Boards

Graphics PICtail Board

3.2″ QVGA Truly TFT Display Board (AC164127-4)

4.3″ WQVGA Powertip TFT Display Board (AC164127-6)

5.7″ VGA Truly TFT Display Board (AC164127-8)

 

PIC24FJ256DA210 Development Board (DM240312)

none

(see note 1)

(see note 1)

(see note 4)

 

Multimedia Expansion Board (DM320005)

+

PIC32 USB Starter Kit II (DM320003-2)

OR

PIC32 Ethernet Starter Kit (DM320004)

OR

PIC32 Starter Kit (DM320001)

(see note 2)

 

Explorer 16 (DM240001)

+

PIC24FJ128GA010 Plug-In-Module (PIM) (MA240011)

OR

PIC24FJ256GA110 Plug-In-Module (PIM) (MA240015)

OR

PIC24FJ256GB110 Plug-In-Module (PIM) (MA240014)

OR

PIC24FJ256GB210 Plug-In-Module (PIM) (MA240021)

OR

PIC24HJ128GP504 Graphics Plug-In-Module (PIM) (MA240016-2)

OR

dsPIC33FJ128GP804 Graphics Plug-In-Module (PIM) (MA330019-2)

OR

PIC32MX 100P QFP TO 100P Plug-In-Module (PIM) (MA320001)

OR

PIC32MX USB Plug-In-Module (PIM) (MA320002)

OR

PIC32MX CAN-USB Plug-In-Module (PIM) (MA320003)

Graphics LCD Controller PICtail™ Plus SSD1926 Board (AC164127-5) (see note 3)

 

Explorer 16 (DM240001)

+

PIC24EP512GU810 Plug-In-Module (PIM) (MA240025-1)

OR

dsPIC33EP512MU810 Plug-In-Module(PIM) (MA330024-1)

Note:

1.     When using PIC24FJ256DA210 Development Board set the jumpers to:

-       JP8 – open (color depth is 16BPP, byte access is not performed)

-       JP9 – set to 1-2 (use Y- signal)

-       JP10 – set to 1-2 (use X+ signal)

-       JP11, JP12 – don’t care

-       JP13 – set to RG8-S1 (use S1 switch)

-       JP14 – set to RE9-S2 (use S2 switch)

-       JP15 – set to RB5-POT(RB5) (use potentiometer)

-       JP23 – set to 2-3 (use SPI Flash)

2.     The Multi-Media Expansion Board and the 3.2″ QVGA Truly TFT Display Board (AC164127-4) uses the same TFT display.

3.     When using Graphics LCD Controller PICtail™ Plus SSD1926 Board set the jumpers to:

-       JP1 – open

-       JP2 – depending on the PMP interface setting

- set to 1-2 (for 8-bit PMP)

- set to 2-3 (for 16-bit PMP)

-       JP3 – set to 1-2 (use RD1)

4.     To run this demo on the 5.7″ VGA Truly TFT Display Board (AC164127-8) with the PIC24FJ256DA210 Development Board at 16 bpp color depth, the refresh rate of the display must be set to 32 Hz instead of 60 Hz.

5.     The demo is not limited to the selected display boards used here. Other display boards can be used with the appropriate hardware profiles.

 

  

Legend:

Supported out of the box

Hardware compatible, will need firmware modification

Supported, see limitations

Not supported, hardware not compatible

 

Trademarks:

The Microchip name and logo, the Microchip logo, MPLAB, and PIC are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.

PICDEM and PICTail are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.

SD is a trademark of the SD Association in the U.S.A and other countries

Microsoft, Windows, Excel, and Windows Vista are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries.