Build a low-cost home weather station with an ESP32 board

An inexpensive ESP32 can link sensors into a local weather station that records temperature, humidity, pressure, rain, wind and daylight. It will not replace the Bureau of Meteorology, but it can provide useful readings for your roof, garden or verandah.

A low-cost home weather station with an ESP32 should begin with one question: which measurements will you use? A shielded temperature and humidity probe can reveal a damp bathroom or poorly insulated room. A tipping-bucket rain gauge and anemometer help if you garden, cycle or sail, but add cost, moving parts and calibration.

Australian conditions make siting important. Melbourne’s fast-changing fronts expose a mast to wind and driving rain, Brisbane’s summer heat inflates readings near hot roofs, Sydney’s salt-laden air encourages corrosion, and Canberra’s winter frost can damage poorly rated electronics. Check nearby BoM observations to understand the local pattern.

Budget in Australian dollars, include weatherproofing and decide how data will reach you. Most Australian homes use 230-volt mains with Type I plugs, so the safest indoor power source is a certified USB supply. Outdoor mains work requires a suitably rated installation and residual-current device.

Plan around the measurements that matter

Choose the site before buying weather-sensitive hardware. The temperature and humidity probe belongs in a ventilated radiation shield, away from walls, exhausts and direct sun. Wind instruments need a clear run, while a rain gauge should sit level on a stable post.

Decide whether readings stay on a local screen or accumulate as a long-term record. A microcontroller plus microSD card works offline; MQTT can send telemetry to a computer or phone over 2.4 GHz Wi-Fi. For continuous local storage, this guide to building a home server shows how a small server can receive and serve the data.

Set the wake interval according to the job. A temperature-only node can sleep for fifteen minutes, while a rain gauge must wake often enough to count every bucket tip. Wi-Fi and deep sleep together may determine battery life more than the sensors do.

Compare sensor choices and realistic costs

Indicative Australian prices can move with stock levels. A basic node remains inexpensive, but accurate rain and wind measurements drive most of the budget.

Component Typical cost (AUD) Main benefit Trade-off
ESP32 development board $15–$30 Processing and wireless control Programming and radio quality vary
BME280 module $12–$25 Temperature, humidity and pressure Requires I²C wiring
Tipping-bucket rain gauge $45–$100 Counted rainfall Requires levelling and adjustment
Anemometer and wind vane $35–$85 Wind speed and direction Moving parts need calibration
Enclosure, cabling and power $35–$90 Outdoor protection and autonomy Seals and glands add cost

The BME280 gives the best value for a first station because one I²C module supplies three useful measurements. A capacitive rain sensor is cheaper, yet it generally needs more site-specific correction than a properly adjusted tipping bucket. A wind vane provides direction, while an anemometer adds speed.

A temperature, humidity and light setup can fit within $70–$100, while adding rainfall and wind usually produces a $150–$300 project. Compare listings from Australian sellers such as Jaycar and Core Electronics, and check whether each module includes cables, headers or a breakout board.

Wire, program and validate the readings

Connect the BME280 over I²C, using address 0x76 or 0x77 as appropriate. A tipping bucket can use an interrupt pin, while an anemometer reports pulses from a reed or Hall sensor. Join the grounds, power each module from a supported voltage and level-shift any 5-volt signal entering an ESP32 input.

Firmware should read the sensors, timestamp each sample and either write it to a microSD card or publish it as MQTT telemetry. Set the Wi-Fi country code to Australia, request network time and convert UTC to the relevant state time, including daylight-saving changes.

Keep dashboards off the public internet by default. If remote access is necessary, use a VPN or private overlay network, and protect any account by using passkeys for access rather than a reused password. Publish only the readings you need.

Install and maintain the outdoor hardware

Use a UV-resistant enclosure with an IP65 rating or better, suitable cable glands and drip loops. Keep the ESP32 board indoors when practical because a metal box or wet wall can weaken its radio. Do not coat the humidity sensor or expose an unsealed connection to the weather.

Calibrate against a dependable reference. Compare temperature and humidity with nearby BoM observations taken in similar shade, adjust the rain bucket to its stated pulse volume, and align the wind vane using local magnetic declination. Record comparisons instead of adjusting one sensor blindly.

Salt, sunscreen and dust accumulate quickly outdoors in Australia. Clean the rain funnel, inspect seals and remove corrosion from exposed connectors. During a test walk, a wearable may collect the same residue; this guide to cleaning a smartwatch strap shows how to remove it without damaging the band. The same care helps keep sunscreen away from the station’s electrical contacts.

A practical build checklist for dependable readings

These checks keep a modest set of components working as one dependable instrument:

A reliable station is less about owning every sensor than preserving measurement quality. The point to remember is that a modest ESP32 network becomes genuinely useful when its location, calibration, power and data path are treated as one system.