Save this video — free

CE351 lec20 IR transmitter and receiver task 1 and task 2

Yiyan Li · 54:12 · Watch on YouTube

CE351 lec20 IR transmitter and receiver task 1 and task 2 Watch on YouTube →

Overview

CE351 lecture 20 explains how an Arduino Mega transmits one byte over infrared using UART framing, a 38 kHz PWM carrier, and an IR receiver connected to Serial1. It contrasts Task 1’s polling-based timing with Task 2’s Timer 3 interrupt state machine, showing how an LSB-first bit mask selects each data bit and how PWM on/off represents zero/one at the receiver.

Key takeaways

Chapters

0:00 Task 1 Byte Transmission: Send and Receive an ASCII Character
5:00 Serial1 UART Reception and the One-Byte Buffer
10:00 UART Baud Rate Configuration and Timer Registers
13:00 Timer 5 PWM Carrier and Timer 3 Polling Delay
20:00 Task 1 Frame Construction with an LSB-First Mask
31:00 Polling Completion and the Task 2 Interrupt Approach
37:00 Task 2 ISR Idle and Start-Bit States
40:30 Cadence Memory Compiler Setup and AI Troubleshooting Aside
44:00 Eight ISR Data-Bit Interrupts and Persistent Mask State
48:00 ISR Stop Bit, Idle Return, and Friday Quiz Preparation

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