I have the following screen:


I want to connect it to a NodeMCU device:


I read somewhere that it is not possible. However, I am not interested in the touch ability nor the SD card. I just want to draw something on the screen.

Is it possible to make the connection in somehow?

  • This is well possible. The TFT just has a SPI interface (SCLK, MISO, MOSI, CS) with additional DC and BL lines (DC = Data/Command, BL = no idea). You need a driver library for the LCD. What driver chip does it say it has? Do you have a buy link for the module? Apr 30 '18 at 14:18
  • The device appears to be this waveshare.com/wiki/2.8inch_TFT_Touch_Shield Apr 30 '18 at 14:22
  • BL = Back Light
    – Majenko
    Apr 30 '18 at 14:29

The driver chip was identified by https://www.waveshare.com/wiki/2.8inch_TFT_Touch_Shield and https://www.waveshare.com/w/upload/8/84/2.8inch-TFT-Touch-Shield-UserManual-EN.pdf as being the HX8347D.

At https://github.com/jshnaidman/UTFT_ESP8266_HX8347D there seems to be a library, with which you can use the HX8347D display type to instantiate a UTFT object, with which you can draw. You can build upon this demo code.

The connections for the SPI interface are detailed here. BL (backlight) pin is detailed here. The pin number for the D/C pin must be given in the code in the constructor and can be chosen freely.

Other reference code (which you might have to port) are:

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.