Source: https://mokxi.com/learn/path/build-backyard-weather-station
Updated: 2026-11-20

All paths

# Build a backyard weather station

A solar weather station on an Uno: wind, rain, the air and UV, packed into 14 bytes over LoRa to a base station that prints the day.

Arduino Uno R3 Free 6 lessons 6 h 3 chapters 1,808 XP Maker · Intermediate +150 XP

0 of 6 done

Start the course free Wind and rain Lesson plan for teachers

What you will build

## 2 projects, built step by step

6 lessons in 3 chapters, about 6 hours on a simulated Arduino Uno R3. Free, in your browser, every step checked by the simulator.

Chapter 1 project

### The UV index

An LTR390 counts ultraviolet light. Turn counts into the UV index with the datasheet's sensitivity, name the band, work out a time to burn, and measure visible light too.
Open it in the simulator

Chapter 2 project

### LoRa uplink

Pack every reading into 14 bytes, big-endian, with wind and direction sharing two bytes, send them over LoRa, and work out the time on air and the duty cycle.
Open it in the simulator

The map

## Chapter by chapter

Each lesson opens when the one before it is done, and each chapter ends in a project.

Chapter 1

## The sensors

Reed switches and a resistor ladder, then calibrated chips for the air and the sun.

Open 205 XP

### Wind and rain

The weather meter kit has no electronics inside: wind speed from an anemometer's clicks, direction from a vane's resistor ladder, and rain from a tipping bucket.

0 of 5 steps

Start What is in it

Locked 205 XP

### Temperature and pressure

A BME280 for temperature, humidity and pressure, the dew point from the first two, and the sea-level correction that makes pressure comparable with a weather map.

0 of 5 steps

Project Locked 472 XP

### The UV index

An LTR390 counts ultraviolet light. Turn counts into the UV index with the datasheet's sensitivity, name the band, work out a time to burn, and measure visible light too.

0 of 6 steps

5 questions, graded as you go.

Chapter 2

## In the field

Solar power that lasts, and a radio link that sips.

Locked 236 XP

### Solar power

A panel, a LiPo cell and an INA219: charging by day, carrying the station by night, a daily energy budget that does not add up, and sleep that fixes it.

0 of 6 steps

Project Locked 472 XP

### LoRa uplink

Pack every reading into 14 bytes, big-endian, with wind and direction sharing two bytes, send them over LoRa, and work out the time on air and the duty cycle.

0 of 6 steps

5 questions, graded as you go.

Chapter 3

## The base station

A page of the day, from 14 bytes.

Locked 218 XP

### Project: a garden weather page

The whole station sends to the base station, which prints a page of readings: lows and highs, the day's gust and rain, UV and the link, all from 14 bytes.

0 of 6 steps

3 questions, graded as you go.

Syllabus

## Every lesson in the course

All 6 lessons, in order, each with what it covers. Any of them opens in the editor right away.

Chapter 1

### The sensors

- Wind and rain The weather meter kit has no electronics inside: wind speed from an anemometer's clicks, direction from a vane's resistor ladder, and rain from a tipping bucket.
- Temperature and pressure A BME280 for temperature, humidity and pressure, the dew point from the first two, and the sea-level correction that makes pressure comparable with a weather map.
- The UV index An LTR390 counts ultraviolet light. Turn counts into the UV index with the datasheet's sensitivity, name the band, work out a time to burn, and measure visible light too.

Chapter 2

### In the field

- Solar power A panel, a LiPo cell and an INA219: charging by day, carrying the station by night, a daily energy budget that does not add up, and sleep that fixes it.
- LoRa uplink Pack every reading into 14 bytes, big-endian, with wind and direction sharing two bytes, send them over LoRa, and work out the time on air and the duty cycle.

Chapter 3

### The base station

- Project: a garden weather page The whole station sends to the base station, which prints a page of readings: lows and highs, the day's gust and rain, UV and the link, all from 14 bytes.

Keep going

## The next course on your track

Build a backyard weather station is part of the maker track, a ladder of courses from zero to expert.

Next course

### Build a bike computer

Hall switches on interrupts, speed and distance from a tire, cadence, automatic lights, an OLED and a ride log on microSD.
Open the next course

Track

### Maker track

Follow the starter kit you already own, then build a claw machine, a balance bot, a handheld console or an LED cube, each a short course checked by the simulator.
See every course on the track

Kits

## Build it on your bench too

Every lesson runs in the simulator with nothing to buy. When you want the real thing, these kits have the parts.

Have a kit already?

### Find your kit

Pick the starter kit you own and run every lesson in its manual with the same parts on the same pins.
See every kit

Questions

## About Build a backyard weather station

Is Build a backyard weather station free?

Yes. All 6 lessons of Build a backyard weather station are free and run in your browser, with nothing to install and no parts to buy before you start.

Do I need a real Arduino Uno R3?

No. Every lesson runs on a simulated Arduino Uno R3 with its parts on the canvas, and the simulator checks each step as you go. When you want to build it for real, the same wiring and code work on a real board.

How long does Build a backyard weather station take?

About 6 hours: 6 lessons in 3 chapters, each one a few short steps. Your progress is kept, so you can stop after any lesson and pick up where you left off.

What will I build?

Each chapter ends in a project that puts it together: The UV index and LoRa uplink.

Where do I start?

With "Wind and rain", and each lesson builds on the one before it. New to circuits? Electronics basics is the course that starts from zero.
