ESP8266(NodeMCU) Weather Station

by 513696765 in Circuits > Wireless

7291 Views, 72 Favorites, 0 Comments

ESP8266(NodeMCU) Weather Station

运行效果.jpg

Use ESP8266_RTOS_SDK-1.4.x CJson Resolution Weather Web Json Data and Display on the OLED12864,the code include ESP8266 SmartConfig function can use SmartPhone APP connect to WiFi

Schematic Diagram

电路.bmp
硬件.jpg

use NodeMCU and OLED JLX12864G-222-PN

Software : Oracle VM VirtualBox + SDK + ESP8266_lubuntu

开发环境.bmp

Development environment to build, please go to the http://pan.baidu.com/s/1jIcwHSi to download

Install Virtual Box

VirtualBox.bmp

install Virtual Box

Oracle VM VirtualBox Import the Official Development Environment

导入虚拟电脑.bmp
导入开发环境.bmp
导入开发环境Next.bmp
导入开发环境安装.bmp

Oracle VM VirtualBox Import the official development environment

Set Up the Shared Directory

设置共享文件夹.bmp

Set up the Shared directory

Apply for APIkey

气象网站API申请.bmp
浏览器天气数据.bmp

Need from the http://www.openweathermap.com/ apply for APIkey

Compile the Program Code

代码中加入Key.bmp
进入共享文件夹.bmp
编译.bmp
放置SDK文件.bmp
编译成功.bmp

Compile the program code,If you want to get this https://github.com/hxy513696765/ESP8266-Weather-Station

to download code channels

Download the Firmware

导入烧录文件.bmp
串口com口选择.bmp

Download the firmware

Config NodeMCU Connect the Wifi

模块wifi连接.png
IMG_20161018_174543.jpg

Config NodeMCU connect the wifi press the button for 20s to enter Smartconfig mode。

The Final Result

硬件.jpg
运行效果.jpg

Demo video http://v.youku.com/v_show/id_XMTYwOTQyODE5Ng==.html?firsttime=6

http://player.youku.com/player.php/sid/XMTYwOTQyODE5Ng==/v.swf