Instructor: | Erik Cheever, Singer 236, 610-328-8076, echeeve1@swarthmore.edu |
Meeting with me: | Check my schedule for office hours (I will try hard to be available then), but feel free to drop by anytime I am in my office. If you are having trouble finding me, or would like to set up an appointment, email is probably the best way to contact me. |
Meeting time & place: | MWF 11:30-12:20, Singer 221 |
Lab time & place: | Lab is in Singer 246 and is self scheduled. I will be available Thursday afternoons as well as every other Monday and Tuesday (when I don't have E15 lab), but you can stop by anytime, or make an appointment (check my schedule) |
Text: |
|
OneNote: | link - OneNote lectures |
Files: | link - class handouts, old exams... |
Moodle: | https://moodle.swarthmore.edu/course/view.php?id=20388 |
Homework due dates will be on the course moodle page; assignments will be turned in on moodle as a single pdf. Late homework will be penalized 25%, and won't be graded after 1 week.
We will go over any questions on the homework the day before it is due (assignments are due Thursday at 9:00 a.m. unless otherwise specified). If your name (i.e., the first three letters of your email address) are next to the problem, you are responsible for presenting an outline to the solution in class (not the entire solution, but enough to get people working in the right direction). If you are not sure how to do a problem assigned to you, please come ask - but do it at least a day in advance, and not right before class.
Before doing assignment 0, you may wish to read my E11/E12 review, in particular 1st order step responses.
#include <msp430.h> #define LED BIT0 volatile int pbFlag=0; // flag that gets raised to indicate interrupt. void main(void) { WDTCTL = WDTPW + WDTHOLD; // Stop watchdog // Add your code to set up ports. __bis_SR_register(GIE); // enable interrupts. while (1){ if (pbFlag) { pbFlag = 0; P1OUT ^= LED; } } } // Port 1 interrupt service routine #pragma vector=PORT1_VECTOR __interrupt void Port_1(void) { // Add your code to set pbFlag to 1 and clear interrupt flag }
Two electrodes labeled SKIN-1 and SKIN-2 are attached to two fingers and forms a voltage divider to ground (V-) through R4. If you experience stress, you sweat a little and the resistance between the electrodes decreases because of the increased conductivity at the skin-electrode interface. This is filtered (IC1A) and then amplified (IC2B). If the signal at the output of the amplifier is high enough, the LED turns on.
a) What is the voltage at the non-inverting terminals of the op amps? Explain your reasoning.
b) If the skin resistance has been constant for a long time, what is the baseline voltage at the output of IC1B? Explain your reasoning. Is the LED on or off?
c) Find the transfer function between points A and B and verify the cutoff frequencies.
d) Plot the overall frequency response (i.e., the Bode plot, just magnitude) between A and C.
You should work on labs in groups of two or three, you will turn in one report per group.
Lab groups are here.
Coursework | Weight |
Midterm
exams #1, 2, 3 (Lowest exam counts 1/2 as much as others) |
40% |
Homework (Lowest homework will be dropped) |
20% |
Labs (Lowest lab counts 1/2 as much as others) |
40% |
Homework: | I encourage you to work together on homework, but don't blindly copy another students work. You should fully understand all solutions to homework before submitting them. |
Labs: | I expect labs to be done as a group.
Each group will submit a single report (with all members of the group
listed). Groups should work independently of one another - you may discuss particular issues, but do not share data or reports. |
Exams: | Exams are to be solely your own work. The format of exams may vary, but it is never permissible to seek help from another individual. |
"If you believe you need accommodations for a disability or a chronic medical condition, please contact Student Disability Services (Parrish 113W) via email at studentdisabilityservices@swarthmore.edu to arrange an appointment to discuss your needs. As appropriate, the Office will issue students with documented disabilities or medical conditions a formal Accommodations Letter. Since accommodations require early planning and are not retroactive, please contact Student Disability Services as soon as possible. For details about the accommodations process, visit the Student Disability Services website. You are also welcome to contact me [the faculty member] privately to discuss your academic needs. However, all disability-related accommodations must be arranged, in advance, through Student Disability Services."