< Homepage

WiFi Weather Station with Forecast

I often found myself checking the weather forecast on my phone before leaving the house to choose the appropriate clothing. This may not seem a time-consuming habit, but because everyone in my family looks up the weather, this adds up quickly. The idea was to create a gadget, that shows the current weather and the forecast for the next few days. The requirements: easy to use, easy to understand, always working device with reliable information. I used Weather Undeground's web API to periodically query the weather forecast and the current weather conditions.

Weather station in a bright environment

The brains of the project is an Arduino Mega microcontroller board, its task is to download the forecast from the internet, process it, and display it, then wait some time, and start again. There are a quite a few challanges to overcome:

The components of the project: screen, microcontroller, WiFi module, light sensor, buttons, power supply, case

The user is able to select an hour in the future, to display its temperature, humidity, wind speed, cloud coverage, rain probability, a textual description, and a picture; this is done with the two large red buttons. After a few seconds the selection will disappear, and the current weather data will be displayed. There is also a light sensor (a photoresistor) to change the screen brightness; this makes it readable in daylight, but also comfortably readable in total darkness - it is not blinding to look at during the night.

Weather station in the dark with the LCD lit up

The completed device in a plastic case

The screen is also touch-sensitive, this is used to turn off/on the backlight completely. Here you can see a demonstration:

When both buttons are pressed and held, a debug screen will be shown with information about how many times a button was pressed, how many times the device started up, and so on. This is stored in the EEPROM non-volatile memory.

The hidden debugging screen

The device was on display at my university, because I entered it into a competetion for gadgets built by the students.

Weather station on display at the university

Weather station description in Hungarian and in English


Kapcsolat: Email Github