How to use 5" tft with controller?

I'm looking at this lcd...TFT 5 inch LCD Display Module w/Controller Board,Serial,I2C,RA8875

It says easy to control with arduino. But how do you do it? Do you program the screen and then send commands back and forth between the screen controller and the arduino? If so how do you program the screen? Do you need a library for the arduino? Any tutorials on such devices?

What about the connector ? Can you connect such thing to something ?

Adafruit has a library for the RA8875 for their own RA8875 driver board : RA8875 Driver Board for 40-pin TFT Touch Displays - 800x480 Max : ID 1590 : $39.95 : Adafruit Industries, Unique & fun DIY electronics and kits

Caltoa:
What about the connector ? Can you connect such thing to something ?

That's what I'm wondering. It says easy to control with arduino.

I hope you didn't buy it yet.
It is not easy at all, it requires professional engineering to make that work with an Arduino.

Have a look a Adafruit, and find something there.

Great! Thank you!

I have it. and if you want normal basic things its very easy.

if you want more specific things it can be tricky. for example the two different layers

but basic drawing writing scrolling etc is very simple. check one of my other posts for my test code with almost every feature the screen can handle

Kind regards

Johan

jl-p (Johan), If you have a basic sketch, you can add a page to the Playground section, and add a link to it.
http://playground.arduino.cc/Code/LCD
The LCD section has a link in the playground index to a seperate page: Arduino Playground - LCD

jl-p:
I have it. and if you want normal basic things its very easy.

if you want more specific things it can be tricky. for example the two different layers

but basic drawing writing scrolling etc is very simple. check one of my other posts for my test code with almost every feature the screen can handle

Kind regards

Johan

Can it be connected with i2c?

the display can but i have it connected using SPI because its faster then I2C

Can you post your wiring diagram?

Do you also have the capacitive touch.
Because otherwise my code won't work for the touch.
I deleted all resistive touch code i think

Display Due
Pin 1 or 2 GND
pin 3 or 4 3,3V
pin 5 10
pin 6 pin 1 SPI Connector (miso)
pin 7 pin 4 Spi Connector (mosi)
pin 8 pin 3 SPI connector (SPCK)
pin 11 pin 9

pin 33 pin 2
pin 34 pin 20
pin 35 pin 21

I have a 5" resistive and a 7" capacitive. Thanks a bunch!

for the resisive touch version you need to copy the parts from the example from the buydisplay site and paste them in there.
i think i already convert all variables in the defines

Thank you! Just waiting on my Due!

Ok so this looks like I use the 4 wire SPI connection as shown in the docs correct? Did you have to perform all the jumper (solder pads) configuration as shown in the docs to convert to SPI interface?

Which library you use?

unfortunately i had to do it also. although i ordered it as 4 Wire SPI
i did it according the http://www.buydisplay.com/download/manual/ER-TFTM070-5_Datasheet.pdf

I updated the demo so only the Touch library is nessecary
so no pixel drawing but real RA8875 commands.

demo_compleet.zip (37.8 KB)

jl-p:
Do you also have the capacitive touch.
Because otherwise my code won't work for the touch.
I deleted all resistive touch code i think

Display Due
Pin 1 or 2 GND
pin 3 or 4 3,3V
pin 5 10
pin 6 pin 1 SPI Connector (miso)
pin 7 pin 4 Spi Connector (mosi)
pin 8 pin 3 SPI connector (SPCK)
pin 11 pin 9

pin 33 pin 2
pin 34 pin 20
pin 35 pin 21

Can you confirm this wiring?

Hi all,

i'm eyeballing for this type of display also, i'm fairly new to this.

is the documentation from buydisplay enough to get this display working?
i would like to connect it on SPI or I2C (what would be the best option, and why)

Grtz,
Yves