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.
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.
Read the sea
Water temperature, and wave height from motion alone.
| Lesson | Time | What 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 |
|
| 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 |
|
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".
Stay put, stay alive
A position, a watch circle, and a power budget.
| Lesson | Time | What 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 |
|
| 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 |
|
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".
Send it home
Eighteen bytes over LoRa, then the whole bay buoy.
| Lesson | Time | What 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 |
|
| 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 |
|
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".
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.