You are on page 1of 5

Arduino Weather Station

With Nextion Display

SUBMITTED BY :-
* TARANG SINGH
2002164
ELECTRICAL
* KIRTI YADAV
2002137
ELECTRICAL
INTRODUCTION
• In this project, we will develop a weather station in which the user can
observe the temperature and humidity inside his/her home or office as
well as the outside temperature and humidity. The measurements can
be read from a NX3224T028 nextion display with the help of an
Arduino UNO.
COMPONENTS
• Bread Board Clear – 8.2 x 5.3 cm
• Temperature – Humidity Sensor –DHT22(AM2302)
• Nextion Enhanced NX4024T032 –Generic 3.2” HMI 400*240 Touch
Display for Arduino Rasoberry Pi
• Jumper Wires
METHODOLOGY
• We connect a DHT22 temperature sensor to an Arduino Uno.
 We use Digital Pin 2 as the output pin of the sensor.
 We also connect Tx pin of the Arduino to the Rx pin of the Nextion Display and the Rx of the
Arduino to the Tx pin of the Nextion display.
 We provide power to the sensor and the Nextion display and we are ready to load the code to
Arduino.
• We start coding in Arduino.
 We get the temperature from the sensor every two seconds
 we create two commands to send to the Nextion display in order to update the screen with the
new values.
 We then write those commands to the serial port, using the Serial.print command.
 Each Nextion command must end with a special character which is sent using the
endNextionCommand function.
CONNECTIONS AND FINAL DISPLAY

You might also like