element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Cypress Kits
  • Products
  • Dev Tools
  • Cypress Kits
  • More
  • Cancel
Cypress Kits
Forum PSoC 4 Pioneer Kit Community Project#072 – TFT Touchscreen Shield
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Cypress Kits to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 3 replies
  • Subscribers 26 subscribers
  • Views 965 views
  • Users 0 members are here
Related

PSoC 4 Pioneer Kit Community Project#072 – TFT Touchscreen Shield

cy.wbz
cy.wbz over 12 years ago

Hello!

 

Today’s example we showcase the Thin Film Transistor (TFT) Touchscreen Shield with the PSoC 4 Pioneer kit. Cypress is well known for our TrueTouch product lines and touchscreen solutions for cellphones and tables. In our example the Touchscreen is a resistive touch screen, while most modern touchscreens on handsets and tablets are capacitive touch solutions.

This example introduces the user to the screen, how to interface and display images. Our example will allow users to enter in values to a hyperterminal software and then generate wave outputs on the TFT touchscreen shield. Today’s example focuses on how to interface with the TFT touchscreen. Tomorrow’s example will show you how to use the touch interface built into the screen.

 

image

 

Forum Post Attachments:

 

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

  • Example Project Zip File
  • 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:

  • SPI
  • UART
  • CyClock
  • CyPins

 

Firmware Description:

 

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

 

The example project can be used to display different waves on a the TFT Touchscreen shield. In the example project we use a UART based user interface to provide options for the user to display waveforms on the screen. The user will be able to enter in different values to control the waveform characteristics such as Amplitude, Number of Cycles, and Color. The user will be able to generate Sine, Square, and Triangular Waves.

 

As part of this example we have included two source files, TFT_Display.h and TFT_Display.c, which includes API support for you to interface with the TFT display. These APIs function by waiting for the user to give inputs via the hyperterminal and then displays the waveforms based on those inputs. The main.c file is very spartan so please take some time to review the TFT files.

 

Hardware Connections:

 

In this example you will need to connect two wires to enable the USB-UART bridge from the PSoC 5LP device. Connect two wires between the PSoC 4 header, J4 P1[1] and P1[2], to the PSoC 5LP header, J8 P12[7] and P12[6]. Next connect the TFT Touchscreen to the Pioneer board using the Arduino compatible headers.

 

image

 

Test Your Project:

 

Program the Pioneer kit with the example project and connect the hardware. Launch the Hyperterminal software (Putty or Coolterm) and begin enter in values to the onscreen menu. Change those values to see different wave outputs on the touchscreen.

 

image

 

image


image

 

I hope this example can help you in your design.

 

Best,

Matt

Attachments:
Waves_TFT.Bundle01.zip
8228.Project Images.zip
  • Sign in to reply
  • Cancel
Parents
  • Former Member
    Former Member over 11 years ago

    Now, will this work with TFT screen V1.0?  I am able to read the UART. But, the screen is just white.  Also, I cannot found the pinout for the TFT screen V1.0 or V2.  Does it exist?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • Former Member
    Former Member over 11 years ago

    Now, will this work with TFT screen V1.0?  I am able to read the UART. But, the screen is just white.  Also, I cannot found the pinout for the TFT screen V1.0 or V2.  Does it exist?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube