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

Lesson plan

# Build a smartwatch lesson plan

Build a watch you could wear: a round display, an analog face in fixed-point trig, real time, steps, days of battery and a menu.

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

- A round display, hands from a sine table, and a real-time clock.
- Count steps from the wrist, and make a small battery last.
- Menus from three buttons, then the whole watch.

### Materials for the whole unit

- Accelerometer and gyroscope, MPU6050
- Arduino Uno R3
- Full-size breadboard
- Pushbutton x 3
- Real-time clock, DS3231
- Round display, GC9A01

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 3 h

## A face that tells time

A round display, hands from a sine table, and a real-time clock.

Lesson | Time | What students do

A round display Bring up a GC9A01 round display: a square of memory behind round glass, drawn around its center, with themes on a button. | 55 min

- Round glass
- Lit
- A dial
- Themes

Watch faces Draw analog hands with fixed-point trig: a 16 entry sine table, positions on a 60 step dial, and hands rubbed out and redrawn each second. | 55 min

- Sines without floats
- Ten past ten
- Move it on
- The creeping hour hand

RTC time Keep real time with a DS3231: BCD registers over I2C, a temperature compensated crystal, a coin cell, and a button that sets the minutes. | 70 min

- A clock that keeps going
- Binary coded decimal
- Set it
- Seconds since midnight
- Midnight

### Materials

- Accelerometer and gyroscope, MPU6050
- Arduino Uno R3
- Full-size breadboard
- Pushbutton x 3
- Real-time clock, DS3231
- Round display, GC9A01

### Check for understanding

Each student finishes "RTC time" 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: "Midnight".

Chapter 2. About 1 h 50 min

## Steps and battery

Count steps from the wrist, and make a small battery last.

Lesson | Time | What students do

Step counting Count steps from an MPU6050 on the wrist: take gravity away with a running average and run a peak detector on the magnitude of what is left. | 55 min

- What a wrist feels
- One swing, one step
- A walk
- Start again

Battery life Make a battery last: a mAh budget, the backlight off, the display told to sleep, and the ATmega328P in power-down until MODE wakes it. | 55 min

- The budget
- Lights out
- Asleep
- Wake on MODE

### Materials

- Accelerometer and gyroscope, MPU6050
- Arduino Uno R3
- Full-size breadboard
- Pushbutton x 3
- Real-time clock, DS3231
- Round display, GC9A01

### Check for understanding

Each student finishes "Battery life" 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: "Wake on MODE".

Chapter 3. About 2 h 15 min

## Wear it

Menus from three buttons, then the whole watch.

Lesson | Time | What students do

Menus Turn three buttons into a watch's screens with a state machine: MODE moves on, and each screen owns what UP and DOWN do. | 55 min

- Screens
- Next screen
- The stopwatch
- Set the time

Project: a daily-wear watch The whole watch: an analog face from the DS3231, a menu with a stopwatch, a step count, and a display that sleeps when nobody is looking. | 80 min

- Put it on
- A short walk
- Time something
- Let it sleep
- Glance at it
- Make it yours

### Materials

- Accelerometer and gyroscope, MPU6050
- Arduino Uno R3
- Full-size breadboard
- Pushbutton x 3
- Real-time clock, DS3231
- Round display, GC9A01

### Check for understanding

Each student finishes "Project: a daily-wear watch" 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 7 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.
