arduino 5 tft lcd touch screen shield ra8875 free sample

Spice up your Arduino project with a beautiful large touchscreen display shield with built in microSD card connection. This TFT display is big (5" diagonal) bright (12 white-LED backlight) and colorfu 480x272 pixels with individual pixel control. As a bonus, this display has a optional resistive touch panel attached on screen by default.
The shield is fully assembled, tested and ready to go. No wiring, no soldering! Simply plug it in and load up our library - you"ll have it running in under 10 minutes! Works best with any classic Arduino (UNO/Due/Mega 2560).
This display shield has a controller built into it with RAM buffering, so that almost no work is done by the microcontroller. You can connect more sensors, buttons and LEDs.
Of course, we wouldn"t just leave you with a datasheet and a "good luck!" - we"ve written a full open source graphics library at the bottom of this page that can draw pixels, lines, rectangles, circles and text. We also have a touch screen library that detects x,y and z (pressure) and example code to demonstrate all of it. The code is written for Arduino but can be easily ported to your favorite microcontroller!
For 5 inch screen,the high current is needed.But the current of arduino uno or arduino mega board is low, an external 5V power supply is needed. Refer to the image shows the external power supply position on shield ER-AS-RA8875.
If you"ve had a lot of Arduino DUEs go through your hands (or if you are just unlucky), chances are you’ve come across at least one that does not start-up properly.The symptom is simple: you power up the Arduino but it doesn’t appear to “boot”. Your code simply doesn"t start running.You might have noticed that resetting the board (by pressing the reset button) causes the board to start-up normally.The fix is simple,here is the solution.

Spice up your Arduino project with a beautiful large touchscreen display shield with built in microSD card connection. This TFT display is big (5" diagonal) bright (18 white-LED backlight) and colorfu 800x480 pixels with individual pixel control. As a bonus, this display has a optional resistive touch panel attached on screen by default.
The shield is fully assembled, tested and ready to go. No wiring, no soldering! Simply plug it in and load up our library - you"ll have it running in under 10 minutes! Works best with any classic Arduino (UNO/Due/Mega 2560).
This display shield has a controller built into it with RAM buffering, so that almost no work is done by the microcontroller. You can connect more sensors, buttons and LEDs.
Of course, we wouldn"t just leave you with a datasheet and a "good luck!" - we"ve written a full open source graphics library at the bottom of this page that can draw pixels, lines, rectangles, circles and text. We also have a touch screen library that detects x,y and z (pressure) and example code to demonstrate all of it. The code is written for Arduino but can be easily ported to your favorite microcontroller!
If you"ve had a lot of Arduino DUEs go through your hands (or if you are just unlucky), chances are you’ve come across at least one that does not start-up properly.The symptom is simple: you power up the Arduino but it doesn’t appear to “boot”. Your code simply doesn"t start running.You might have noticed that resetting the board (by pressing the reset button) causes the board to start-up normally.The fix is simple,here is the solution.

ER-TFTM050-2-4125 is 5 inch tft lcd display with RA8875 controller board,arduino shield,examples,library.Optional touch panel,arduino mega2560,due or uno board.

I’m looking to switch out my 4” resistive st7796s touch screen for something a little nicer and less budget basic. There is so much to choose from and I could easily make an expensive mistake. Could you guide me please? I’ve found a few that look interesting, most from BuyDisplay and one from RS-Online. As I’m U.K. based the RS-Online option appeals - no dealing with customs, faster delivery etc. However…I’m really not sure which to go for. My preference is for a 7” capacitive touch screen. I’d rather not have the screen, a separate shield and board with my Arduino, which steers me away from the first option listed below. I’ve avoided the Nextion range as my device builds the onscreen buttons depending on which and how many sensors it detects via BLE and I’ve read that the Nextion really doesn’t like that.
Which is ‘better’ ssd1963 or ra8875? Which would work best with Nano 33 BLE - starting with Adafruit_GFX but then rewriting ui to work on lvgl - or something else with antialiased fonts.
ER-TFTM070-4V2.1-4124 is 7 inch tft lcd display with SSD1963 controller board, arduino shield,examples,library.Optional touch panel,arduino mega2560,due board.
ER-TFTM070-4V2.1 is 7" tft screen touch lcd display module in 800x480 dots.Integrated with ssd1963 for mcu,arm,dsp,fpga,microsd card slot,font ic,flash chip.
ER-TFTM070-5 is 7 inch lcd module w/capacitive touch screen panel,800x480,ra8875,i2c+parallel+spi serial,microsd card slot,font/flash chip for mcu,arduio.
Buy Midas MCT070WCA0W800480LML TFT LCD Colour Display / Touch Screen, 7in, 800 x 480pixels . Browse our latest LCD Colour Displays offers. Free Next Day Delivery available.

ER-TFTM070-5-4125 is 7 inch tft lcd display with RA8875 controller board,arduino shield,examples,library.Optional touch panel,arduino mega2560,due or uno board.

That was really easy with the 4D display, using ViSi Genie and their intuitive graphical IDE, and since it has an embebed processor the loading are quite fast, the touch are quite responsive and the Arduino isn"t even needed for simple tasks (as changing from one screen to another, for example). Today my project have 9 diferent screens, with a screensaver, sd card reader, digital clock, alarm ringing, set alarm, among others...

ER-TFTM050-3 is 5 inch tft lcd module WVGA 800x480 display,serial,spi,i2c parallel interface,RA8875 controller,capacitive or resistive touch screen panel
which I"m looking to use with the Arduino Mega, to do this the datasheet say that logic level is 3.3V which means i need a logic level converter. So I"ve connected the Arduino Mega to the logic level converter then onto the screen SPI pins on the screen.
ER-TFTM050-3-4125 is 5 inch tft lcd display with RA8875 controller board,arduino shield,examples,library.Optional touch panel,arduino mega2560,due or uno board.
at the bottom of the page is an Arduino library for driving the graphics chip with the shield, from what i can see all the shield is just a logic level converter for the screen, I"ve got this from the schematics and my understating of Arduino logic.
So will the library that they supply with the shield work with the set up i have created? I cant see why it wouldn"t but when i connect it all up the screen is not working, its black but their is data on the pins on both side of logic level converter, I was using one of Buy Displays Arduino Mega examples that come with the library on the shield page, I"ve made sure I"ve changed the CS but its still not working and i cant see why it wouldn"t work.

In this Arduino touch screen tutorial we will learn how to use TFT LCD Touch Screen with Arduino. You can watch the following video or read the written tutorial below.
For this tutorial I composed three examples. The first example is distance measurement using ultrasonic sensor. The output from the sensor, or the distance is printed on the screen and using the touch screen we can select the units, either centimeters or inches.
The next example is controlling an RGB LED using these three RGB sliders. For example if we start to slide the blue slider, the LED will light up in blue and increase the light as we would go to the maximum value. So the sliders can move from 0 to 255 and with their combination we can set any color to the RGB LED, but just keep in mind that the LED cannot represent the colors that much accurate.
The third example is a game. Actually it’s a replica of the popular Flappy Bird game for smartphones. We can play the game using the push button or even using the touch screen itself.
As an example I am using a 3.2” TFT Touch Screen in a combination with a TFT LCD Arduino Mega Shield. We need a shield because the TFT Touch screen works at 3.3V and the Arduino Mega outputs are 5 V. For the first example I have the HC-SR04 ultrasonic sensor, then for the second example an RGB LED with three resistors and a push button for the game example. Also I had to make a custom made pin header like this, by soldering pin headers and bend on of them so I could insert them in between the Arduino Board and the TFT Shield.
Here’s the circuit schematic. We will use the GND pin, the digital pins from 8 to 13, as well as the pin number 14. As the 5V pins are already used by the TFT Screen I will use the pin number 13 as VCC, by setting it right away high in the setup section of code.
I will use the UTFT and URTouch libraries made by Henning Karlsen. Here I would like to say thanks to him for the incredible work he has done. The libraries enable really easy use of the TFT Screens, and they work with many different TFT screens sizes, shields and controllers. You can download these libraries from his website, RinkyDinkElectronics.com and also find a lot of demo examples and detailed documentation of how to use them.
After we include the libraries we need to create UTFT and URTouch objects. The parameters of these objects depends on the model of the TFT Screen and Shield and these details can be also found in the documentation of the libraries.
Next we need to define the fonts that are coming with the libraries and also define some variables needed for the program. In the setup section we need to initiate the screen and the touch, define the pin modes for the connected sensor, the led and the button, and initially call the drawHomeSreen() custom function, which will draw the home screen of the program.
So now I will explain how we can make the home screen of the program. With the setBackColor() function we need to set the background color of the text, black one in our case. Then we need to set the color to white, set the big font and using the print() function, we will print the string “Arduino TFT Tutorial” at the center of the screen and 10 pixels down the Y – Axis of the screen. Next we will set the color to red and draw the red line below the text. After that we need to set the color back to white, and print the two other strings, “by HowToMechatronics.com” using the small font and “Select Example” using the big font.
Now we need to make the buttons functional so that when we press them they would send us to the appropriate example. In the setup section we set the character ‘0’ to the currentPage variable, which will indicate that we are at the home screen. So if that’s true, and if we press on the screen this if statement would become true and using these lines here we will get the X and Y coordinates where the screen has been pressed. If that’s the area that covers the first button we will call the drawDistanceSensor() custom function which will activate the distance sensor example. Also we will set the character ‘1’ to the variable currentPage which will indicate that we are at the first example. The drawFrame() custom function is used for highlighting the button when it’s pressed. The same procedure goes for the two other buttons.
So the drawDistanceSensor() custom function needs to be called only once when the button is pressed in order to draw all the graphics of this example in similar way as we described for the home screen. However, the getDistance() custom function needs to be called repeatedly in order to print the latest results of the distance measured by the sensor.
Ok next is the RGB LED Control example. If we press the second button, the drawLedControl() custom function will be called only once for drawing the graphic of that example and the setLedColor() custom function will be repeatedly called. In this function we use the touch screen to set the values of the 3 sliders from 0 to 255. With the if statements we confine the area of each slider and get the X value of the slider. So the values of the X coordinate of each slider are from 38 to 310 pixels and we need to map these values into values from 0 to 255 which will be used as a PWM signal for lighting up the LED. If you need more details how the RGB LED works you can check my particular tutorialfor that. The rest of the code in this custom function is for drawing the sliders. Back in the loop section we only have the back button which also turns off the LED when pressed.
In order the code to work and compile you will have to include an addition “.c” file in the same directory with the Arduino sketch. This file is for the third game example and it’s a bitmap of the bird. For more details how this part of the code work you can check my particular tutorial. Here you can download that file:

Hi @Uup115 — thanks for highlighting an issue with Due operation. I don’t have a Due so haven’t had an opportunity to test with one yet, so it is likely there are some compatibility adjustments needed. I will order one right away.

Yesterday I got the shipment for my RA8875 driver and the 5.0" TFT display. I did some readings before the arrival of the driver and display and used the example programs in the libraries for some initial help. The TFT does not seem to be working for some reason. I did some troubleshooting by haveing some initialization commands in the Serial Monitor which stated the screen has been enabled and the RA8875 was detected.

FocusLCDs.com sent me a free sample of a 4x3” TFT LCD (P/N: E43RG34827LW2M300-R) to try out. This is a color active matrix TFT (Thin Film Transistor) LCD (liquid crystal display) that uses amorphous silicon TFT as a switching device. This model is composed of a Transmissive type TFT-LCD Panel, driver circuit, backlight unit. The resolution of a 4.3” TFT-LCD contains 480x272 pixels, and can display up to 16.7M colors.
For this project, you would need the RA8875 driver board (available at AdaFruit for US$35) to interface the TFT display to the Arduino. It comes with a header which you can solder on as needed.

In this article, you will learn how to use TFT LCDs by Arduino boards. From basic commands to professional designs and technics are all explained here.
There are several components to achieve this. LEDs, 7-segments, Character and Graphic displays, and full-color TFT LCDs. The right component for your projects depends on the amount of data to be displayed, type of user interaction, and processor capacity.
TFT LCD is a variant of a liquid-crystal display (LCD) that uses thin-film-transistor (TFT) technology to improve image qualities such as addressability and contrast. A TFT LCD is an active matrix LCD, in contrast to passive matrix LCDs or simple, direct-driven LCDs with a few segments.
In Arduino-based projects, the processor frequency is low. So it is not possible to display complex, high definition images and high-speed motions. Therefore, full-color TFT LCDs can only be used to display simple data and commands.
There are several components to achieve this. LEDs, 7-segments, Character and Graphic displays, and full-color TFT LCDs. The right component for your projects depends on the amount of data to be displayed, type of user interaction, and processor capacity.
TFT LCD is a variant of a liquid-crystal display (LCD) that uses thin-film-transistor (TFT) technology to improve image qualities such as addressability and contrast. A TFT LCD is an active matrix LCD, in contrast to passive matrix LCDs or simple, direct-driven LCDs with a few segments.
In Arduino-based projects, the processor frequency is low. So it is not possible to display complex, high definition images and high-speed motions. Therefore, full-color TFT LCDs can only be used to display simple data and commands.
After choosing the right display, It’s time to choose the right controller. If you want to display characters, tests, numbers and static images and the speed of display is not important, the Atmega328 Arduino boards (such as Arduino UNO) are a proper choice. If the size of your code is big, The UNO board may not be enough. You can use Arduino Mega2560 instead. And if you want to show high resolution images and motions with high speed, you should use the ARM core Arduino boards such as Arduino DUE.
In electronics/computer hardware a display driver is usually a semiconductor integrated circuit (but may alternatively comprise a state machine made of discrete logic and other components) which provides an interface function between a microprocessor, microcontroller, ASIC or general-purpose peripheral interface and a particular type of display device, e.g. LCD, LED, OLED, ePaper, CRT, Vacuum fluorescent or Nixie.
The LCDs manufacturers use different drivers in their products. Some of them are more popular and some of them are very unknown. To run your display easily, you should use Arduino LCDs libraries and add them to your code. Otherwise running the display may be very difficult. There are many free libraries you can find on the internet but the important point about the libraries is their compatibility with the LCD’s driver. The driver of your LCD must be known by your library. In this article, we use the Adafruit GFX library and MCUFRIEND KBV library and example codes. You can download them from the following links.
You must add the library and then upload the code. If it is the first time you run an Arduino board, don’t worry. Just follow these steps:Go to www.arduino.cc/en/Main/Software and download the software of your OS. Install the IDE software as instructed.
First you should convert your image to hex code. Download the software from the following link. if you don’t want to change the settings of the software, you must invert the color of the image and make the image horizontally mirrored and rotate it 90 degrees counterclockwise. Now add it to the software and convert it. Open the exported file and copy the hex code to Arduino IDE. x and y are locations of the image. sx and sy are sizes of image. you can change the color of the image in the last input.
Upload your image and download the converted file that the UTFT libraries can process. Now copy the hex code to Arduino IDE. x and y are locations of the image. sx and sy are size of the image.
In this template, We just used a string and 8 filled circles that change their colors in order. To draw circles around a static point ,You can use sin(); and cos(); functions. you should define the PI number . To change colors, you can use color565(); function and replace your RGB code.
In this template, We converted a .jpg image to .c file and added to the code, wrote a string and used the fade code to display. Then we used scroll code to move the screen left. Download the .h file and add it to the folder of the Arduino sketch.
In this template, We used sin(); and cos(); functions to draw Arcs with our desired thickness and displayed number by text printing function. Then we converted an image to hex code and added them to the code and displayed the image by bitmap function. Then we used draw lines function to change the style of the image. Download the .h file and add it to the folder of the Arduino sketch.
In this template, We added a converted image to code and then used two black and white arcs to create the pointer of volumes. Download the .h file and add it to the folder of the Arduino sketch.
In this template, We added a converted image and use the arc and print function to create this gauge. Download the .h file and add it to folder of the Arduino sketch.
while (a < b) { Serial.println(a); j = 80 * (sin(PI * a / 2000)); i = 80 * (cos(PI * a / 2000)); j2 = 50 * (sin(PI * a / 2000)); i2 = 50 * (cos(PI * a / 2000)); tft.drawLine(i2 + 235, j2 + 169, i + 235, j + 169, tft.color565(0, 255, 255)); tft.fillRect(200, 153, 75, 33, 0x0000); tft.setTextSize(3); tft.setTextColor(0xffff); if ((a/20)>99)
while (b < a) { j = 80 * (sin(PI * a / 2000)); i = 80 * (cos(PI * a / 2000)); j2 = 50 * (sin(PI * a / 2000)); i2 = 50 * (cos(PI * a / 2000)); tft.drawLine(i2 + 235, j2 + 169, i + 235, j + 169, tft.color565(0, 0, 0)); tft.fillRect(200, 153, 75, 33, 0x0000); tft.setTextSize(3); tft.setTextColor(0xffff); if ((a/20)>99)
In this template, We display simple images one after each other very fast by bitmap function. So you can make your animation by this trick. Download the .h file and add it to folder of the Arduino sketch.
In this template, We just display some images by RGBbitmap and bitmap functions. Just make a code for touchscreen and use this template. Download the .h file and add it to folder of the Arduino sketch.

that 7 inch display uses the RA8875, you can see that on the specification of the display. The 320x240 uses the ili9341 (that is why the name of the library is ili9341).
I found two libraries, I don"t think they will be optimized for the Teensy. Test this one https://github.com/sumotoy/RA8875 and this one https://github.com/adafruit/Adafruit_RA8875
The only 7 inch I"ve seen around are RA8875 (4 wires plus 3 for Touch and int) or SED (16 bit plus several wires more, together with I2C for the capacitive touch will leave you with almost no port left).
In summary.. the display will work, and is most likely that the capacitive IC will also work read this (https://github.com/sumotoy/RA8875/wiki) so you are aware of the library limitations.....
Based on your replies, the 7 inch LCD we found "should" work, uses RA8875 controller, and there are at least (2) libraries which "should" work, but may need
To get an SD work you should isolate the RA8875 with the circuit I described in github wiki, get a quality SD holder (like the one mounted in the PJRC audio board) and mount very near Teensy (or you can use the SD card holder homemade adaptor described here (https://forum.pjrc.com/threads/16758-Teensy-3-MicroSD-guide?p=56149&viewfull=1#post56149).
But you have to isolate the RA8875 wiith a small circuit described here (https://github.com/sumotoy/RA8875/wiki/Fix-compatibility-with-other-SPI-devices) or it will not work!
Just a note, the RA8875 it"s not the best chip to send images, it"s extremely fast driving his accellerated geometric primitives, internal fonts, etc, etc. but receiving pixels it"s a slow business.
The RA8875 has a separate SPI that can drive internally (very fast and using DMA) a SPI flash chip, it looks promising but it"s a bit complicated since you have to program SPI Flash chip separately, I will test this option in near future since the library already support that.
The library can use any permitted Teensy 3.0,3.1 and LC configuration, it"s compatible with the PJRC Audio Card and it"s SPI Transaction compatible, it works well with the new SD optimized for Teensy library by Paul. Datasheet on hand the RA8875 has a SPI limit of 12Mhz but (after weeks of testing) actually I"m driving it at 22Mhz without problems by modulating SPI speed on some register so when you work with that SPI speed you always have to use short cables and good decoupling, it can work with a good quality breadboard but use always short cables and be sure contact it"s good.
The RA8875 library already support it internally, don"t need an external FT5206 library, just go to RA8875UserSettings.h file and uncomment #define USE_FT5206_TOUCH.
It"s correct, but you missed the TC_INT pin for the Touch screen (try pin 2) and you MUST use 2 pullup resistors on SDA and SCL (2 x 2k2 resistors between each I2C line and 3V3).
Note that ER-TFTM070-5 uses a lot of current for backlight, you will need a separate supply! In that case you need to wire the RST pin as well (any free Teensy pin should work).
Some user configured ER-TFTM070-5 at 5V and they are able to drive it by 5v from Teensy but you can easily get garbage on screen because the voltage should be at list 4.8V and stable, not less.
The reason it"s simple, the RA8875 chip it"s like a microcontroller, you send a command and you have to wait it finish it so you are forced to polling it"s busy port or use an INT for that.
The RA8875 it"s a great controller, actually it"s the only one that uses very tiny microcontroller resources (you can use a 800x480 16bit color display with 5 concurrent touches, actually impossible with any other display).
If you are cool with 3-4 sec loding time, you ca use it, or better try the internal SPI flash method that I never tested but should work, on-paper it can transfer images by using internal RA8875 DMA very fast.
C:\Program Files (x86)\Arduino\libraries\RA8875-0.70\RA8875.cpp: In member function "void RA8875::_charWriteR(char, uint8_t, uint8_t, uint8_t, uint16_t, uint16_t)":
C:\Program Files (x86)\Arduino\libraries\RA8875-0.70\RA8875.cpp: In member function "void RA8875::_drawChar_unc(int16_t, int16_t, int16_t, const uint8_t*, uint16_t, uint16_t)":
About the powerup sequence... It"s normal that you power up the LCD first! The Teensy has to be able to initialize the display when it power ups but LCD it"s not on, Teensy will start to initialize...nothing.
I strongly suggest (in that case) to use always the RST pin, the RA8875 get ready sooner that Teensy and Teensy it"s still able to reset it and initialize correctly.
About 7" supply (and why it needs a separate supply), the 7" model has a backlight that suck a lot of current, too much for any USB. I have a PC that is able to give more than 500mA on USB but I have noticed some garbage on screen from time to time, this was caused by the supply voltage that was not stable and modulate from 4.90V to 4.45V, setting brightness to 150 stabilized to 4.80V.
On Eastrising boards (and Adafruit) the backlight it"s handled internally by RA8875 using an internal PWM generator and this is why (if RA8875 it"s not correctly inited) it appears completely black with no apparent life, in contrast with other displays where you get the backlight on (at list) but thanks to this you can setup your display to consume less power by adding brightness(nnn) after initialization, I was able to supply this large 7" beast with a battery by using 150, 120 value.
Sorry for the horrible english of the message, I fix it in a min. This message appears when you open the capacitive touch screen example and your library it"s not configured for that.
This tells library to include the FT5206 routines that handles capacitive touch screen. The 7" screen uses an external FT5206 chip as capacitive touch but RA8875 handles only resistive touch internally so this command enables the correct routines.
The RA8875UserSettings.h contains a lot user defines, this is necessary for tune the library in relations your needs. You will notice that once enabled #define USE_FT5206_TOUCH many examples will give you an error caused by the FT5206 routines that needs the wire.h to be included.
The strange message you got was caused by bad LCD initialization since the message on sketch it"s correct. Please check the lenght of your wires and supply voltage during all initialization so see if change...
I just have found a (maybe) bug, the capacitive touch screen works well but I have noticed that the fifth touch return inconsistend data sometime, not a big issue now but maybe better investigate.
A really simple test it"s put a brightness(150) command just after begin in setup, this will cut a lot the current of the backlight and stabilize the voltage (that don"t continue drop down), this is useful to check if the Power Supply affects the code because undervoltages and drops.
The example shows the screen that react from 1 to 5 concurrent touches (by a different colour for every concurrent touch) and detect also some other parameters like gesture (all hardware detected by Touch IC)
Try to check if the TC INT pin goes low when you touch screen! If yes, maybe add a 10K resistor between TC INT and 3V3 as pullup may help but in my tests was not necessary.
I"m pretty sure that you don"t have any capacitive touch actually present, maybe it"s a resistive one but can be a 7" display without any touch capabilities!
It"s not easy to use the flash chip on RA8875 since you need to program flash BEFORE solder on RA board, once soldered you can use the library functions to access it.
The RA8875 access the flash chip from an internal separate SPI trough his DMA internal routines but there"s no way to "see" the chip or it"s content from outside once soldered.
In theory you can prepare some images in the SD card and when you are sure you can transfer to the SPI flash but the RA8875 access the images on flash by using an offset and image lenght so I"m not sure the images are tranferred from SD to Flash have this format.
Have to tell that using SD with such a large screen in serial SPI it"s a slow business and there"s no way to accellerate until you use 16bit parallels will use almost all your microcontroller pins.
Maybe better use a SPI Flash (and follow the RA8875 SPI isolation described in the wiki to avoid SPI collisions), I don"t know how much fast is the SPI flash in reading, for sure there"s some expert here that can help in this.
The RA8875 based displays are just regular LCD with a controller a bit more sofisticated than usual, the RA chip has hardware accellerated graphic primitives, some internal font stored inside, a RAM buffer for the entire screen (plus some more bytes for extra fonts and patterns) and a dedicated SPI for external ROM font and a Flash Chip, quite a lot but not so powerful as the 4D system that can really store images, maybe consider one of those (expensive) displays for your application?
You want to store images in the display.... Where? The display has a buffer RAM and at 800x480 it"s limited at 8bit and the Flash memory on the LCD it"s read only since it stays in another SPI dedicated bus, you cannot send images to flash trough RA.
Also, when you load the image you are forced to use pixel stream that it"s visible, the only way to hide the process it"s turn off screen (but not the RA chip), send the image and when it"s finished turn on screen.
I have found that older thread. It is matching what I am trying to do... I have ordered the same display and want to used it with Teensy 3.2 and Audio. So, my problem is, that the PINs that are used for that TFT are allready used for Audio... What can I do?
I have found that older thread. It is matching what I am trying to do... I have ordered the same display and want to used it with Teensy 3.2 and Audio. So, my problem is, that the PINs that are used for that TFT are allready used for Audio... What can I do?
The Audio shield uses 18/A4 and 19/A5 for the i2c bus, which allows other devices to be connected to the bus, assuming they have a different i2c bus than the devices already in use. The Audio board uses addresses 0x0A and 0x1A.
The Audio shield also uses the SPI bus, but you have to use two alternate pins (you have to use pin 7 instead of pin 11, and pin 14/A0 instead of 13). In addition, you need to change the CS pin (chip select) to be a pin that isn"t used by anything else. Some devices need to use the special hardware chip select pins, and you would need to use 20/A6 or 21/A7 if the display has the special optimizations.
In addition, most of the displays have a second pin (D/C) that flips between data/command, and this pin also must be a special CS pin. In the displays I"ve looked at (ST7753, SSD1351), there is a reset pin, but that pin does not have to be one of the special pins.
This means of the special pins, you have only pins 20/A6 and 21/A7 (pins 9, 11, 13, 22, and 23 are used for i2s; pin 15/A1 has resistors/etc. for soldering a volume switch to the board).
its me again... So display is working very nice.... :-) But when I am trying to add some code (what is in /* */ in setup() ) for Audio-shield the display stopps working... So what is going wrong?
In the meanwhile I have tryed some things... and found out, that TFT- problems starts when SD- Card is in the Audio-shield-slot... w/o any changes in code...
And so I read some postings to that issue and found that there might be a problem with RA8875- SPI and other devices on the same line. So TFT is ussing PIN7 on teensy for MOSI, PIN8 for MISO and PIN14 for CLK.
Audio Board uses (?) PIN7 for MOSI too and PIN12 for MISO... PIN11 could also be used as MOSI, but is allready used from Audio-Board... so what can I do? Would it be better to use PIN11 for TFT? But what should I do with that connection to Audio-Board?
Or if you have a Teensy 3.5, 3.6 or LC, there are alternate SPI ports that you could use. You would have to modify the library to use SPI1 or SPI2 instead of SPI.

Have you gazed longingly at large TFT displays - you know what I"m talking about here, 4", 5" or 7" TFTs with up to 800x480 pixels. Then you look at your Arduino. You love your Arduino (you really do!) but there"s no way it can control a display like that, one that requires 60Hz refresh and 4 MHz pixel clocking. Heck, it doesn"t even have enough pins. I suppose you could move to ARM core processors with TTL display drivers built in but you"ve already got all these shields working and anyways you like small micros you"ve got.
What if I told you there was a driver chip that could fulfill those longings? A chip that can control up 800x480 displays, and heck, a resistive touchscreen as well. All you need to give up is 5 or so SPI pins. Would you even believe me? Well, sit down because this product may shock you.
The RA8875 is a powerful TFT driver chip. It is a perfect match for any chip that wants to draw on a big TFT screen but doesn"t quite have the oomph (whether it be hardware or speed). Inside is 768KB of RAM, so it can buffer the display (and depending on the screen size also have double overlaying). The interface is SPI with a very basic register read/write method of communication (no strange and convoluted packets). The chip has a range of hardware-accelerated shapes such as lines, rectangles, triangles, ellipses, built in and round-rects. There is also a built in English/European font set (see the datasheet section 7-4-1 for the font table) This makes it possible to draw fast even over SPI.
The RA8875 can also handle standard 4-wire resistive touchscreens over the same SPI interface to save you pins. There"s an IRQ pin that you can use to help manage touch interrupts. The touchscreen handler isn"t the most precise driver we"ve used, so we broke out the X/Y pins so you can connect them up to something like the STMPE610 which is a very classy touchscreen controller.
On the PCB we have the main chip, level shifting so you can use safely with 3-5V logic. There is also a 3V regulator to provide clean power to the chip and the display. For the backlight, we put a constant-current booster that can provide 25mA or 50mA at up to 24V. The connector to the screen is a classic "40 pin" connector. All the 40-pin TFT"s in the Adafruit shop are known to work well. There are other 40-pin displays that have different pinouts or backlight management and these may not work - they may even damage the driver or TFT if the boost converter pushes 24V into the display logic pins! For that reason, we only recommend the displays we"ve tested and sell here.
Each order comes with an assembled, tested RA8875 breakout and a stick of header. You"ll also need to purchase a 40-pin TFT screen. We currently have 4.3", 5.0" and 7.0" screens available.
To get you started we"ve written a graphics library that handles the basic interfacing, drawing and reading functions. Download the Adafruit RA8875 library from github and install as described in our tutorial. Connect a 40 pin TFT to the FPC port and wire up the SPI interface to an Arduino as described in the example code. Once started you"ll be able to see the graphic/text demo and then touch the screen to "paint". For more advanced details on what the RA8875 can do (and it can do a lot) check the datasheet.
Ms.Josey
Ms.Josey