This project mainly focuses on weather data and real time displayed on a small color LCD. It shows city name, weather condition, weekday, date and time, temperature, humidity and wind speed.
Parts required
1. Wemos D1 mini (NodeMCU/ any ESP8266 board will work)
2. 0.96inch 80x160 display (ST7735)
3. Copper wire (1mm diameter)
4. Battery 3.7v 500mAh LiPo
Circuit diagram (for Wemos D1 mini board)
Pin connection for NodeMCU/ other ESP8266 boards
Follow these steps to avoid any errors and be successful when uploading code
Step1: Install ESP8266 board for Arduino IDE (Skip if already installed or watch this simple tutorial)
Step2: Install three libraries.
i. TFT_eSPI
ii. NTPClient
iii. ArduinoJson
Step3: Edit pin definition from TFT_eSPI library (very important)
a. Open Arduino > libraries > TFT_eSPI
i. Open User_Setup_Select.h with notepad
ii. Put double slash // in front of this line.
iii. Remove double slash // from this line.
Save the file (CTRL+S)
b. Again from the root folder open User_Setups folder with Notepad and edit like the photo below.
Save the file and exit.
Step4: To get the weather data from API go to Openweathermap and sign in for free.
Copy your API and paste in the Arduino Code.
Step5: Edit WiFi name and password , API and City name in Arduino code.
Arduino code Click Here
If you face any problems feel free to send email with subject "Weather Gadget"
abidbusiness.01@gmail.com


Hi, can you give a link for the battery, also how is the batery charged
ReplyDeletebattery link updated. Charger is TP4056
DeleteWemos D1 charge the battery? If is connected to charger?
ReplyDeleteCould you please post or send me some instructions or photos of the copper wire sculpture?
ReplyDeleteI'd really like to build one because of the look you achieved!