项目作者: vinicius-trev

项目描述 :
ESP8266 Node MCU Weather Station connected to weather underground public API
高级语言: C++
项目地址: git://github.com/vinicius-trev/WeatherStation.git
创建时间: 2019-03-20T02:18:04Z
项目社区:https://github.com/vinicius-trev/WeatherStation

开源协议:MIT License

下载


Weather Station

Overview

This Project consists of solar powered weather station based on arduino code adapted to a NodeMCU (ESP8266) microcontroller using two environmental sensors:

  1. HTU21D (SparkFun)
  2. BMP180 (Bosch)
  3. Generic NTC 10K @ 25 Degree Celsius

Necessary Changes

To use the code provided on this repo, you need to change the ssid and password of the default wireless network, and add the keys to WeatherUnderground API and IFTTT.

The WeatherUndergound is used to POST the weather data, making it public to everyone on the website.

  1. const char* ssid = "YOUR_SSID";
  2. const char* password = "YOUR_WIFI_PSWD";
  3. .
  4. .
  5. .
  6. char ID [] = "WEATHER_STATION_ID";
  7. char PASSWORD [] = "WEATHER_STATION_KEY";

Currently, the weather station is powered by a 5W solar panel using a iPhone 7 Plus Lithium Battery.