ขาย พร้อมส่ง-Color Display 0.96/1.3/1.44/1.8 Inch IPS/TFT 65K Color LCD Module ST7735/ST7789 Drive IC ราคาที่ดีที่สุด
5
70
การให้คะแนน
121
ขายแล้ว
฿300
63% OFF
฿120 - ฿180
ยี่ห้อ | No Brand(ไม่มียี่ห้อ) |
---|---|
เรือจาก | จังหวัดเพชรบูรณ์ |
Variation | 0.96" IPS 128x160 1.3" IPS 240x240 1.44" TFT 128x128 1.8" TFT 128x160 |
รายละเอียดสินค้า
พร้อมส่ง-Color Display 0.96/1.3/1.44/1.8 Inch IPS/TFT 65K Color LCD Module ST7735/ST7789 Drive IC
***** รับประกันสินค้า 30 วัน *****
Product parameters:
1. LCD display size: 0.96 inches / 1.3 inches / 1.4.4 inches / 1.8 inches
2. Dot size:
80 * 160 (0.96 inches)
240 * 240 (1.3 inches)
128 * 128 (1.44 inches)
128 * 160 ( 1.8 inches)
(You can adjust the display, both horizontal and vertical direction, the screen is ready to use)
3. LCD Color: 65 K colors
4. Hardware interface: SPI interface
5. Driver IC:
ST7735 (0.96 inch / 1.44 inch / 1.8 inch) ST7789 (1.3 inch)
6. Operating temperature: -20 ° C - 70 ° C
7. Working power supply: 3.3 V
8. Interface: 8Pin (0.96 inch / 1.44 inch /1.8 inch) / 7Pin (1.3 inch)
9. Display area:
- 0.96 inch (10.8 x 21.6 mm.)
- 1.3 inch (23.4 x 23.4 mm.)
- 1.44 inch (25.5 x 26.5 mm.)
- 1.8 inch (28 x 35 mm.)
10. Size:
- 0.96 inch (30 x 24 mm.)
- 1.3 inch (27.78 x 39.22 mm.)
- 1.44 inch (30 x 43 mm.)
- 1.8 inch (35 x 56 mm.)
High resolution interface:
1. GND: Power ground
2. VCC: 3.3 V - 5.0 V (DC)
3. SCL: SPI watch strap
4. SDA: SPI line
5. RES: Restart the interface.
6. DC: SPI / Select command
7. CS: interface chip selection (1.3 inch is not possible)
8. BLK: backlight control, low floating start, off level
//Example Sketch Arduino UNO Connect Display TFT 1.8 inch
//เนื่องจากพื้นที่ไม่พอลงโค้ดได้ทุกบรรทัด สอบถามลิงค์เพิ่มเติมจากร้านค้าได้ครับ
#include <Adafruit_GFX.h> // Core graphics library
#include <Adafruit_ST7735.h> // Hardware-specific library
#include <SPI.h>
// For the breakout, you can use any 2 or 3 pins
// These pins will also work for the 1.8 inch TFT shield
#define TFT_CS 9
#define TFT_RST 7 // you can also connect this to the Arduino reset
// in which case, set this #define pin to 0!
#define TFT_DC 8
// Option 1 (recommended): must use the hardware SPI pins
// (for UNO thats sclk = 13 and sid = 11) and pin 10 must be
// an output. This is much faster - also required if you want
// to use the microSD card (see the image drawing example)
Adafruit_ST7735 tft = Adafruit_ST7735(TFT_CS, TFT_DC, TFT_RST);
// Option 2: use any pins but a little slower!
#define TFT_SCLK 13 // set these to be whatever pins you like!
#define TFT_MOSI 11 // set these to be whatever pins you like!
//Adafruit_ST7735 tft = Adafruit_ST7735(TFT_CS, TFT_DC, TFT_MOSI, TFT_SCLK, TFT_RST);
float p = 3.1415926;
void setup(void) {
Serial.begin(9600);
Serial.print("Hello! ST7735 TFT Test");
// Use this initializer if you're using a 1.8" TFT
tft.initR(INITR_BLACKTAB); // initialize a ST7735S chip, black tab
// Use this initializer (uncomment) if you're using a 1.44" TFT
///tft.initR(INITR_144GREENTAB); // initialize a ST7735S chip, black tab
// Use this initializer (uncomment) if you're using a 0.96" 180x60 TFT
///tft.initR(INITR_MINI160x80); // initialize a ST7735S chip, mini display
Serial.println("Initialized");
uint16_t time = millis();
tft.fillScreen(ST7735_BLACK);
time = millis() - time;
Serial.println(time, DEC);
delay(500);
// large block of text
tft.fillScreen(ST7735_BLACK);
testdrawtext(5, 45, "theblckwlf presents", ST7735_WHITE);
delay(2000);
testdrawtext(15, 65, "the microscreen", ST7735_WHITE);
testdrawtext(10, 75, "1.8in TFT display", ST7735_WHITE);
delay(4000);
tft.fillScreen(ST7735_BLUE);
tft.setTextSize(2);
tft.fillScreen(ST7735_WHITE);
tft.setTextSize(1);
testdrawtext(5, 65, "start ", ST7735_BLACK);
testdrawtext(5, 75, "diagnostic test...", ST7735_BLACK);
delay(1000);
tft.fillScreen(ST7735_WHITE);
testdrawScreenData();
delay(3000);
tft.setTextSize(2);
drawTestGrid(10,10);
tft.setCursor(5, 40);
tft.println("10x10 Grid");
delay(2000);
tft.setCursor(15, 40);
drawTestGrid(5,5);
tft.println("5x5 Grid");
delay(2000);
tft.fillScreen(ST7735_WHITE);
tft.setTextSize(1);
tft.drawPixel(tft.width()/2, tft.height()/2, ST7735_BLACK);
tft.setCursor(15, (tft.height()/2)-15);
tft.print("Center ");
tft.print(tft.width()/2);
tft.print(", ");
tft.println(tft.height()/2);
tft.drawCircle(tft.width()/2, tft.height()/2, 5, ST7735_BLACK);
delay(2000);
// tft print function!
tftPrintTest();
delay(4000);
// a single pixel
tft.drawPixel(tft.width()/2, tft.height()/2, ST7735_GREEN);
delay(500);
// line draw test
testlines(ST7735_YELLOW);
delay(500);
// optimized lines
testfastlines(ST7735_RED, ST7735_BLUE);
delay(500);
testdrawrects(ST7735_GREEN);
delay(500);
testfillrects(ST7735_YELLOW, ST7735_MAGENTA);
delay(500);
tft.fillScreen(ST7735_BLACK);
testfillcircles(5, ST7735_BLUE);
testdrawcircles(5, ST7735_WHITE);
delay(500);
for (int i=0; i<5; i++){
testroundrects();
}
delay(500);
testtriangles();
delay(500);
mediabuttons();
delay(500);
Serial.println("done");
delay(1000);
}
void loop() {
tft.invertDisplay(true);
delay(500);
tft.invertDisplay(fal
ข้อมูลจำเพาะของผลิตภัณฑ์
ขนาดหน้าจอมอนิเตอร์ | น้อยกว่า 20 นิ้ว |
---|