Save this video free

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

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

Part of University of Michigan EECS 373. See all 17 lectures and search them

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

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.

Transcript excerpt

0:01 Okay, we finally are ready to go. I've solved all the world's AV problems. We're ready. All right, so well, they're not released. They'll be released right after class. We'll talk about grades. [laughter] Homework uh four is due on Monday. And then we're going to do slide ideation slides will be due next Thursday. We'll talk about that and then team formation is next week. So for the ideation slides, we'll release the details tonight. Basically, your job is to create just three slides. Uh individual slides will have a upload folder for you and it's supposed to be like not a lot of words. Like there's got to be an image, less than 100 words, something that describes your particular project. And if you want, you can go and put a little star up there and that will

0:50 like key to me that you want to present this particular thing. But the point is that you have to start thinking about what projects you want to work on. And if this is a forcing function to make you say, "Oh, this is the sort of thing I'd like to do." And then you can also look through other people's projects and be like, "Okay, I see uh other people are at least aligned with my vision here." Uh that's too loud. Let's see better. Okay. And then we'll serve pizza. It'll be there. uh endow one of the rooms we took the exam in. And then uh the next I think that date's right, the next Tuesday, you need to register your team. So we'll have a form online. You'll just say this is our team. This is our team name. This is what we're going to do. Uh if you're having trouble uh finding a

1:38 teammate, you guys should meet with me

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

In this course

Related notes

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.