element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • STEM Academy
    • Webinars, Training and Events
    • More
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • More
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • More
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • More
  • 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
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
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Cypress Kits requires membership for participation - click to join
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 3 replies
  • Subscribers 11 subscribers
  • Views 198 views
  • Users 0 members are here
Related

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

cy.wbz
cy.wbz over 8 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.

 

 

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.

 

 

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.

 

 


 

I hope this example can help you in your design.

 

Best,

Matt

Attachments:
Waves_TFT.Bundle01.zip
8228.Project Images.zip
  • Reply
  • Cancel
  • Cancel
Parents
  • Former Member
    Former Member over 8 years ago

    Hallo Matt,

     

    I'm wondering do you example for putting text into the display.

    Thank you

    • Cancel
    • Up 0 Down
    • Reply
    • Cancel
Reply
  • Former Member
    Former Member over 8 years ago

    Hallo Matt,

     

    I'm wondering do you example for putting text into the display.

    Thank you

    • Cancel
    • Up 0 Down
    • Reply
    • Cancel
Children
No Data
Element14

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 © 2022 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

  • Facebook
  • Twitter
  • linkedin
  • YouTube