.----------------. .----------------. .----------------.
| .--------------. || .--------------. || .--------------. |
| | ________ | || | _________ | || | ____ ____ | |
| | |_ ___ `. | || | |_ ___ | | || | |_ _||_ _| | |
| | | | `. \ | || | | |_ \_| | || | \ \ / / | |
| | | | | | | || | | _| | || | > `' < | |
| | _| |___.' / | || | _| |_ | || | _/ /'`\ \_ | |
| | |________.' | || | |_____| | || | |____||____| | |
| | | || | | || | | |
| '--------------' || '--------------' || '--------------' |
'----------------' '----------------' '----------------'
DarknessFX @ https://dfx.lv | Twitter: @DrkFX
Connect to your WiFi AP SSID List, gather data from OpenWeather and NTP, display cycles the current Weather and Time.
M5StickC @ https://m5stack.com/collections/m5-core/products/stick-c
- Display presents current Clock (10secs) and Weather (20secs).
- Every 10 minutes the M5StickC updates the Weather API data.
- Click Button A (M5) to manually force the Weather API refresh.
- Have a M5StickC (or adapt the code to any ESP32 + LCD).
- Have M5StickC / ESP32 development environment.
(example: ArduinoIDE + ESP32 @ Board Manager + ESP32 Pico @ Libraries Manager).
Before upload the code, change the following code lines :
String weather_cityID = ""; // Your OpenWeather CityID.
String weather_APIKEY = ""; // Your OpenWeather API Key
...
WiFi_Data[0].ssid = ""; // Your WiFi AP SSID
WiFi_Data[0].pass = ""; // Your WiFi AP Password
Compile and upload the project files to your M5StickC using your preferred development environment.
v1.1 - Improvements and fixes. (30/Jul/2020)
v1.0 - Released. (27/Jul/2019)
Thanks to :
-
McOrts for the Nixie Tube Clock.
Nixie tube clock simulated on ESP32 using the device M5Stick-C
@ https://github.com/McOrts/M5StickC_Nixie_tube_Clock -
OpenWeather for the API Data and Weather Icons.
@ https://openweathermap.org/weather-conditions
@Copyleft all wrongs reserved.
DarknessFX @ https://dfx.lv | Twitter: @DrkFX
https://github.com/DarknessFX/FXNode_Weather