Nextion Weather Station Tutorial

NEXTION WEATHER STATION TUTORIAL

Overview

This tutorial teaches users how to use Wboard pro with Nextion display to build a weather station.

Data

Download Nextion Weather Station HMI Project: nextion weather station hmi project

Download Nextion Weather Station tft project file: Nextion Weather Station tft project file

Read the old tutorial Weather Station: Use Nextion 4.3″with Wboard

Steps

Apply for API_KEY

1 Create an account: https://www.wunderground.com/weather/api/

2 Click the activate link in email sent by wunderground to activate your account and log in.

3 Fill up the information to apply for API_KEY

 

 

Change the API_KEY in WeatherStation

Write AT firmware to Wbord pro

Programming process reference tutorial:https://www.itead.cc/blog/esp8266-firmware-update-general-tutorial, they are only different in firmware and programming address. Note: make sure your baudrate is 115200.
Download AT firmware:http://bbs.espressif.com/viewtopic.php?f=46&t=851
Obtain the programming firmware and corresponding address: 
    boot_v1.2+.bin              0x00000
    user1.1024.new.2.bin        0x01000
    esp_init_data_default.bin   0xfc000 (optional)
    blank.bin                   0x7e000 & 0xfe000

 

 

Write Arduino program to Wbord pro

Open the program:weatherStation.ino
Wboard pro shortcircuit connect 2- 4 ,1 - 3
Write the program to Wboard pro




Upload firmware to Nextion display

Open nextion_code/weather.HMI by Nextion Editor, then upload the firmware to Nextion display


Reset, wait for communication completed

Default display weather of Sydney


Leave a Reply

%d bloggers like this: