Fort Lewis College CE351
Dr Li · Fort Lewis College · 21 lectures with notes
Every lecture with its full transcript and chapters, and one search across all 21 lectures.
CE351 lec43 Final exam overview
Exam calculations connect 16 MHz ADC and timer settings to sampling deadlines, while double buffering supports continuous SD-card acquisition.
CE351 lec37 SD card and SPI
For high-speed SD recording, write continuous 512-byte blocks through a low-level interface rather than opening and writing files with SD.h.
CE351 lec29 PCB and the Skyboard
A component-by-component guide to Skyboard PCB design, from USB protection and regulator sizing to SPI and I2C wiring.
CE351 lec28 ADC inclass 9
A practical guide to timer-driven ADC capture, trigger-based frequency measurement, and introductory PCB design.
CE351 lec22 Wrap up the IR tutorial
How Timer5 PWM and a Timer3 state machine transmit IR bytes, stop bits, and checksums on an AVR.
CE351 lec21 IR transmitting and receiving a message
UART receive interrupts buffer each byte while null termination and an additive checksum help frame and validate IR messages.
CE351 lec20 IR transmitter and receiver task 1 and task 2
A byte-by-byte IR transmitter uses PWM and UART framing, implemented first with polling and then with a Timer 3 ISR.
CE351 lec19 IR transmitter/receiver (no ISR)
Timer 5 generates the 38 kHz IR carrier; polled Timer 3 shapes it into 1200-bit/s UART data without an ISR.
CE351 lec18 IR emitter, transmitter, baud rate
IR communication depends on separating the 38 kHz light carrier from UART data timing and matching the receiver’s baud rate.
CE351 lec17 PWM pins, TOP, BOTTOM, Mode 14
Active-low RGB LEDs fade through six colors using PWM updates every 10 ms.
CE351 lec16 A music game box Task 2.3 and PWM introduction
Task 2.3 uses timer interrupts to judge copied musical timing, while PWM controls output power through duty cycle.
CE351 lec15 Play a song, multiple ISRs
Timer ISRs and a state machine coordinate note pitch, duration, rests, and song playback in an embedded music game.
CE351 lec12 Overflow interrupts
AVR timer overflow interrupts let Timer1 run event-driven routines without polling, simplifying tone generation and timing control.
CE351 lec11 Timer/counter, play single notes, play a song
AVR music playback uses separate timer controls for note pitch, note duration, and rests between notes.
CE351 lec10 Timer and play music notes
Timer1 overflow math and register-based timing turn button presses into musical notes.
CE351 lec9 Timer and counter basics
Use timer counts, prescalers, and overflow registers to generate accurate signals and calculate microcontroller delays.
CE351 lec7 The Morse code and time delay in MCUs
Calibrate MCU delays with oscilloscope measurements, then use them to encode Morse code through an LED or speaker.
CE351 lec4 PCB Assembly
A practical guide to identifying Skywire PCB parts and soldering its surface-mount and fine-pitch chips safely.
CE351 lec3 Embedded C programming
Arduino exercises connect embedded C concepts to complete programs that compile, run, and report results over serial.
CE351 lec2 Embedded C examples
Embedded C requires reasoning about fixed-width arithmetic and hardware behavior, not just familiar C and C++ syntax.
CE351 lec1 Intro to the course
CE351 centers on building a programmed Skyboard PCB while developing practical embedded-C skills.