23 Replies Latest reply on Jun 8, 2014 10:17 AM by p_grimanelis

    PSoC 4 Pioneer Kit Community Project#09 – Graphics LCD Display




      Today’s example project uses the a Graphical LCD Display Shield from Sparkfun which has a Nokia 6100 LCD. We’ve have tested this example on a number of shields that support the Nokia 6100 LCD:

      SparkFun Shield

      Elect Freaks

      Nokia 6100 Shield


      There are minor differences between the boards for controllers and brightness controls. Please check with the datasheet of the additional LCD screens linked above to find out what controller is used. This example uses the Sparkfun Graphics LCD screen.


      What is unique about this example project is that we’ve created a custom Graphics LCD (GLCD) component in Creator that gives the user API controls for the LCD display. This component is not shipped with PSoC Creator as part of the general installation. The GLCD component is available in the attached example project and can be loaded into your design. This component creates an easy to use interface to write text and draw shapes on the LCD screen using APIs. Attached to this project is the Component Datasheet. In the datasheet we describe the APIs. The example project utilizes the APIs as an example. The following image is the project example output on the GLCD display. While the LCD output looks complicated you will see from the example that it uses simple APIs to create the shapes.


      003 - Example Image.png

      (Pioneer Board with the Sparkfun LCD Shield)



      Additional Information on Custom Components:


      If people are interested in additional information on custom components please see the follwoing resources for more information:


      Implementing Programmable Logic Designs with Verilog


      Components with UDB Datapaths


      We also have a Knowledge Based Article that will assist users in creating a Verilog-based Custom Component:


      Creating a Verilog-based Component


      Also refer to the Cypress Community Components Page where additioncustom components are posted for users:


      Cypress Developer Community


      We also have a set of Component Training Videos that will assist users in creating components for PSoC Creator:


      Creating a Custom Component Video

      Additional Training Videos



      Forum Post Attachments:


      At the bottom of this post we are including the following items:

      • Example Project Zip File
      • Custom Component Datasheet
      • Zip File of Images
        • Project Schematic
        • Component Configurations


      Components Used:


      The user can download the example project at the bottom of this post. The project uses the following list of Creator Components:

      • Custom GLCD Component for the Nokia 6100 LCD using the Sparkfun Shield


      The components are configured by right clicking on the component in your Top Design schematic view and selecting Configure. Please enable the following selections in the Configuration windows for the listed components above.


      Firmware Description:


      The main.c firmware is included in the example project. Please review the commented sections for more details.

      This example project is a simple introduction to a custom component targeting the GLCD Shield. The goal if this firmware is to introduce the user to the component and show a simple example. The example prints shapes and text onto the LCD using the component's APIs. This GLCD component will be used by a number of coming examples.


      Hardware Connections:


      There are no hardware connections outside of connecting the Graphics LCD Shield to the Pioneer Kit.


      Test Your Project:


      Once the kit is programmed with the example project you will see the output on the LCD screen.


      I hope this example can help you out in your design.