Introduction: 3-Day Weather Forecast Feed

About: 4D Makers is a group of curious engineers and enthusiasts who finds great satisfaction in creating and building anything from electronics.

The 3-Day Weather Forecast Feed provides a comprehensive 3-day weather forecast in your desired location or based on the location of your IP address. The project uses the Wunderground Weather API service that provides JSON format responses whenever you provide a GET request. The weather forecast includes the forecast for the day it was requested and the succeeding 3 days.

To be able to autonomously request and update the weather forecast, we added an NTP time requesting function that uses UDP connection. The time information that was requested is used internally by the code to automatically perform a time request every hour. Then, based on the hour information, the project automatically request for a weather update every 6AM, 12PM, and 6PM.

Step 1: How It Works

Step 2: Build


  • gen4-IoD-32T
  • gen4-IoD Programmer
  • 10 Way Flat Flex Cable
  • uSD Card
  • uUSB Cable
  • External Power Supply

Connect the components as shown in the diagram

Step 3: Program

  1. For the preparation of gen4-IoD Display with Arduino IDE please refer to this steps under the Implemention section.
  2. Program the gen4-IoD-32T. Download the code here.
  3. Open the Visi project using Workshop 4. This project uses the Visi Environment.You can modify the properties of each widgets and buttons.
  4. Click on the “Compile” button. Note: This step could be skipped. However, compiling is essential for debugging purposes.
  5. Connect the display to the microUSB cable. Make sure that you are connected to the right port.
  6. Now click on the “(Build) Copy/Load” button.
  7. Workshop 4 will prompt you to select a drive to copy the image files to a uSD Card. After selecting the correct drive, click OK.
  8. Mount uSD Card The module will prompt you to insert the uSD card.Unmount the uSD Card properly from the PC and insert it to the uSD Card slot of the display module.After inserting your uSD card to the gen4 display, the graphics will be immediately loaded.

Click here for more gen4-IoD Projects.

Step 4: APIXU WEather Code

This weather information code can be downloaded in this link:

Please note that in the project, we removed some of the codes as they are not applicable in our location/country.