Source: https://mokxi.com/teachers/plans/build-tide-clock
Updated: 2026-11-19

Lesson plan

# Build a tide clock lesson plan

A wall clock for the sea: why tides come every 12 h 25 min, a servo hand from high to low, a DS3231 that keeps the time, and one high tide from your port’s table, with an honest look at why it is never for navigation.

3 chapters, 6 lessons, about 4 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

- Two bulges and a turning Earth, the 12 h 25 min cycle, and coasts that do not follow it.
- A servo hand mapped onto the cycle, and a real-time clock that keeps going.
- One high tide from a table, the drift of an average, and the finished wall clock.

### Materials for the whole unit

- Arduino Uno R3
- Hobby servo
- Real-time clock, DS3231

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 20 min

## The sea’s clock

Two bulges and a turning Earth, the 12 h 25 min cycle, and coasts that do not follow it.

Lesson | Time | What students do

Tides in a sentence The Moon pulls the oceans into two bulges and the Earth turns under them, so most coasts get two high tides a day. Meet the clock that shows it. | 40 min

- Run it
- Read the hand
- High tide
- Halfway down

The 12 h 25 min cycle Why the tides come 50 minutes later every day, the one number the clock needs, and the honest truth about how well an average fits a real coast. | 40 min

- The cycle
- Fifty minutes later
- Watch a whole cycle
- A once-a-day coast

### Materials

- Arduino Uno R3
- Hobby servo
- Real-time clock, DS3231

### Check for understanding

Each student finishes "The 12 h 25 min cycle" on their own, without opening the hints. The simulator checks 4 of its 4 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "A once-a-day coast".

Chapter 2. About 1 h 20 min

## Hand and clock

A servo hand mapped onto the cycle, and a real-time clock that keeps going.

Lesson | Time | What students do

A servo hand A hobby servo goes to any angle from 0 to 180 and stays there: just right for a half-circle tide dial. Map the cycle onto it, and fix a servo mounted backward. | 40 min

- Zero is high
- Low tide is 90
- The sweep
- Mounted the other way

RTC time The DS3231 keeps time with its own crystal and a coin cell, temperature compensated to about a minute a year. Read it, set it, and see the seconds that the tide math runs on. | 40 min

- A clock that keeps going
- Set the time
- A crystal that minds the heat
- Seconds since 1970

### Materials

- Arduino Uno R3
- Hobby servo
- Real-time clock, DS3231

### Check for understanding

Each student finishes "RTC time" on their own, without opening the hints. The simulator checks 4 of its 4 steps as they go.

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

Chapter 3. About 1 h 20 min

## Your port

One high tide from a table, the drift of an average, and the finished wall clock.

Lesson | Time | What students do

Calibrating to a port One real high tide from your port’s tide table is all the clock needs. Set it, watch the average drift away from the real tides over a month, and know when to set it again. | 40 min

- Your port
- A month later
- When to set it again
- Never for navigation

Project: a wall tide clock Make it yours: your port’s high tide, a hand that turns the right way behind your dial, and a cycle check before it goes on the wall. | 40 min

- The build
- Your port
- Your dial
- A test cycle

### Materials

- Arduino Uno R3
- Hobby servo
- Real-time clock, DS3231

### Check for understanding

Each student finishes "Project: a wall tide clock" on their own, without opening the hints. The simulator checks 4 of its 4 steps as they go.

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

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.
