Source: https://mokxi.com/teachers/plans/build-ocean-buoy
Updated: 2026-11-19

Lesson plan

# Build an ocean data buoy lesson plan

Build the buoy oceanographers moor in a bay: water temperature, significant wave height, position, solar power and compact LoRa telemetry.

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

- Water temperature, and wave height from motion alone.
- A position, a watch circle, and a power budget.
- Eighteen bytes over LoRa, then the whole bay buoy.

### Materials for the whole unit

- Accelerometer and gyroscope, MPU6050
- Arduino Uno R3
- Current monitor, INA219
- Full-size breadboard
- GPS module, NEO-6M
- LoRa module, SX1278 (Ra-02)
- Potentiometer
- Resistor
- Solar panel, 6 V 1 W
- Temperature sensor, DS18B20

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 1 h 50 min

## Read the sea

Water temperature, and wave height from motion alone.

Lesson | Time | What students do

Water temperature Read the sea with a DS18B20 on OneWire, choose a resolution from the serial monitor, and see why every bit of precision costs time awake. | 55 min

- Meet the buoy
- Read the water
- A marine heatwave
- Finer than you think
- Trade precision for power

Wave height from motion Ride the swell: sample the vertical acceleration at 10 Hz, find each wave by its zero crossing, turn its acceleration into height, and report the significant wave height. | 55 min

- One g at rest
- The first wave
- From acceleration to height
- Significant wave height
- The period

### Materials

- Accelerometer and gyroscope, MPU6050
- Arduino Uno R3
- Current monitor, INA219
- Full-size breadboard
- GPS module, NEO-6M
- LoRa module, SX1278 (Ra-02)
- Potentiometer
- Resistor
- Solar panel, 6 V 1 W
- Temperature sensor, DS18B20

### Check for understanding

Each student finishes "Wave height from motion" on their own, without opening the hints. The simulator checks 5 of its 5 steps as they go.

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

Chapter 2. About 1 h 50 min

## Stay put, stay alive

A position, a watch circle, and a power budget.

Lesson | Time | What students do

Position Read the buoy's position from a NEO-6M with TinyGPS++, measure its distance from the mooring, and raise the alarm when it leaves its watch circle. | 55 min

- Listen to the sky
- A fix
- On station
- Adrift
- Lose the fix

Solar power Measure the panel with an INA219, do the buoy's power budget, and see why the duty cycle, not the battery, decides how long a buoy lives. | 55 min

- Meet the meter
- The duty cycle
- Full sun
- Winter
- Days in the dark

### Materials

- Accelerometer and gyroscope, MPU6050
- Arduino Uno R3
- Current monitor, INA219
- Full-size breadboard
- GPS module, NEO-6M
- LoRa module, SX1278 (Ra-02)
- Potentiometer
- Resistor
- Solar panel, 6 V 1 W
- Temperature sensor, DS18B20

### Check for understanding

Each student finishes "Solar power" on their own, without opening the hints. The simulator checks 5 of its 5 steps as they go.

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

Chapter 3. About 2 h 15 min

## Send it home

Eighteen bytes over LoRa, then the whole bay buoy.

Lesson | Time | What students do

LoRa telemetry Pack temperature, waves, position and power into 18 binary bytes, send them over LoRa at spreading factor 9, and compare the airtime with the same report as text. | 55 min

- Every sensor at once
- A report
- Eighteen bytes
- Text would be four times bigger
- On the air

Project: a bay buoy The whole buoy: a self-test, a wave record, a report, a real power-down sleep, and the rules a buoy lives by when it drifts or the sun goes. | 80 min

- Deploy
- The first report
- Sleep
- Wake up
- Adrift
- Winter again
- Make it your bay

### Materials

- Accelerometer and gyroscope, MPU6050
- Arduino Uno R3
- Current monitor, INA219
- Full-size breadboard
- GPS module, NEO-6M
- LoRa module, SX1278 (Ra-02)
- Potentiometer
- Resistor
- Solar panel, 6 V 1 W
- Temperature sensor, DS18B20

### Check for understanding

Each student finishes "Project: a bay buoy" on their own, without opening the hints. The simulator checks 7 of its 7 steps as they go.

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

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.
