7″ LCD with capacitive multitouch up’n running

I’ve just got my RA8875 based 7″ LCD up’n running together with Arduino UNO. After a bit of struggling with removing SMD resistors, “jumpers”, bad connections etc. I first got it working with the example files for the Adafruit RA8875 Driver Board.


I then started investigating the capacitive touch screen controller (FT5206). After reading the documentation and some experimenting, I finally managed to write a driver for 5 point multitouch. I’ve pushed the arduino code to github for those who are interrested.

Shows 4 point multitouch. There is still room for one more finger…

The code includes the basic wiring details.

(jan 2017) If you want to experiment with a standalone 7″ multitouch panel without display, you might take a look at 7″ standalone capacitive multitouch panel (800×480).

I really like the feeling of the capacitive touch. Too bad that most “hobbyist” screens typically come with resistive screens.


129 thoughts on “7″ LCD with capacitive multitouch up’n running

  1. Hi Helge, I’m trying to get this screen running on a Teensy 3.0 but without succes. Why did you remove resistors R1->R3 ? I’ve set the serial debug to true, but nothing is coming in through serial debug either … I’m using your code, it’s probably bad wiring or something Teensy specific ? I asked to set the jumpers etc. for 4 wire SPI at the factory, so everything seems to be properly setup … also removed those resistors … nothing happening


    1. If I remember correctly I followed
      on page 12 for 4-wire serial mode.
      I ended up removing resistors R1,R2,R3. Doc says that they should be 10K. If I remember correctly 0ohm resistors were presoldered (as it should for 8080 mode).But I didn’t have any SMD resistors at hand (if you had it factory set for 4-wire mode R1->R3 are probably 10K already. In that case I guess that you should NOT have removed them).

      That’s what I remember… It works, but I have a strange issue with pin 12 (ref. comments in code: https://github.com/hellange/arduino/tree/master/lcd_capacitive_multitouch). Not sure if that’s related to the missing resistors.

      I know that Jason over at http://atomsoft.wordpress.com/ have tried the display and even written an app for the jumper settings! Let’s see if he can share some of his experiences.


    2. Hey! 🙂 Sorry to hear about nothing working right… while i have no OFFICIAL experience with Teensy or the LCD i have non official experience heh…

      What exactly happens when you power up? does the backlight go on at least? If not its probably a power issue. Can you tell me EXACTLY how the jumpers are setup? Is it for 5v or 3.3v … is it for RA8875 to control backlight or for External control? Ill try my best to help you out


      1. 3.3v, set for RA8875 to control backlight (I don’t see a backlight turning to on …), I measure 3.24V on the LCD board voltage rails, so it has power… Here are my jumper settings :

        J6,J7,J9,J11,J13,J15;J17,J18 open
        R1,R2,R3 not connected (I removed those resistors), those were probably 10k
        R35,R36,R37,R38 have resistors mounted, I assume 0R as stated in datasheet
        R39, R40, R41, R42 = NC

        What’s the connect fix hole ground ?


      2. Hello, is pin 12 wired to the Teensy as well? Pin 12 on my PCB is the RESET , i think they switched the labeling. You must control pin 12 as well with Teensy


    3. How are you powering it? Only through teensy? I have the 3.1 now and i havent tested yet but the regulator is only 100mA output which means it wont work unless you supply more current. 500mA as a test should work.

      Ill give it a go today or tomorrow and see.


      1. Oh ,I thought the Teensy board could still deliver 500mA . That would explain the whole thing offcoarse ! The screen draws 330 mA at 3.3V according to the datasheet.

        Has anybody of you been experimenting with anti aliasing algorithm’s yet? I’m thinking of implementing something like Shiaolin’s anti-aliased line / circle algorithm …


  2. Yes pin 12 is also wired to the Teensy, FPC(CON4) seems to be soldered fine… I’ll give it another go tomorrow 😉 .


  3. I’m from Belgium but my “day job” is in the evening ;).

    Got the RA8875 working on a 5v Teensy++ 2.0 board . But not everything is like it should be , seems like textenlarge(1) is messing up stuff. Textenlarge(2) works fine. Well, hope it’s good enough for the stuff I need it to do …

    Teensy 3.0 board (3.3V) didn’t work … At least I now know the lcd isn’t defective! … Gonna try the 3.0 board later. On the Teensy forum somebody got it working on a 3.1 board, which is almost the same as the 3.0 …


      1. They have a list of dealers on their site , but you’re from the states so I think they sell direct to you !


  4. Hi, Can i know more about your display? Do you use 40 Pin TFT with adafruit RA8875 driver or you bought some other display with built in controller as a unit ? (buydisplay.com has separate units I am thinking to order one )

    Please let me know more details. Thank you.


      1. Thank you for the reply. I bought 5″ with Resistive touch. I want to operate it via 4 wire SPI mode, but nothing happens.

        I noted that R1,R2,R3 are 0 Ohms (as you mentioned before) and they should be 10K.
        Did you add any resistors after removing them?

        Any help greatly appreciated.


  5. Hi, I bought 5″ one with resistive touch. In there R1,R2,R3 are 0 Ohm. I want to communicate via 4 Wire Serial (SPI) mode.

    I cant mount 10K to R1,R2,R3.. but i can remove them easily? Is it okay to do so? Presently nothing happens.. no any sign.

    Can you help me?


    1. What do you mean by “presently nothings happens” ? Have you tried to connect the display but nothings happens ? And you want to know if removing the resistors R1-R3 makes it work ? I honestly don’t know. I removed them before connecting power first time. What kind of processor/power do you use? According to previous posts, not all processor boards deliver enough current. Could that be an issue ? It’s been a while since I tested it. Maybe it’s time to take a new look…


      1. Thank you for the quick reply.

        “presently nothing happens ” — I mean no any sign or any thing. Just the same look as it is not powered.

        In my case, R1,R2,R3 are zero Ohm resistors. I can remove them, but i don’t have facility to solder them to 10K.
        Is it okay to remove them and use? (without soldering anything) In your second comment you said you removed them but there is no sign that you soldered 10K again.

        thank you.


      2. Perhaps we should setup forums? If I set one up would you link to it? And u can provide support/help from there.. comments are unnatural forms of help 🙂


  6. (helgelangehaug)

    For some odd reason when i try to use your lcd_capactive_multitouch.ino example I get this error while verifying .

    C:\Documents and Settings\Admin\Desktop\arduino 1.0.5\libraries\FT5x06\FT5x06.cpp:1: error: stray ‘\357’ in program
    C:\Documents and Settings\Admin\Desktop\arduino 1.0.5\libraries\FT5x06\FT5x06.cpp:1: error: stray ‘\273’ in program
    C:\Documents and Settings\Admin\Desktop\arduino 1.0.5\libraries\FT5x06\FT5x06.cpp:1: error: stray ‘\277’ in program

    any idea’s


    1. I guess never mind.. Weird when I removed (FT5x06.cpp and FT5x06.h) from there own library folder and placed them directly in the sketch folder with lcd_capactive_multitouch.ino It verifies just fine. hmm Odd tho…….


      1. It’s been a while since I visited this code, but if I remember correctly I left the cpp and h files in the same directory as the main file. Feel free to post a comment if you find out why it fails when you put them into the library folder.


  7. So does the touchscreen you got come with the FT5x06 controller? It looks like your code uses the FT5x06, but I don’t see any wiring in the image for it.

    Thanks! This is the best source I’ve found for running a nice capacitive screen with an easy to use microcontroller. I am hoping to get this running on a teensy 3.1.


    1. The controller is included on the board.
      It is programmed over a separate I2C bus on pin 34 and 35 if I remember correctly.
      (It’s been a while since I used it).
      Just make sure you order it with capacitive touch, not resistive.
      More info at: http://www.buydisplay.com/default/7-inch-lcd-module-capacitive-touch-screen-panel-i2c-spi-serial

      Also take a look at Jason’s blog over at http://atomsoft.wordpress.com/. He has also experimented with this board.

      Maybe I should spend some time to write a proper howto for this board…


      1. Thank you for your reply! I’ll certainly check out both pins.

        By the way, it was a smooth move including some of the pinout on your git code. The comments there confirm that it was over pins 34 and 35.

        I’m excited to get my hands on the board and see if I can get it running. Capacitive touch looks so much nicer than res. Plus the glass has certain clear material advantages (though perhaps resistive can be laid over glass…I have not seen it over a glass screen though. I remember usually plastic.)


    1. Heh yeah on my github I have it on all my capcitive code but since he si using teensy 3.1 he will most likely use the arduino style code.

      Btw. I got 8bit working finally. Check my blog. Even make a nice keyboard.


  8. Hi, guys! I have a TFTM070-5 LCD with on-board RA8875 controller. I’m trying to communicate with this screen through my PIC32MX. So I have connected LCD to my PIC expansion board and I’m using source code from the manufacture’s website but the screen won’t even turn on. Can you please help me? So I’ve board configured to 4-wire SPI, 5.0V. I believe jumpers and resistors are ok. Can provide my source code if needed.


    1. You have to try 2 different ones… either 11 or 12… i have 2 of these lcds… one in SPI and one in Parallel 8 bit. The SPI seems to use pin 12 C86 as the reset and the parallel one uses the pin 11 RESET as reset… its weird but since they wont give a schematic out i will never know what happened.


  9. What’s the connect fix hole ground ?

    One side of J17 is connected to the top right hand hole (seen from pcb side), so that is the fix hole gnd.


  10. Could someone explain the flash memory on the ER-TFTM070-5?
    I had assumed that it is needed to display (complicated) graphics, and could be written to via the display interface.
    However East Rising wrote that:

    ‘…, you have to program flash yourself, I don’t know what kind of information you want to store in flash, That’s why it’s not installed by default’

    So the flash can only be written to off board? And what if you later want to change the ‘kind of information you want to store’?
    I think I’ve misunderstood something here.


  11. Hi everyone,
    thanks for this article, it’s very useful. I have just a question, according to the interfacing PDF: http://www.buydisplay.com/download/interfacing/ER-TFTM070-5_Interfacing.pdf
    How many pins should be connected to VCC and GND? I would say 6 for GND and 4 for VCC, right? Because in the code of this article on GitHub recommended to connect just the pins 1,2 for GND and 3,4 for VCC
    Thanks in advance for any answer


  12. Hi akismet, I’ve connect the TFTM070-5 power pins as you did, and I have been able to receive a:

    “RA8875 start
    Found RA8875”

    From the buildtest.ino example of the Adafruit RA8875 Library:

    But did someone modify that Library to order to have a good image show on the TFT screen ??? I only got flickers, weird lines, and this is only sometimes. Usually, the TFT is recognized by my Arduino Mega, but nothing shows on the screen.

    Anyone have an Idea ?

    I do have 10K resistors as per the Datasheet and the proper jumpers/resistors have been populated on the board. It runs over 5V with an external Power Supply. The RST (pin#12 of the TFT screen-RA8875 controller) is hooked with a voltage divider, so it is 3.3v instead of 5.0v)
    I wont get through the Arduino -> Ra8875 pinout connection since I receive a “RA8875 Found” from the Arduino, so SPI is communicating.

    Anyone got an idea ? I’m trying to show the vendor that the screen is defect, did anyone manages to make this screen works with the adafruit_ra8875 library untouched (except for the pinout definition).

    Thanks !


    1. Hi, not sure if I can help because it´s been a while since I played with this device. However, here are some thoughs:

      Are you sure the power supply can deliver up to 400-500mA ? Some have had problems powering it directly from small boards.

      Is it configured with 4wire SPI ?

      I´ve also experienced some instabilities with this board, but I think/thought it´s because I did some bad soldering while removing/changing resistors on the board to make it 4wire SPI.

      I don´t remember if I tested the untouched Adafruit code directly. Have you tried with my code ?

      Jason over at atomsoft have played alot with this board. Go to
      https://atomsoft.wordpress.com and search for ra8875 or 7″

      Maybe I should revisit this board and make a proper description on how to make it work… hmm…


  13. Hi again and thanks for trying to help me out, it is really appreciated.

    Yes I tried both /Reset (pin#11) and C86 (pin#12). Same symptoms.

    By symptoms I mean: 1 power cycle out of five, backlight is activated, got weird output from the tft screen (white/grey filled screen with vertical red line) and 3 small led activate near the bottom/under the tft screen (using the example Adafruit RA8875 example), the other 4 times out of 5 the ra8875 is still detected but nothing show on the screen, no led.
    I’m powering this TFT board with an exterior power supply, so no worries with the power from USB or the Vreg off the Arduino.

    Also, one time I was able to see a Location output off the Serial monitor from the Capacitive Touch screen. I’m trying to follow the code as it run’s through, usualy the code Jams when going through a “FillScreen” function. (See AdafruitRa8875 example, buildtest.ino)

    Buydisplay.com thinks it is a software issue, but usually when software is not properly designed, either it doesn’t work at all or you have weird output all the time, not 1 times out of five ! (By the way, if I leave the tft powered for 10 min, 1 times out of 5 becomes 1 time out of 20 !)

    Seriously, may I ask someone who can test a Good known ER-TFTM070-5 or equivalent with any arduino using the Genuine untoutched Adafruit-RA8875 Library (except for pin definition)? I will really be appreciated.


  14. Ill be glad to mention Rousselle has his problem resolved. It was a timing and power issue with his voltage translators on his spi line. To remedy the problem he removed the divider/buffer and connected his 5v arduino straight. This shouldnt cause issues even tho the lines arent 5v tolerant aince the current is low and the actual high voltage is 2.7v to 5v on arduino. To better fix this issue I recommend using a 3.3v mcu instead or a better translator.


  15. Today I tried to figure out the problems I have to turn on my display, I discovered that the R1 is 0ohm instead of 10kohm (for the 4-wire connection), so now I don’t know if I have to buy a 10k resistor to follow the datasheet or try with the configuration I found in this article. I have an Arduino Mega and I tried to connect the display with and without (via Arduino 5V connection) the external power supply. Any suggestion?


  16. I follow your advice and I connected the display as datasheet, now i got just a blink of the display when i put the electricity via USB 😦 should I connect the Arduino at 12V instead of USB? or should I connect the display at power supply?


  17. I tried both of them at 49 pin of Arduino (I changed also that part of code) but still nothing 😦 is it important to put the capacitor between Vdd and the ground? I put a 100uF capacitor instead of parallel of 10uF and 0.1uF capacitors (I tried also with no capacitor)

    And I have the display without the capacitor touchscreen panel, I have to change something at code or at connections? (I don’t think so)


  18. Great tutorial and great link to the display (http://www.buydisplay.com/default/7-inch-lcd-module-capacitive-touch-screen-panel-i2c-spi-serial).

    One question though: Which configuration of the display did you order exactly? Any accessory for the parallel interface? 4-wire SPI or I2C?

    I took a look at your sample code, but I am not quite sure if the display will be supplied with the correct pins and what options I should choose when ordering.


    1. Hi.
      I ordered by display from ebay (http://www.ebay.com/itm/7-7-inch-TFT-LCD-Module-w-Multi-Capacitive-Touch-Screen-Panel-I2C-Serial-SPI-/291039825694). Not sure which interface version I actually ended up with. I had to resolder some resistors to make it 4 wire SPI. If I were to order again I would have ordered directly from buydisplay. On their page you can select which interface type, touch type etc. you want. Not sure if that means you don’t have to resolder anything.


      1. Thanks for the fast reply! So you used 4-wire SPI and the code posted here worked for you? What about the touch screen – do you communicate with it via I2C?


      2. Yes, it works with 4wire SPI. Touch is through I2C (separate pins). Make sure you chose capacitive touch panel when you order. Note that I used arduino UNO in my experiment. Might not work with Mega due to differences in I/O for interrupt.


      3. Great, sounds good! I have worked with the differences between different Arduino models before so that should not be a problem. I’ll get it directly from buy display then.


      4. Finally got my board this week but no luck so far 😦 I connected pins 1+2 to GND, 3+4 to 5V from Arduino Mega, 5 to Arduino 10, 6 to MISO on ICSP, 7 to MOSI on ICSP and 8 to SCK on ICSP. I measure 5V between pins 1 and 3. Still, it stays at “Trying to initialize RA8875 though SPI”. My resistors R1-R3 came pre soldered with 10k. I also tried with external power supply but cannot get the Arduino to notice the display… Any ideas? Been trying quite a bit and getting frustrated soon. I also tried connecting pin 12 to Arduino 9 and measured 3.3V at pin 12, which seemed strange… Would really appreciate any help!


      5. Yes, mine has a SD card slot. I removed the SD card check from the Arduino sketch though, so that should not be a problem. Do you know if I need pins 11 and 12 from the display – INT and RST? I’m really clueless by now…


      6. Yes, they all came set correctly. I measured the resistors and check the jumpers. They are setup for 4wire SPI, 5V supply exactly what I’m using. Starting to think my display is broken…
        Which pins did you use when you tried with the mega? The ICSP header or the 50-52 pins? And what about the CS/RST/INT? Really appreciate your help!


      7. I used the ICSP. Last time i tried it I didn’t connect reset at all… But I remember from some months ago that I had stability problems. Don’t know why. I always had backlight and some screen response though…
        Jason is a magician with this display, lets hope he’s out there watching.


      8. Just a note. I’m trying to connect it as we speak. This time with another PC than I used a few days ago. Now I have problems. It depends on what USB port I use. Using separate power works (I tried with my phone charger). Do you use the USB port as power ? Have you tried to power it with another power supply ? Just in case…


      9. Thanks so much for the help guys! I’ve tried now with and without RST connected (same for C86), and with Arduino powered through USB connected to PC and power plug and external 8V supply. No changes at all…


      10. Thanks again for the help – also special thanks to Jason from atomsoft for being so helpful!

        I got it to work both on Uno and Mega. The problem was some issue with the boards.txt file… But now everything looks good and I have a working multi-touch keyboard implemented already. You guys are great!


  19. I’m trying to power the display via Arduino that it’s powered by battery (12V 4.5Ah – via power jack). The strange thing that is the values of voltage (5V for Vcc and 3.3 for BL) are the same as for the USB as for the battery supply but the display doesn’t work. Especially it “pulsates” if I connect the 3.3V pin to control the backlight and without that, the rest of circuit works fine but it doesn’t show me nothing. I asked already at atomsoft but we didn’t figure out yet 😦 any suggestion guys?


  20. hello
    i followed the artical and the messages.
    i am interested in using a 7″ LCD capacitive touch screen with an ARDUINO MEGA. i understand that you managed to do so but it seems that from the above information it is not a straight forward process.
    i get confused between the choice of equipment (there are many options on the page or the LCD ebay page) and i could not figure out if there is a hardware modification needed (soldering resistors), I2C vs. SPI communication and so on.
    can you recommend any further reading. i am trying to figure out the whole “picture”.
    i see great potential in that project but i fail to grasp the details of “how-to”


    1. Hi,
      I bought the LCD from ebay (http://www.ebay.com/itm/7-7-inch-TFT-LCD-Module-w-Multi-Capacitive-Touch-Screen-Panel-I2C-Serial-SPI-/291039825694) and wasn’t aware of the fact that it could be ordered in different configurations. So I had to resolder some resistors according to the manual.

      Buy directly from buydisplay.com instead and select:
      On that page select:
      Accessory for parallel Interface: 4 wire serial
      7 inch touch panel: Capacitive touch panel…
      Accessory for microSD: MicroSD (Might not be neccessary but I have it)
      Flash and font chip… I don´t remember if I have them. I can check when I get access to the display again.
      Then I don´t think you have to do any soldering…

      With regard to the MEGA, it seems to work with my code. However, according to PaulStoffregen in http://forum.pjrc.com/threads/26256-Has-anyone-tried-running-the-GSL16880-capacitive-touchscreen-controller-with-Teensy3 it is claimed to only work on UNO due to some interrupt issue. If you run into problems you might want to try his fork https://github.com/PaulStoffregen/arduino-1.


    2. If you get all the connections right, it is also straight forward with the Mega. The connections between the TFT and the Mega are as follows:

      * TFTM070(40 pin) Arduino Mega pin Description
      * 1,2 GND
      * 3,4 VCC
      * 5 10 SPI SELECT
      * 8 ICSP_SCK CLK
      * 33 2 CTP_INT touch data ready be read
      * 34 20 SDA – I2C for FT5x06 (preconfigured)
      * 35 21 SCL – I2C for FT5x06 (preconfigured)
      * 11 9 RESET

      Hope I could help.


      1. To clarify on the format: the first number is the pin on the TFT, the second one is the pin number of the Mega. So, for example, “5 10 SPI SELECT”, means pin 5 of the TFT should be connected to pin 10 of the Mega and is used for SPI Select.


  21. thank you for the helpful information. i will order the screen and once i get it i will attempt the interface. i assume that once the connections are done i might need a little advice with the code …

    thank you very much



  22. just to clarify:
    pins 1 & 2 of the TFT should be connected to phisical ground of the MEGA?
    pins 3 & 4 of the TFT should be connected to which voltage of the MEGA (3.3 or 5.0)?
    do you solder the wires directly to the TFT board or do you use a breakout board for the ZIF connector?


    1. Yes, pins 1 and 2 to GND of the Mega. I think the display can operate in 3V3 or 5V mode, which is selectable by one of the jumpers on the back. Default is 5V. So check the jumper but it should be 5V. Then connect pins 3 and 4 to the 5V pin of the Mega.

      I soldered cables directly to the 40pin connector and it works fine. With the connector it may be cleaner.


      1. thank you for the information. i will try to find a breakout board for he 40 pin jumper because i am afraid i will ruin the fine wires of the zip cable. if you can recommend such a breakout board please send a link


  23. hello
    while the LCD screen is on its way from hong kong i was wandering about the programming.
    the current LCD i am working with is from ITead Studio and it works with the UTFT and UBUTTUN lib which makes programming a straight forward task. i was wondeing whether the LCD from East Rising can also work with this lib?


  24. Hi, I appreciate your help. buy a lcd 7 “buydisplay.com and wine bridges for 4 wire SPI serial. connect pins of the Arduino Mega and in the program, but not turn my backligh not see anything.
    the program is following him.

    Basic Text Functions
    Tested and worked with:
    Teensy3,Teensy3.1,Arduino UNO,Arduino YUN,Arduino Leonardo,Stellaris
    Works with Arduino 1.0.6 IDE, Arduino 1.5.8 IDE, Energia 0013 IDE
    —————> http://www.buydisplay.com

    //Arduino DUE,Arduino mega2560
    #define RA8875_INT 23
    #define RA8875_CS 22
    #define RA8875_RESET 24

    RA8875 tft = RA8875(RA8875_CS,RA8875_RESET);


    void setup()
    //while (!Serial) {;}
    Serial.println(“RA8875 start”);
    //initialization routine

    //following it’s already by begin function but
    //if you like another background color….
    tft.fillScreen(RA8875_BLACK);//fill screen black

    //RA8875 it’s capable to draw graphic but also Text
    //here we switch to TEXT mode
    //now set a text color, background transparent
    //use the classic print an println command
    tft.print(“Hello World”);
    //by default the text location is set to 0,0
    //now set it at 50,20 pixels and different color
    tft.setCursor(50,20);//set cursor work in pixel!!!
    //this time we not using transparent background
    tft.print(“Hello World”);
    //by default we using the internal font
    //so some manipulation it’s possible
    tft.setFontScale(1);//font x2
    //You notice that font location has been
    //automatically increased by chip, unfortunatly not
    //tracked by library but we can use a command for that…
    uint16_t currentX,currentY;
    //now we have the location, lets draw a white pixel
    tft.changeMode(GRAPHIC);//first we swith in graphic mode
    //did you see the white dot?
    tft.changeMode(TEXT);//go back to text mode
    tft.setFontScale(0);//font x1
    tft.println(“ABCDEF 1 2 3 4”);//this time println!
    tft.setFontSpacing(5);//now give 5 pix spacing
    tft.println(“ABCDEF 1 2 3 4”);
    tft.println(“ABCDEF 1 2 3 4”);
    tft.setFontScale(2);//font x1

    unsigned long i = 0;

    void loop()
    if (i > 99) tft.setTextColor(RA8875_CYAN,RA8875_BLACK);
    if (i > 999) tft.setTextColor(RA8875_MAGENTA,RA8875_BLACK);


  25. Hello everybody!
    I order the 7’ display from Buydisplay configured for 4-wire spi, made the connection as described here with an UNO. Everything works perfectly. The thing is that I always supply power to the display from the Arduino UNO (5V and GND).
    I am now trying to supply power from another 5V source but the display does not turn on. It does not turn on even if I supply power from the UNO but power the UNO from the barrel jack with 12V instead of the USB.
    My goal is to have the display run from an Arduino Nano but I didn’t manage that either (I think the Nano has not enough current to drive the screen) and my problem is that I CANNOT POWER THE DISPLAY FROM ANOTHER SOURCE except the UNO 5V pin and only if the UNO gets power from the USB. Please can anybody help !


  26. hello
    reading the mail of diego ortego from Diego Ortega April 24, 2015 at 3:53 pm i see that the setup he used was:
    //Arduino DUE,Arduino mega2560
    #define RA8875_INT 23
    #define RA8875_CS 22
    #define RA8875_RESET 24

    while i was advised to use:

    * 5 10 SPI SELECT
    * 8 ICSP_SCK CLK
    * 33 2 CTP_INT touch data ready be read
    * 34 20 SDA – I2C for FT5x06 (preconfigured)
    * 35 21 SCL – I2C for FT5x06 (preconfigured)
    * 11 9 RESET

    i understand it may make a difference. what should i use?
    does pin 23 on ARDUINO MEGA 2560 supports inerupts?

    thank you



  27. I am very impressed by this and hoping to do something similar, so please forgive what is probably an ignorant question:

    In order to make this idea a little more versatile (and/or to save some money for those of us that already have a LCD screen they like), could this be adapted to the buydisplay 7″ touch overlay?


    I saw in another section that you did have some success with their 5in overlay, so I imagine it is POSSIBLE. But that was a whole different chipsset the GSL1680 so it looked like you had to start from square 1 and hunt down and modify someone else’s build (again, nicely done). So, I guess part of my question is, since the 7in overlay seems to use a chip from a similar line (this uses FT5206 and overlay uses FT5316), would it be fairly easy to adapt the code from this project to fit that? Or would it be starting from scratch like you had to do with the 5in screen?

    If you could give me a better sense of what that adaptation would take I’d sure appreciate it. – Cheers


    1. Actually, I’m currently testing out a FTxxx based capacitive touch panel from Aliexpress (http://www.aliexpress.com/item/7-tablet-capacitive-touch-screen-handwritten-screen/1338500271.html). As you say, in theory it should only require some minor modifications to existing code. I’ve just finished soldering the tiny 0.5mm pitch lcd connector. I’ll do a post when (if) I have tested it. Hope I don’t run into problems with the controller firmware (as with the GSL1680) as indicated in this post.

      I wasn’t aware of the fact the Buydisplay had larger that 5″ capacitive touch panels based on FTxxx. Thanks for the info. Maybe I should buy one of them.


      1. Thanks for the quick reply. VERY glad to hear there is an ongoing project in this vein! Please keep us posted on the progress 🙂


  28. Nice thread! I have the same display and I got it running on my Weathergadget protoboard. However the SD card reader never worked. Accordind to my logic analyzer, MISO is always pulled down.
    Did anyone got it to work?

    While troubleshooting, I found out that only the VCC of a 5V version is actually 5V. All inputs are still only 3.3V tolerant(!), since it doesn’t have a level shifter on board: https://github.com/sumotoy/RA8875/wiki/EastRising-and-Buydisplay-SPI-configuration-and-wiring

    Although it worked, I will level shift SPI with a 74HC4050 and the I2C with two MOSFETs to avoid destroying the board.
    Once it works, I will document here: https://weathergadget.wordpress.com/


    1. i failed to understand the fine but mportant details:
      1. the ER-TFTM070-5 need a seperate 5 VDC power supply because it can not be fed through the arduino.
      2. i am ushng an ARDUINO MEGA board. on the scheme it says to connect the in/out lines from the display to the arduino. in the text above it says that some work need to be done because the voltage is not the same?


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s