0

enter image description here

I got a TFT display module from China. The TFT does not has D/C pin, how could I connect TFT to UNO or which library should I need to use??

Here is the pin name print on PCB:

  1. VCC
  2. TFT_CS
  3. SDI (SDA)
  4. SDO
  5. SCK (SCL)
  6. RST
  7. SD_CS
  8. TFT_BL
  9. GND

According to my experence for another 2.2" LCD display with D/C Pin, I am using CD4050BE to convert the UNO pin 5v to 3.3v to fit to the TFT signal standard.

The product page (china seller) said it is using ILI9341, but I read the attachment which seller send to me, attachment said it is ILI9340. And I did a research from google, someone said it is HX8347A.

PS: I have tried using Adafruit_ILI9340 & Adafruit_ILI9341 with Adafruit_GFX, but I am no luck to see anything, the screen just got some flash (slightly dimmed and go back to bright).

Questions:

  1. Which IC (ILI9341, ILI9340, HX8347A) is it using ?? How can I check it ???
  2. Which library I should use ???
  3. Just in case AVR (Arduino UNO, ProMini, Nano) unable to use this TFT, is there any Library for STM32F103 ??
  • It may be running in I2C mode, not SPI mode. In I2C mode there is no need for D/C. – Majenko Oct 20 '17 at 11:28
  • Connect SDA and SCL up to the I2C pins of your board and run the I2C Scanner sketch to see if it identifies anything on the bus. – Majenko Oct 20 '17 at 11:35
  • This is definitely an SPI interface. The pinout suggests it also has at least something exposed on I2C as well. In either case data carry is unnessary to at least make it work. – jdwolf Oct 20 '17 at 12:53
  • @jdwolf D/C is used in both SPI and parallel interfaces to select between Data and Commands (some call it RS - Register Select). It's essential in all but I2C interfaces to make it work. – Majenko Oct 20 '17 at 14:46
  • Tested with I2C scanner, there are nothing found. – Allen Chak Oct 22 '17 at 5:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.