Arduino 1.7 inch SPI TFT module ST7735S Full Color 128×160

Model: ST7735S
SKU: A3-11-ST7735S
Out of stock
EGP 175.000
Out of stock
Brand:Chinese

Arduino 1.7 inch SPI TFT module ST7735S Full Color 128×160

Description

Arduino 1.7 inch SPI TFT module ST7735S Full Color 128×160

1.Features

SIZE

1.7inch 

Display Mode

a-TFT

Display Format

Graphic 128RGB*160 Dot-matrix

Input Data

SPI interface

Drive IC

ST7735S

Dimensional outline

35(W)*56 (H)*3.45+/-0.1(T)mm

Resolution

128RGB*160 Dots

LCD Active area

28.03 (W)*35.04 (H)

Pixel size

0.219(W)*0.219(H)

Viewing Direction

12 o’clock

Operating Temperature

-20~70°C

 

Weight

9.6

 

2.Pin Descriptions:

PIN No

Symbol

Description

1

GND

Ground

2

VCC

Power 3.3V (ensure the MCU GPIO is 3.3V also)

3

SCL

Serial clock pin.

4

SDA

Serial data input

5

RES

LCM Reset pin

This pin is reset signal input. When the pin is low, initialization of the chip is

executed. Keep this pin pull high during normal operation.

6

DC

Data/Command Control

7

CS

Chip Select

————————————————————————————————————————————————————————————————————————————————————————————-
Arduino Code Example For ESP32 Connected:
#include <Arduino_GFX_Library.h>
// Set your actual connections here
Arduino_DataBus *bus = new Arduino_SWSPI(
  4 /* DC */,
  2 /* CS */,
  18 /* SCK */,
  23 /* MOSI */,
  -1 /* MISO not used */
);
// Set width/height according to your LCD
Arduino_GFX *gfx = new Arduino_ST7735(
  bus,
  13,        // RST
  0,         // rotation
  false,     // IPS
  128, 160   // width, height
);
uint8_t madctl_vals[] = {
  0x00, // Normal RGB
  0x08, // BGR
  0x40, // MY
  0x20, // MX
  0x60, // MX | MY
  0xC0, // MV | MY
  0xE8, // MX | MY | BGR | MV
  0x88  // MY | BGR
};
uint8_t current = 0;
void setup() {
  gfx->begin();
  gfx->fillScreen(BLACK);
}
void loop() {
  uint8_t val = madctl_vals[current];
   bus->beginWrite();
  bus->writeCommand(0x36); // MADCTL
  bus->write(val);         // Apply MADCTL value
  bus->endWrite();
  gfx->fillScreen(BLACK);
  gfx->setCursor(10, 10);
  gfx->setTextSize(1);
  gfx->setTextColor(WHITE);
  gfx->print(“MADCTL = 0x”);
  gfx->println(val, HEX);
  gfx->setCursor(10, 40);
  gfx->setTextColor(RED);
  gfx->println(“Red text”);
  gfx->setCursor(10, 70);
  gfx->setTextColor(BLUE);
  gfx->println(“Blue text”);
  gfx->setCursor(10, 100);
  gfx->setTextColor(GREEN);
  gfx->println(“Green text”);
  current = (current + 1) % (sizeof(madctl_vals)); // Go to next mode
  delay(5000); // Wait 3 seconds before next mode
}

 

Additional information

Weight 0.024 kg

Brand

Chinese

Chinese
Chinese

Reviews

There are no reviews yet.

Be the first to review “Arduino 1.7 inch SPI TFT module ST7735S Full Color 128×160”
Arduino 1.7 inch SPI TFT module ST7735S Full Color 128x160
Arduino 1.7 inch SPI TFT module ST7735S Full Color 128×160 EGP 175.000
Out of stock