Save this video free

CE351 lec7 The Morse code and time delay in MCUs

Yiyan Li · 50:52 · Watch on YouTube

CE351 lec7 The Morse code and time delay in MCUs Watch on YouTube →

Overview

Yiyan Li explains how CE351 students can calibrate MCU time delays with a NOP-based loop, oscilloscope measurements, and linear regression, then use the calibrated delay to generate Morse code. The lesson connects board pin mapping and audio-amplifier wiring to Arduino button detection, Morse timing rules, and an array-based encoder for letters A through Z.

Key takeaways

Chapters

0:00 CE351 Tutorial Tasks and MCU Pin-Number Conventions
6:00 Morse Demonstrations: LED Output and Speaker Connections
11:40 Why Digital On/Off Signals Sound Different from tone()
14:00 Detecting the Push Button with digitalRead()
17:30 Wiring the Output Pin and Preparing Oscilloscope Measurements
21:30 Calibrating NOP-Based Delay Loops with Linear Regression
27:10 Morse Timing Rules: Dots, Dashes, and Gaps
30:00 Arduino Morse Program Structure and Configurable Time Units
36:00 Encoding Letters with a 26-by-5 Morse Array
45:00 Mapping Input Characters to Morse Rows and Lab Wrap-Up

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

Transcript excerpt

0:00 actually midnight today. Um, so you can keep working on it without getting uh losing any points. Okay? Hopefully you can finish everything today by the end of today. And um another in class on Friday uh and so homework four will be due next Sunday. So you don't have to worry about that for now. So these are all all the tasks for this week. So you expect you can expect what are going to be covered um within this seven days right then click tutorial number one the number one and for the first couple of tasks if you look at your in class okay your in class so these are pretty fundamental questions for [clears throat] the

0:48 materials covered in the tutorial one uh but I still list it over here to help you guys pay attention and understand what's really going on with the code okay within the And if you look at the top, you see the ASM right the nuts. So this is an assembly uh instruction. It just doing nothing. Just waste a little bit of time over there. It's doing nothing. And but we are using this one to form a certain amount of time delay for this tutorial. And there will be some measurements following uh this tutorial to let you u uh test how long um how how many knobs are needed to form like one second time

1:35 delay over there. Okay. And by if you look at the first question right find the digital pin number uh and the chip pin number for these two physical pins and used for push button top and bottom. So the way to approach this problem is you have to go to the website again. Go to my major website and go to the course website and go to

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

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, Yiyan Li.

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.