ARDUINO - SPFD5408 TFT LCD 2.4 TEMP and HUMIDiTY Monitor. Fahrenheit & Celsius!


Introduction: ARDUINO - SPFD5408 TFT LCD 2.4 TEMP and HUMIDiTY Monitor. Fahrenheit & Celsius!

About: Hello world! I make simple & Advanced projects for people who want to learn programming and electronics. Most of my Instructables are about arduino and the wide range of sensors you can use with it. I ma...

Hello world! Today i made a Temp & Humidity Monitor with a DHT11 Sensor & the 2.4 TFT LCD Shield on a arduino Mega. Its shows Fahrenheit & celsius, Also for both Heat Indexes are displayed.

Follow the next step for the Code, Schematic, Libraries & Parts list.

You need 3 Libraries. They are included in the downloads.

  • SPFD5408_Adafruit_GFX.h
  • SPFD5408_Adafruit_TFTLCD.h
  • SPFD5408_TouchScreen.h

Step 1: Schematic, Code, Libraries & Parts List.

Just wire the DHT11 Like the Schematic shows, and plug on the TFT LCD on top of the Arduino Mega.

Make sure you download and install the libraries, and Upload the code and you have yourself a nice cheap

to build Temp & Humidity monitor.

Parts list:

  • Arduino Mega
  • 2.4 TFT LCD SPFD5408 (Aliexpress got them very cheap)
  • DHT11 Temperature sensor. KY-015
  • Jumper wires

Good luck! Follow me for more!

5 People Made This Project!


  • Make it Move Contest

    Make it Move Contest
  • Oil Contest

    Oil Contest
  • Woodworking Contest

    Woodworking Contest

We have a be nice policy.
Please be positive and constructive.




I made it, it works nice!

Unfortunately external power can't support live running? Any suggestions?

Thank you.


Hi, can't import library from zip?

Please give a hint.

For MCUFRIEND TFT LCD Replace the first 8 lines with

#include <Adafruit_GFX.h>// Core graphics library

#if defined(_GFXFONT_H_)

#include <Fonts/FreeSans9pt7b.h>

#define ADJ_BASELINE 11 //new fonts setCursor to bottom of letter


#define ADJ_BASELINE 0 //legacy setCursor to top of letter


#include <MCUFRIEND_kbv.h>

MCUFRIEND_kbv tft;

And replace

tft.begin(0x7783); //MCUFRIEND Chipset ID on Librarytft.begin(0x7783);

what is necessary to change in sketch?

Good day, pls help me please, I have TFT LCD 3" same shield only different controller inside ili9327. How to change sketch ?

i got it to load on mega2560 but screen stays black i change my pins for my mcufriend shield to yp A3 xm A2 Ym 9 XP 8 even went in the touch screen ccp file to change the return tspoint too x 1100 and y 1043 but dont work help plzzzz