#5 NodeMCU/ ESp8266 Tutorial: ST7735 LCD with Adafruit Library

Поділитися
Вставка
  • Опубліковано 24 гру 2018
  • In this video I explain how to connect an ST7735 LCD with esp8266 and use Adafruit GFX library.
    The Pin Connection:
    LCD ESP8266
    VCC 3.3V
    GND GND
    CS D8
    Reset 3.3v
    A0 or D/C D4
    SDA (MOSI) D7
    SCK D5
    LED 3.3V
    The libraries are:
    Adafruit GFX library: github.com/adafruit/Adafruit-...
    St7735 LCD library: github.com/adafruit/Adafruit-...
  • Наука та технологія

КОМЕНТАРІ • 22

  • @daniplacerda1
    @daniplacerda1 2 роки тому

    Awesome tutorial ! Simple and direct !!! I really appreciate your video.

  • @RadekMarszalek
    @RadekMarszalek 5 років тому +2

    That works for me! THANKS A LOT!

  • @geniustechnology3358
    @geniustechnology3358 Рік тому

    Today i subscribed your channel for your good videos and information. So keep it up

  • @ataurrahman-zu5pr
    @ataurrahman-zu5pr Рік тому

    Today I subscribed your channel for you very good videos. So keep it up.

  • @jumbo999614
    @jumbo999614 2 роки тому

    Do you also have other tutorial that teach how to draw graphic on this TFT display?

  • @franciscolozano3801
    @franciscolozano3801 5 років тому

    Hi! I see that you don't have any Arduino connected, are you executing it directily to the ESP8266? Thanks!

  • @Jake4
    @Jake4 5 років тому

    Not working for some reason, Using the same screen & device (Built fine and Serial console is outputting the correct text).

  • @tycstahX
    @tycstahX 5 років тому

    why aren't you selecting the libraries for install directly from the arduino ide library manager?

    • @tycstahX
      @tycstahX 5 років тому

      Still thanks alot for the upload, it is very clear. Keep up the good work!

    • @MohammedRezwanulIslam
      @MohammedRezwanulIslam  5 років тому +2

      There are multiple ways to do a work. There is no wrong way as long as it works. This is my way......

  • @crazzyy123456
    @crazzyy123456 3 роки тому

    error compiling for board nodeMCU 1.0 ............................
    I have this problem, could you help me please

  • @luexiong8496
    @luexiong8496 3 роки тому

    IT worked if we change:
    #ifdef ADAFUIT_HALLOWING
    #define TFT_CS 39
    #define TFT_RST 37
    #define TFT_DC 38
    #define TFT_BACKLIGHT 7

  • @nurhakimnor5748
    @nurhakimnor5748 3 роки тому +2

    My ST7735 screen is white

    • @RayanTheTechnician
      @RayanTheTechnician 3 роки тому

      Me too...

    • @nurhakimnor5748
      @nurhakimnor5748 3 роки тому

      @@RayanTheTechnician I resolved mine. change your code for the output pin declarations

    • @nurhakimnor5748
      @nurhakimnor5748 3 роки тому +1

      @@RayanTheTechnician remove the 2 codes above it of other arduino declarations

    • @RayanTheTechnician
      @RayanTheTechnician 3 роки тому

      @@nurhakimnor5748 Thx !! but now i have "Error compiling for board NodeMCU 1.0 (ESP-12E Module).
      " how i fix this pls??
      logs:
      Arduino: 1.8.13 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Serial, 115200, 4M (3M SPIFFS)"
      C:\Users\ELVE~1\AppData\Local\Temp\arduino_modified_sketch_62477\graphicstest.ino: In function 'void setup()':
      C:\Users\ELVE~1\AppData\Local\Temp\arduino_modified_sketch_62477\graphicstest.ino:111:397: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
      testdrawtext("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur adipiscing ante sed nibh tincidunt feugiat. Maecenas enim massa, fringilla sed malesuada et, malesuada sit amet turpis. Sed porttitor neque ut ante pretium vitae malesuada nunc bibendum. Nullam aliquet ultrices massa eu hendrerit. Ut sed nisi lorem. In vestibulum purus a tortor imperdiet posuere. ", ST77XX_WHITE);
      ^
      C:\Users\El�ve\Documents\Arduino\libraries\SPI\SPI.cpp: In member function 'void SPIClass::end()':
      C:\Users\El�ve\Documents\Arduino\libraries\SPI\SPI.cpp:102:22: error: 'SPIPCS1DIS' was not declared in this scope
      SPI1P |= SPIPCS1DIS | SPIPCS0DIS | SPIPCS2DIS;
      ^
      C:\Users\El�ve\Documents\Arduino\libraries\SPI\SPI.cpp:102:35: error: 'SPIPCS0DIS' was not declared in this scope
      SPI1P |= SPIPCS1DIS | SPIPCS0DIS | SPIPCS2DIS;
      ^
      C:\Users\El�ve\Documents\Arduino\libraries\SPI\SPI.cpp:102:48: error: 'SPIPCS2DIS' was not declared in this scope
      SPI1P |= SPIPCS1DIS | SPIPCS0DIS | SPIPCS2DIS;
      ^
      C:\Users\El�ve\Documents\Arduino\libraries\SPI\SPI.cpp: In member function 'void SPIClass::setHwCs(bool)':
      C:\Users\El�ve\Documents\Arduino\libraries\SPI\SPI.cpp:125:23: error: 'SPIPCS2DIS' was not declared in this scope
      SPI1P &= ~SPIPCS2DIS;
      ^
      C:\Users\El�ve\Documents\Arduino\libraries\SPI\SPI.cpp:126:22: error: 'SPIPCS1DIS' was not declared in this scope
      SPI1P |= SPIPCS1DIS | SPIPCS0DIS;
      ^
      C:\Users\El�ve\Documents\Arduino\libraries\SPI\SPI.cpp:126:35: error: 'SPIPCS0DIS' was not declared in this scope
      SPI1P |= SPIPCS1DIS | SPIPCS0DIS;
      ^
      C:\Users\El�ve\Documents\Arduino\libraries\SPI\SPI.cpp:132:26: error: 'SPIPCS1DIS' was not declared in this scope
      SPI1P |= SPIPCS1DIS | SPIPCS0DIS | SPIPCS2DIS;
      ^
      C:\Users\El�ve\Documents\Arduino\libraries\SPI\SPI.cpp:132:39: error: 'SPIPCS0DIS' was not declared in this scope
      SPI1P |= SPIPCS1DIS | SPIPCS0DIS | SPIPCS2DIS;
      ^
      C:\Users\El�ve\Documents\Arduino\libraries\SPI\SPI.cpp:132:52: error: 'SPIPCS2DIS' was not declared in this scope
      SPI1P |= SPIPCS1DIS | SPIPCS0DIS | SPIPCS2DIS;
      ^
      In file included from C:\Users\El�ve\Documents\Arduino\libraries\SPI\SPI.h:24:0,
      from C:\Users\El�ve\Documents\Arduino\libraries\SPI\SPI.cpp:22:
      C:\Users\El�ve\Documents\Arduino\libraries\SPI\SPI.cpp: In member function 'void SPIClass::setFrequency(uint32_t)':
      C:\Users\El�ve\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\cores\esp8266/Arduino.h:130:16: error: expected unqualified-id before '(' token
      #define abs(x) ((x)>0?(x):-(x))
      ^
      C:\Users\El�ve\Documents\Arduino\libraries\SPI\SPI.cpp:270:33: note: in expansion of macro 'abs'
      auto cal = std::abs(static_cast(freq) - calFreq);
      ^
      C:\Users\El�ve\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\cores\esp8266/Arduino.h:130:16: error: expected unqualified-id before '(' token
      #define abs(x) ((x)>0?(x):-(x))
      ^
      C:\Users\El�ve\Documents\Arduino\libraries\SPI\SPI.cpp:271:34: note: in expansion of macro 'abs'
      auto best = std::abs(static_cast(freq) - bestFreq);
      ^
      exit status 1
      Error compiling for board NodeMCU 1.0 (ESP-12E Module).

    • @m.shokuienia2702
      @m.shokuienia2702 2 роки тому

      @@nurhakimnor5748 That solved my issue. Looks like it picks up the other definition for ESP8266 by default

  • @haru8515
    @haru8515 Рік тому

    始まるまでのCMが長い‼︎

  • @yunkeacme
    @yunkeacme 2 місяці тому

    damm, what a terrible and confusing wiring lol