Skip to content

JACKCHAN000/M5-Paper-Dashboard

Repository files navigation

M5-Paper-Dashboard

Arduino M5 Paper Dashboard

Feature:

Weather Station

Calendar

NTP

Environment Monitor IMG_3056

Snipaste_2023-01-08_13-37-01

Noted:

The weather display requires openweatherAPI

The environment sensor monitor requires Adafruit IO API

The calendar using the IFTTT to send feed data into Adafruit IO

Usage:

  1. Please config all the setting on Config.h
// WIFI_SETTING
#define WIFI_SSID "xxxxxxxxxxxxxx"
#define WIFI_PW "xxxxxxxxxxxx"
#define TIMEZONE 8

//OpenWeather API
#define city "1675151"
#define openWeatherMapApiKey "xxxxxxxxxx"

#define OPENWEATHER_URL "http://api.openweathermap.org/data/2.5/weather?id=" + String(city) + "&lang=en_US&units=metric&APPID=" + String(openWeatherMapApiKey)
#define OPENWEATHER_URL_WEEK "http://api.openweathermap.org/data/2.5/forecast/daily?id=" + String(city) + "&lang=en_US&units=metric&cnt=7&APPID=" + String(openWeatherMapApiKey)

//Adafruit IO
#define IO_USERNAME  "xxxxxxxx"
#define IO_KEY       "xxxxxxxxxxxxxxxx"
#define sensor_url   "https://io.adafruit.com/api/v2/xxxxxxxxxxxxxx/groups/sensor/data"
#define cal_url   "https://io.adafruit.com/api/v2/xxxxxxxxxxxxxx/feeds/message/data"
  1. Copy SD folder items to your SD card
  2. Complie on the arduino IDE

About

Arduino M5 Paper Dashboard

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages