2.8 Inch TFT Color Screen Display SPI 240 * 320 with 7 pins without touch.

On AliExpress I buy a 2.8 Inch TFT Color Screen Display SPI 240 * 320 with 7 pins without touch. Here is the link to the product:

I have not found an example of using this display on the internet. Display would like to connect to Android Nano. From the vendor description I understand that the ILI9341 library is used, but I have not found any use case with 7 pins. Please advice how to use this display. Thanks.

The chip is ILI9341

The pin count is 5, not 7, let's say that GND and VCC are not taken into account to define this type of SPI connections.

I think the screen is set to receive 5V, since the pads of J1 are open. There is no circuit installed to convert 5V to 3.3V, so it seems that the screen should be used with a 5V to 3.3V voltage converter like a CD4050BE, if you are going to connect it to a 5V MCU.

This is a good library to start:

https://marekburiak.github.io/ILI9341_due/

TFTLCDCyg thanks for the reply and link. I read the contents of the link but could not find a solution to my problem. My TFT 2.8 inch display works great on a NodeMCU. Here is the link to the source code for NodeMCU:

On the same website (Interfacing Arduino with ILI9341 color TFT display - Simple Projects) there is an example of using the same display with an Arduino UNO (I used an Arduino Nano), but the example does not work. I used voltage dividers for I / O pins, the display is not broken as it works with NodeMCU. My Arduino Nano has a CH340 USB driver 16Mhz NANO V3.0 Atmega328.

Here are the pictures:: Tft28 - Google Drive

Does anyone have any idea?

Your photos seem to have inappropriate resistors. e.g. they look like 2R2 (2.2 ohms)

It is difficult to see the colours.
Please measure the resistance with a DMM.

And you have not connected the resistors properly. I suggest that you use similar values to the 2k2 and 3k3 that are shown in the Uno circuit.
The actual values are not too critical. I use 4k7 and 10k.

There are lots of examples to show wiring a Red SPI display to a Uno (and every other board)
I have never seen a Blue SPI display. It might have an ILI9341 but it could also be one of several other controllers. If it behaves 100% on NodeMCU it probably is ILI9341

Life is much easier if you post a link to the actual display that you bought.

David.

This behavior only indicates that you must disconnect everything and that you must connect it again. If it works on a 3.3V board, then your hardware on 5V has a wiring problem.

Besides normal resistors, you can use 10K SMD:

A CD4050BE

TXs0108e

Did I already say you have to disconnect everything and reconnect it?

The problem is solved. As david_prentice found, I had the voltage divider resistors set up incorrectly. I also incorrectly connected the CS, DC and RST pins of the display to the Arduino board (thx TFTLCDCyg).

Summary:

2.8 TFT SPI display which can be bought cheaply on AliExpress
1.44/1.77/2.0/2.4/2.8 Inch TFT Color Screen LCD Display Module Drive ST7735 ILI9225 ILI9341 Interface SPI 128*128 240*320|LCD Modules| - AliExpress,

works with Arduino boards in the way shown on this link:

I used resistors for the voltage dividers: 4K7 and 10K, as suggested by david_prentice.
Thank you all for your help.

My apologies. I mistook your pictures in #0 as dark blue and not Black !!

I have not seen that series of Black pcbs before.
The link, pictures and descriptions are not very accurate. More like Ebay than AliExpress.

Please always post a link to your display. It answers many questions. Even when descriptions are dishonest we can identify most displays from the pictures of the pcb.

I have never seen an ILI9341 display with bidirectional SDA (IM=0b0110). Most SPI ILI9341 use separate SDI, SDO pins (IM=0b1110)

If you are using TFT_eSPI library on your NodeMCU, please run the ID utility e.g.
C:\Users...\Documents\Arduino\libraries\TFT_eSPI\examples\320 x 240\Read_ID_bitbash\Read_ID_bitbash.ino

David.

p.s. what values did those resistors have in your original photo? (where I could not read the colours)

The values of the original resistors in the photo are 2K2 and 3K3. I assume the display would work with these values as well, I haven’t tried it. I now use 4K7 and 10K values. Thanks.

The values of the original resistors in the photo are 2K2 and 3K3.

The colours in the photo don't look like red-red-black-brown-gold

Yes, 2k2 and 3k3 should work fine (as in your tutorial link)

David.