Sei sulla pagina 1di 10

ARDUINO - SPFD5408 TFT LCD 2.

4 TEMP
AND HUMIDITY MONITOR. FAHRENHEIT
& CELSIUS!
TechnologyArduino by vandenbrandeFollow

10,896

43

22

Posted Sep. 15, 2016


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

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
Add TipAsk QuestionCommentDownload
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!


Attachments

 SPFD5408_Adafruit_library.zip

Download

 SPFD5408_TFT_LCD_2_4_TEMP_and_HUMIDiTY_Monitor.ino

Download

Add TipAsk QuestionCommentDownload


4 People Made This Project!

sgarbo made it!


JayA73 made it!

valentinjoubert made it!


raspgraph made it!
 Did you make this project?
Share it with us!
I Made It!
Recommendations

Touch-sensitive LED Lantern


by TheLeftyMaker in technology

DIY ECG EKG Portable Heart Monitor


by qthurtle in arduino


DIY Arduino CNC Drawing Machine
by Surajit Majumdar in arduino

Arduino Class
66,090 Enrolled

 Epilog Challenge 9

 Science of Cooking
 Pocket-Sized Contest

Add TipAsk QuestionPost Comment

We have a be nice policy.


Please be positive and constructive.
Add ImagesPost

7 Comments
DJM29 2 months ago
Reply
i have a Arduino
(UNO) and a (LEONARDO) which one do i use and im using this LCD as well
https://www.jaycar.com.au/240x320-lcd-touch-screen...
if anyone could help me out that would be a big thanks please
big_nichev 3 months ago
Reply

I made it, it works nice!


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

big_nichev 3 months ago


Reply

Hi, can't import library from zip?


Please give a hint.
raspgraph 8 months ago
Reply

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
#else
#define ADJ_BASELINE 0 //legacy setCursor to top of letter
#endif
#include <MCUFRIEND_kbv.h>
MCUFRIEND_kbv tft;
And replace
tft.begin(0x7783); //MCUFRIEND Chipset ID on Librarytft.begin(0x7783);
yogamen 11 months ago
Reply

what is necessary to change in sketch?


yogamen 11 months ago
Reply

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

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
Post Comment

Potrebbero piacerti anche