ENGR 072 - Electronic Circuit Applications,
Fall 2017


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 class before it is due. If your initials 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 everybody working in the right direction).

If you have questions about the problem you are to present, please come see me the day before - but please don't do so right before class..

Before doing assignment 0, you may wish to read my E11/E12 review.

      1. Problem C,
      2. 1.35,
      3. 1.36,
      4. The ADC on the MSP430 has 10 bits. If the reference voltage is Vcc=3.3V, what is the resolution.
      5. The 3.3V power supply is usually not very accurate (+/-5% or so), so for more accurate conversions, the ADC10 has a 1.5 and 2.5V reference (see page 535 of the data sheet). Assuming the sensor is perfectly accurate, and the ADC10 reference voltage is set to 1.5V (and is also perfectly accurate), how accuarately can you measure tempearture in Celsius (see page 550 of the data sheet).
      6. Use the code below as the basis for a program that toggles the LED every time you hit the push button on the LaunchPad using interrupts on the push button input. Also add comments to the code.
      7. Why is the variable pbFlag declared to be volatile?
// don't forget the include file.

volatile int pbFlag=0;
#define LED BIT0

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




You should work on labs in groups of three or four, you will turn in one report per group.

Course information

Instructor: Erik Cheever, Hicks 305, x8076
Meeting time & place: MWF 11:30-12:20, Hicks 211
Lab time & place: Lab is in Hicks 310 and is self scheduled.  I will be available at least one afternoon (TBD) per week (check my schedule)
Problem Session: Tuesday evenings, 7:00-8:30, Sci 158.
  1. Microelectronics Circuits, 6e, by Sedra and Smith, Oxford University Press
    This is an older edition of the textbook, and we will only be using a few chapters. You should be able to get it more cheaply than the most current edition (note that is is the 6th edition), but since it is an older edition the bookstore won't carry it. Amazon link.
  2. Useful refence, but there is no need to purchase: Op Amps for Everyone, available online (expanded print copy is also available on Amazon - the online version is sufficient for this class).
OneNote: Link
Files: Link (Old exams, powerpoints...)
Moodle: Link
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 contacting me, either call or email me.


Coursework Weight
Midterm exams #1, 2, 3
(Lowest exam counts 1/2 as much as others)
(Lowest homework will be dropped)

(Lowest lab counts 1/2 as much as others)
Project 1/4

Policy on working together

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.
Projects: Projects may be either individual, or as a group. 
Exams: Exams are to be solely your own work.  The format of exams will vary, but it is never permissible to seek help from another individual.

Statement on Accommodations

If you believe that you need accommodations for a disability, please contact Leslie Hempling in the Office of Student Disability Services (Parrish 113) or email lhempli1@swarthmore.edu to arrange an appointment to discuss your needs. As appropriate, she will issue students with documented disabilities a formal Accommodations Letter. Since accommodations require early planning and are not retroactive, please contact her as soon as possible. For details about the accommodations process, visit the Student Disability Service Website. You are also welcome to contact me privately to discuss your academic needs. However, all disability-related accommodations must be arranged through Leslie Hempling in the Office of Student Disability Services.