Save this video — free

EECS 373 - Fall 2026 - Lecture 9: "Timers: Capture & Compare"

Interactive Sensing and Computing Lab · 1:06:56 · Watch on YouTube

EECS 373 - Fall 2026 - Lecture 9: "Timers: Capture & Compare" Watch on YouTube →

Overview

The lecture builds a practical model of capture-and-compare timers, from crystal-derived clocks and prescalers to counters, period registers, input capture, and compare outputs. It applies that model to measuring event intervals and generating pulse-width modulation (PWM), emphasizing how prescaler and counter choices trade measurement range against resolution and how compare values control LED brightness and motor signals.

Key takeaways

Chapters

0:00 Course Deadlines, Ideation Slides, and Project Team Formation
2:37 Why Embedded Systems Use Timers to Control the Physical World
8:49 Quartz Crystals and the Clock Sources Behind a Timer
12:06 Clock Scaling with Internal Oscillators and Phase-Locked Loops
17:28 Timer Anatomy: Prescaler, Counter, and Period Register
22:18 Clock Dividers and the Prescaler Naming Trap
26:06 Counter Behavior: Counting, Loading, and Resetting
29:09 Using the Period Register to Generate a One-Second Tick
34:44 Up, Down, and Center-Aligned Timer Counting
36:08 Input Capture: Timestamping External Events
44:23 Compare Events and PWM for LEDs and Motors
50:00 Compare Output Modes and Timer Period Calculations
55:00 Worksheet: Configure a 16 MHz Timer for 10 ms PWM

Keep these chapters and the full searchable transcript in your own library.

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Interactive Sensing and Computing Lab.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.