ShiningMan123 / 2.13inch_EPaper_WeatherStation_GDEY0213B74_SSD1680

Using 2.13 inch E-paper from GoodDisplay GDEY0213B74 250x122 SSD1680 for a simple, easy use EPD Weather Station (Chinese API)

Home Page:https://twitter.com/iluvsuaoni

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

2.13inch_EPaper_WeatherStation_GDEY0213B74_SSD1680_GOODDISPLAY_PopularItem

Using 2.13 inch E-paper from GoodDisplay GDEY0213B74 250x122 SSD1680 for a simple, easy use EPD Weather Station (in the demo we used a Chinese API but later on you can change it into any other you like.)

Product Page

https://www.good-display.com/product/391.html

该项目基于arduinoIDE开发的,所使用的的库有:Adafruit-GFX、ArduinoJson、GxEPD,请自行的在IDE中安装以上相关的库 This project is developed based on arduinoIDE, and the libraries used are: Adafruit-GFX, ArduinoJson, GxEPD, please install the above related libraries.

代码修改 Editing the code

image

image

私钥和城市代号获取 Obtain private key and city code

First enter the official website: https://www.seniverse.com/

免费申请 Apply for free

image image

申请好API之后,就要去检验一下自己的API接口了,在浏览器中输入https://api.seniverse.com/v3/weather/now.json?key=自己API接口的私钥&location=chengdu&language=zh-Hans&unit=c
如下图可以直接通过浏览器来访问自己的API接口。以下是访问我们这边的城市的,如果亲想换成自己的城市可自行下载城市代号列表:城市代号下载

After applying for the API, it is time to check the API interface. Enter: https://api.seniverse.com/v3/weather/now.json?key=自己API接口的私钥&location=chengdu&language=zh-Hans&unit=c
As shown in the figure below, you can directly access your own API interface through a browser. The following are the cities that visit our side. If you want to change to your own city, you can download the list of city codes:

City Code:

https://docs.seniverse.com/api/start/start.html

image


759e9f87045b43f4c1c2f9036e16d82

image

About Author

shiningman Feel free to contact: https://twitter.com/iluvsuaoni or mailto:zh@good-display.com


About

Using 2.13 inch E-paper from GoodDisplay GDEY0213B74 250x122 SSD1680 for a simple, easy use EPD Weather Station (Chinese API)

https://twitter.com/iluvsuaoni


Languages

Language:C++ 100.0%