Pin Out 1.8" Serial SPI TFT LCD Display Module "ST7735B" IC

Hello,

I’m have some struggles with the following device:

“1.8” Serial SPI TFT LCD Display Module ST7735B IC + PCB Adapter For Mega2560 R3"

I newer in arduino and buy this item from ebay. The pin configuration of the display does not match with any which i found in the web, can you help me with the identification?

In general, there are some tipical distribution as:

but i get this pin distribution on my display

  1. VCC
  2. GND
  3. GND
  4. NC
  5. NC
  6. NC
  7. CLK
  8. SDA
  9. RS
  10. RST
  11. CS

I had take this pin analysis from Matthias from this forum

Pin description is easy:
11PIN Standard wiring used IO:

  1. VCC–Power supply (5V/3.3V)
  2. GND-- Power supply (GND)
  3. GND-- Power supply (GND)
  4. NC–No connect
  5. NC–No connect
  6. LED-- Pick IO control back light off or PWM brightness control
  7. CLK–SPI clock signal
  8. SDI–Serial data input pin sda
  9. RS–Command (RS=0)/ Parameter (RS=1)
  10. RST–Reset pin
  11. CS-- Chip selection pin

but i have no LED pin, instead i have a NC in place.

I would like the help of some one of you to identify the pin configuration and the advice for some reading material relevant to understand how to manage this display.

Regards,
John

Picture_20162917122937.jpg

I have never seen a ST7735B. Has anyone got a data sheet?

The reason for your "unusual" pinout is so that you can plug it directly into the Power & Analog headers e.g. 5V through to A5. The main attraction is that it will work with 5V logic from a MEGA2560.

If you bit-bash SPI in software, the display will work fine. Unfortunately the HC245 chip is wired as unidirectional. You can only write to the TFT. You can't read SDA pin.

If you want to use hardware SPI, you would need to hand-wire all the pins to the 3x2 SPI header instead of a nice plug-in.

David.

Hello David,

Thank you for the comment, I will try to find the data sheet os try to hand-wire by myself. I'll try to find more bibliography for this because there are a lot of things I need to learn about.

If you know some bibliography to understand a little more about this kind of devices a would be nice.

greetings,

John

I have a similar display but with an ILI9225. pin#6 is LED on my shield.

I suggest that you install the Adafruit_ST7735 library. And use this constructor:

//Adafruit_ST7735 tft = Adafruit_ST7735(cs, dc, mosi, sclk, rst);
Adafruit_ST7735 tft = Adafruit_ST7735(A5, A3, A2, A1, A4);

And switch on the LED with:

    pinMode(A0, OUTPUT);
    digitalWrite(A0, HIGH);

Plug the shield into your Uno, Mega, ... with the CS pin mating with A5. Build and run the Adafruit examples.

David.

Thank You so Much,

The display is running very well, I will try to enable the SPI pins in order to use all the capabilities.

Your video uses the 5V .. A5 wiring scheme but you have not plugged directly into the Uno.
Of course trailing wires would be needed if you chose any diffeent wiring scheme e.g. to use hardware SPI.

Note that there are two ways to use the display with common Arduino hardware.

  1. VCC..CS to pins 5V .. A0 on the Arduino board.
  2. VCC..CS to pins 2 .. 12 of a HD44780-style LCD header socket on a dev board.

Check your dev board or Arduino LCD Adapter shield carefully before trying method (2)

Personally, I prefer to use standard shields or make a custom Protoshield. Trailing wires are not reliable.
If I have to make a custom adapter, I might just as well use a regular 2.2" SPI display with resistors (or 3.3V GPIO)

These small displays work pretty well with software SPI. I am sure that you will make good projects with it.

David.

Thank you David, I’m revising the wiring and my installation, I’m comparing the library I’m using and understanding, I’m planning some applications for a robot and thermal sensor. I have received from the vendor the information about the display: data sheet, manual, and library. In this moment I’m studying them. You can download from [030101]1.8寸TFT模块红支持arduino.zip_免费高速下载|百度网盘-分享无限制.

1.8inch Module Specification.pdf (292 KB)

No, I have not tried your link.

If you find a datasheet that specifically says ST7735B I would be very interested.

Mind you, the ST7735R and ST7735S have been on the market for a long time.
Personally, I have never seen an original ST7735.

And regardless of what Ebay and Ali vendors claim, the boards that they sell often contain different controllers. I can understand lingerie shops not knowing too much about electronics. They should be able to match correct photographs with the actual item that they send you.

David.