ESP32 color display weather gadget

ESP32 color display weather gadget

This project demonstrates a simple weather station using an ESP32 and a 1.3" color display. The setup requires only two main components and a few SPI connections.



Parts required

1. ESP32 Development Board

ESP32 Board
AliExpress➡️ Buy Option 1 Buy Option 2

2. 1.3" Color TFT Display (ST7789 – 240×240)

AliExpress➡️ Buy Option 1 Buy Option 2

Circuit Diagram


Setup and code

Follow these steps to successfully upload the code without any error.

1.First download the arduino code from this drive link

2.Install ESP32 board (3.0 or above) for Arduino IDE (Skip if already installed or follow this simple tutorial)

ESP32 installing tutorial

3.Install libraries.

i. TFT_eSPI

ii. NTPClient 

3: Edit pin definition from TFT_eSPI library (very important) and create your weather API
 I provided the setup guideline pdf drive link

4.On Arduino IDE (2.0.0 or above) software keep these settings during upload.

If you face any problems you can email me with subject " ESP32 weather" to abid.business01@gmail.com


Comments

  1. I love your project but my ESP32 pinout looks nothing like yours. How do I translate the pins?

    ReplyDelete
    Replies
    1. See the official pinout of the esp32 board you're using. Then match the gpio pins defined in the tft library setup.

      Delete

Post a Comment