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.

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.

LessonTimeWhat students do
Water temperatureRead 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
  1. Meet the buoy
  2. Read the water
  3. A marine heatwave
  4. Finer than you think
  5. Trade precision for power
Wave height from motionRide 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
  1. One g at rest
  2. The first wave
  3. From acceleration to height
  4. Significant wave height
  5. 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.

LessonTimeWhat students do
PositionRead 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
  1. Listen to the sky
  2. A fix
  3. On station
  4. Adrift
  5. Lose the fix
Solar powerMeasure 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
  1. Meet the meter
  2. The duty cycle
  3. Full sun
  4. Winter
  5. 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.

LessonTimeWhat students do
LoRa telemetryPack 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
  1. Every sensor at once
  2. A report
  3. Eighteen bytes
  4. Text would be four times bigger
  5. On the air
Project: a bay buoyThe 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
  1. Deploy
  2. The first report
  3. Sleep
  4. Wake up
  5. Adrift
  6. Winter again
  7. 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.