Starting whit LCD

Go To Last Post
8 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello,

 

i have been working whit AVRs and SAM xplained boards for some time now and implemented them in many designs(dataloggers, smart controls, industrial controlers, smart robots, drones,....) but now i have a project where i need to add display(3inch 320x240 TFT) for the frist time. I was thinking of going whit Sam4S Xplained pro board, since it already has the LCD connector and also the horsepower (at least in my opinion) to display some nice pictures and effects. 

Also i am completely new to using display on SAM mcu(i had some experimenting couple of years ago whit displays on 8bit AVRs, but they lack the power to show anything good). 

So basicly i need to know if SAM4S is good board to start whit and which TFT LCDs are compatible to use whit? If you have good experience whit other boards, please let me know. Also i would be really happy if the displays you are going to suggest are avaible on Farnell, Mouser, Adafruit or Sparkfun.

 

Thanks in advance.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Klemko wrote:
some nice pictures and effects

Be more specific!

 

Full-motion video requires lots of data & horsepower - but static images not so much.

 

8-bit micros can certainly do still images, and "fades" between still images ...

 

EDIT

 

For example, on an Arduino: https://youtu.be/PAPW97X6IRM?t=103

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
Last Edited: Wed. Mar 14, 2018 - 09:47 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

No, of course no videos. Actually some simple fading in and fading out and "instant" image change on an 320 or 480p tft is all i need. Well on 8bit AVRs i managed to display pictures whit no porlbme ofc, but when you change it or refresh whole screen, there is noticable "transition effect" when mcu changes pixel by pixel. It was fast and good when displaying pictures and changing shapes, but as soon whn i started to read pictures from sd card and write them to display. lags appeared. What i need to do now is make a simple GUI on TFT display that wil lshow some data and settings options, so i dont need any fancy video playing or full hd image displaying.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

are you sure that the delays you're talking about were specifically to do with the CPU?

 

more likely, they were inherent in the data transfers to the display, and from the SD Card (presumably via SPI?).

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Yes via SPi and it was fast enought, problem was that the cpu wasnt capable of transforming data. I tried several versions of my own code and some librarys, all had same problem. Also tried whit pararel lflash and still same problem. But the AVR problems are not even important now, since this project is on Cortex m4, thats why i am asking help whit that, not whit avr. But thanks anyway :D

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Klemko wrote:
i am completely new to using display on SAM mcu

Remember that the display neither knows nor cares what MCU you use - the requirements will be no different for SAM or AVR or anything else

 

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Klemko wrote:
whit

ugh.

"When all else fails, read the directions"

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I agree, but i am looking for some general evaluating/development add on or board. to have some examples or librarys ready and tested and also some avaible support online.