Pre-class Assignment
Read through section 6.1 and complete the participation activities.
Announcements
- Lab 1 is due Feb. 11 (next Wednesday) before lab.
- Commit code on Github and upload report to Moodle.
- Sign up for a lab checkoff for Lab 1 on Weds. Feb 11
- If you do not finish by Feb. 11, email me ahead of time to request an extension and sign up for a lab checkoff on a later date. All lab check-offs must be complete by 2/18. If you are still stuck at that time, you can do the lab check-off and then resubmit up to two more times.
- Lab 2 will start next week
- Please confirm your conflicts here and list any preferences for groups that I don’t already know
- We will likely keep the same groups for labs 2-4, but I am flexible on this
- Assessment timing
- Assessment timing has been pushed back, see schedule
- Office hours: by appointment (email me if none of those times work)
Learning Objectives and Outcomes
In this lecture, you will...
- listen to a short lecture about how the serial monitor works
- work through in class exercises to design a digital oscilloscope
By the end of this lecture, you should be able to...
- sample an analog signal using the Nucleo board
- send samples to the serial monitor in order to plot them in MATLAB
Lecture Content
Analog to Digital Conversion
Analog to Digital Conversion is essential for interfacing with the “real world.”
[Source](https://prod-files-secure.s3.us-west-2.amazonaws.com/25a26768-7005-47a0-9fe2-af1d3ae27b96/e79e5e85-3465-493e-95cd-b54e5791e405/0418_adc_signal_2.avif)
Source
AnalogIn
For lab 2, we’ll be designing a heart rate monitor. In order to help debug our heart rate monitor, we’re going to design a basic digital oscilloscope. This oscilloscope will sample our signal at a fixed frequency (e.g. 100 Hz), and then print the results to the serial monitor. In order to design our scope, we need to make sure that the serial monitor can support the amount of information that we’d like to transfer. To understand this, we need to know how the serial monitor works.