All paths

Build a smartwatch

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.

Arduino Uno R3Free7 lessons7 h3 chapters2,302 XPMaker · Advanced+250 XP

0 of 7 done

What you will build

3 projects, built step by step

7 lessons in 3 chapters, about 7 hours on a simulated Arduino Uno R3. Free, in your browser, every step checked by the simulator.

Chapter 1 project

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.

Open it in the simulator
Chapter 2 project

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.

Open it in the simulator
Chapter 3 project

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.

Open it in the simulator
The map

Chapter by chapter

Each lesson opens when the one before it is done, and each chapter ends in a project.

Chapter 1

A face that tells time

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

  1. Open212 XP

    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.

    0 of 4 steps

  2. Locked212 XP

    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.

    0 of 4 steps

  3. ProjectLocked500 XP

    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.

    0 of 5 steps

4 questions, graded as you go.
Chapter 2

Steps and battery

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

  1. Locked212 XP

    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.

    0 of 4 steps

  2. ProjectLocked424 XP

    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.

    0 of 4 steps

4 questions, graded as you go.
Chapter 3

Wear it

Menus from three buttons, then the whole watch.

  1. Locked212 XP

    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.

    0 of 4 steps

  2. ProjectLocked530 XP

    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.

    0 of 6 steps

3 questions, graded as you go.
Syllabus

Every lesson in the course

All 7 lessons, in order, each with what it covers. Any of them opens in the editor right away.

Chapter 1

A face that tells time

  1. A round displayBring up a GC9A01 round display: a square of memory behind round glass, drawn around its center, with themes on a button.
  2. Watch facesDraw 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.
  3. RTC timeKeep real time with a DS3231: BCD registers over I2C, a temperature compensated crystal, a coin cell, and a button that sets the minutes.
Chapter 2

Steps and battery

  1. Step countingCount 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.
  2. Battery lifeMake a battery last: a mAh budget, the backlight off, the display told to sleep, and the ATmega328P in power-down until MODE wakes it.
Chapter 3

Wear it

  1. MenusTurn three buttons into a watch's screens with a state machine: MODE moves on, and each screen owns what UP and DOWN do.
  2. Project: a daily-wear watchThe 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.
Keep going

The next course on your track

Build a smartwatch is part of the maker track, a ladder of courses from zero to expert.

Next course

Build a synthesizer

From a phase accumulator to a four-voice MIDI synth: wavetables, ADSR, a fixed-point filter and effects on an Uno.

Open the next course
Track

Maker track

Follow the starter kit you already own, then build a claw machine, a balance bot, a handheld console or an LED cube, each a short course checked by the simulator.

See every course on the track
Kits

Build it on your bench too

Every lesson runs in the simulator with nothing to buy. When you want the real thing, these kits have the parts.

Have a kit already?

Find your kit

Pick the starter kit you own and run every lesson in its manual with the same parts on the same pins.

See every kit
Questions

About Build a smartwatch

Is Build a smartwatch free?

Yes. All 7 lessons of Build a smartwatch are free and run in your browser, with nothing to install and no parts to buy before you start.

Do I need a real Arduino Uno R3?

No. Every lesson runs on a simulated Arduino Uno R3 with its parts on the canvas, and the simulator checks each step as you go. When you want to build it for real, the same wiring and code work on a real board.

How long does Build a smartwatch take?

About 7 hours: 7 lessons in 3 chapters, each one a few short steps. Your progress is kept, so you can stop after any lesson and pick up where you left off.

What will I build?

Each chapter ends in a project that puts it together: RTC time, Battery life and Project: a daily-wear watch.

Where do I start?

With "A round display", and each lesson builds on the one before it. New to circuits? Electronics basics is the course that starts from zero.