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
Design for a Cause - Design Challenge
  • Challenges & Projects
  • Design Challenges
  • Design for a Cause - Design Challenge
  • More
  • Cancel
Design for a Cause - Design Challenge
Blog Text Placement
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: roborob1266
  • Date Created: 1 Aug 2018 2:58 PM Date Created
  • Views 2121 views
  • Likes 4 likes
  • Comments 3 comments
  • tft display
  • code
  • design for a cause - design challenge
  • text
Related
Recommended

Text Placement

roborob1266
roborob1266
1 Aug 2018

Hello all,

Yesterday I was able to spend some time working on placing text on the LCD to get an idea of where the icons would be and where the "I Need" button would be.

 

Here is the code I am using for this:

 

  tft.textSetCursor(50, 200);

  tft.textTransparent(RA8875_WHITE);

  tft.textEnlarge(2);

  tft.textWrite("I Need");

 

 

  tft.textSetCursor(600, 50);

  tft.textTransparent(RA8875_WHITE);

  tft.textEnlarge(2);

  tft.textWrite("A Drink");

 

 

  tft.textSetCursor(600, 150);

  tft.textTransparent(RA8875_WHITE);

  tft.textEnlarge(2);

  tft.textWrite("An iPad");

 

 

  tft.textSetCursor(600, 250);

  tft.textTransparent(RA8875_WHITE);

  tft.textEnlarge(2);

  tft.textWrite("A Break");

 

 

  tft.textSetCursor(600, 350);

  tft.textTransparent(RA8875_WHITE);

  tft.textEnlarge(2);

  tft.textWrite("Food");

 

image

 

Tomorrow I will be getting the audio module to incorporate it with the display and then get the code to sync tapping the image on the screen and it will speak out the image touched.

The audio module will have an SD card slot on it to access the audio files that I have recorded.

 

More updates to come!

  • Sign in to reply
  • Paliptim65
    Paliptim65 9 months ago in reply to roborob1266

    I have no idea.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • roborob1266
    roborob1266 over 7 years ago in reply to aspork42

    Thanks James

    I tried the MKR SD Proto shield on my UNO and the MKR and even with other SD cards and none of them are working.

    I even found where someone ran a wire from ground to pin 3 which I also tried and it still does not read.

    I read online within the Arduino Forum that there were a batch of these MKR SD Proto boards that were defective so this could be part of that batch.

    I am using the SD card from the MP3 Shield and that seems to work fine, thanks!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • aspork42
    aspork42 over 7 years ago

    Hi - Very cool update! You are making a lot of progress! I've been behind on checking the blogs but just got caught up.

     

    To check your SD card reader (you asked in a previous post) - Start with a very basic sketch with an Uno + SD card reader. Start very basic - just run an example sketch like "Card Info". If that works, then the card + reader are OK. If not, try a different SD card.

    Then move to the MKR board once the Uno works. Double and triple check all the pins. I've never used the MKR and aren't sure which reader you have... I could cross reference them if you post it (or post it again if I missed in an earlier post).

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
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