Source: https://mokxi.com/teachers/plans/build-backyard-weather-station
Updated: 2026-11-19

Lesson plan

# Build a backyard weather station lesson plan

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.

3 chapters, 6 lessons, about 6 hours, on the Arduino Uno R3. Every lesson runs in the browser, with nothing to install.

Start a class from this course

The unit

## Objectives and materials

### By the end, students can

- Reed switches and a resistor ladder, then calibrated chips for the air and the sun.
- Solar power that lasts, and a radio link that sips.
- A page of the day, from 14 bytes.

### Materials for the whole unit

- Arduino Uno R3 x 2
- Battery: AA, coin cell, LiPo
- Current monitor, INA219
- Diode
- Full-size breadboard
- LED
- LoRa module, SX1278 (Ra-02) x 2
- Pressure, humidity and temperature, BME280
- Resistor x 3
- Solar panel, 6 V 1 W
- UV and light, LTR-390
- Weather meter kit, SEN-15901

Every part is already on the simulator’s bench, so there is nothing to buy or hand out. The counts are the most any one lesson uses, if you build it on real breadboards too.

Chapter 1. About 2 h 55 min

## The sensors

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

Lesson | Time | What students do

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. | 55 min

- Clicks are wind
- The Beaufort scale
- The vane's ladder
- Turn the vane
- The 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. | 55 min

- Find the sensor
- Temperature
- Humidity and dew point
- Pressure
- At sea level

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. | 65 min

- Find the sensor
- Counts per UV index
- The UV index
- Midday sun
- Time to burn
- Visible light

### Materials

- Arduino Uno R3 x 2
- Battery: AA, coin cell, LiPo
- Current monitor, INA219
- Diode
- Full-size breadboard
- LED
- LoRa module, SX1278 (Ra-02) x 2
- Pressure, humidity and temperature, BME280
- Resistor x 3
- Solar panel, 6 V 1 W
- UV and light, LTR-390
- Weather meter kit, SEN-15901

### Check for understanding

Each student finishes "The UV index" on their own, without opening the hints. The simulator checks 6 of its 6 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Visible light".

Chapter 2. About 2 h 10 min

## In the field

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

Lesson | Time | What students do

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. | 65 min

- The battery line
- Charging
- The daily budget
- Night
- Autonomy
- Sleep

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. | 65 min

- Two radios
- Pack it
- Bit packing
- Time on air
- Duty cycle
- Nothing lost

### Materials

- Arduino Uno R3 x 2
- Battery: AA, coin cell, LiPo
- Current monitor, INA219
- Diode
- Full-size breadboard
- LED
- LoRa module, SX1278 (Ra-02) x 2
- Pressure, humidity and temperature, BME280
- Resistor x 3
- Solar panel, 6 V 1 W
- UV and light, LTR-390
- Weather meter kit, SEN-15901

### Check for understanding

Each student finishes "LoRa uplink" on their own, without opening the hints. The simulator checks 6 of its 6 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Nothing lost".

Chapter 3. About 1 h 5 min

## The base station

A page of the day, from 14 bytes.

Lesson | Time | What students do

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. | 65 min

- The page
- Highs and lows
- Gusts
- Rain today
- Your own height
- Make it yours

### Materials

- Arduino Uno R3 x 2
- Battery: AA, coin cell, LiPo
- Current monitor, INA219
- Diode
- Full-size breadboard
- LED
- LoRa module, SX1278 (Ra-02) x 2
- Pressure, humidity and temperature, BME280
- Resistor x 3
- Solar panel, 6 V 1 W
- UV and light, LTR-390
- Weather meter kit, SEN-15901

### Check for understanding

Each student finishes "Project: a garden weather page" on their own, without opening the hints. The simulator checks 6 of its 6 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Make it yours".

Your class

## Teach this unit as a class

Start a class from this course and its 6 lessons are assigned in one go, in order. Students join with a six-character code or printed login cards, and each one’s work comes back to you.

The class tools are free for 30 days for one class of up to 20 students, with no card. The lessons themselves are free either way.

Start a class from this course See the demo class

More units

## Other lesson plans

Electronics basics 20 lessons, about 10 h. Embedded on the Arduino Uno 16 lessons, about 12 h. Embedded on the ESP32-C3 13 lessons, about 11 h. Embedded on the Raspberry Pi Pico 7 lessons, about 6 h. Build your own fight stick 5 lessons, about 4 h. Embedded on the STM32F411 6 lessons, about 6 h. C++ on a board 13 lessons, about 10 h. Digital logic and memory 4 lessons, about 4 h. Interactive devices on the Uno 9 lessons, about 8 h. From gates to a computer 23 lessons, about 16 h. Build a claw machine 8 lessons, about 6 h. Every unit All the courses as ready-made units, on the teachers page.
