Christchurch panorama
John's Weather-Watcher
christchurch, new  zealand

Building the Weather Station

I've had a weather station for several years, but over time things started to fail. The last thing to go was the indoor display, and it was going to cost me $150.00 for a new one. With my interest in Arduino it was a no-brainer to make my own weather station.

I still had the rain bucket and the anemometer and the housing for the thermo/hygro from the previous weather station, so all I needed was something to read temperature and humidity inside and out and also something to read barometric pressure.

AliExpress was the obvious place to shop, and the parts I needed would cost no more than $US15.00.

Arduino Nano microcontroller

Arduino comes in many sizes and flavours, and I decided to use an Arduino Nano. Originally I was just going to have an LCD display in our lounge but it proved unreliable so I decided to use an OLED instead.

These days the OLED is only used during the setup process (setting time and date, and offsets for the various instruments) if I need to restart after maintenance.

The other parts include:

  • BME 280 for internal temperature and humidity and also barometric pressure.
  • DHT-22 for outside temperature and humidity.
  • DS 3231 real time clock to reset the rain bucket at the end of each month, and to start/end daylight saving.

HC-12 transmitter-receiver module

I wanted to be able to interact with the weather data, so I added an HC-12 433mHz transmitter. At the PC end I have another HC-12 as a receiver and it receives a signal every 8 seconds.

ATTiny85 microcontroller

It's attached to another microcontroller, but this time it's an ATTiny85 which is an 8 pin chip. The receive unit is connected to the computer via a com port (in my case Com5).

The program I've written on the computer (in Delphi) reads the serial port, processes the data and passes it out to the website every 9 seconds.

next button  home button