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

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 

2 Comments

  1. ERIC D CHRISTIAN

    Hello from Eric. Where can I Download the weatherStation.ino? Since there are so many, who is the Author of this code?
    Thanks for any Help/Reply

    Reply
  2. rcdalton

    I’m kind of confused about this tutorial. Would not you need an additional board with an esp8266 w/wifi? If so, what pins are Serial2 initialized upon. I was not able to see how Serial2 was defined in the weatherstation.ino file.

    Reply

Leave a Reply

Discover more from ITEAD STUDIO OFFICIAL

Subscribe now to keep reading and get access to the full archive.

Continue reading