Last updated at 10:47 AM on 12 Nov 2012

# Overview

This page provides supplementary information to support lectures in EAS 199A during Fall 2012.

# Lecture Notes

## 20. Finish pump testing, Course review

Class meeting on 28,29 November 2012

### Learning Objectives

1. Complete the pump testing, and data analysis so that you are ready for the final report on the pump.
2. Be aware of the requirements for the final report on the pump
3. Be aware of the requirements for the final report on the pump

### Notes and Supplemental Files

1. Expectations for the final report on the pump project
2. List of Learning Objectives by class meeting as MS Word or PDF

## 19. Quiz 2, Finish pump testing

Class meeting on 26,27 November 2012

### Learning Objectives

1. Complete the pump testing, and data analysis so that you are ready for the final report on the pump.
2. Be aware of the requirements for the final report on the pump

### Notes and Supplemental Files

1. Expectations for the final report on the pump project

## 18. Pump testing

Class meeting on 21,22 November 2012

Homework: Problem Set 7 Due 26,27 November 2012

### Learning Objectives

1. Be aware that Quiz 2 will be given next week.
2. Be able to get your pump to work
3. Be able to describe the basic shape of a pump curve, and identify the no flow and maximum flow conditions.
4. Be able to measure the pump curve and pump efficiency versus flow rate
5. Be able to perform polynomial curve fit with the Excel Trendline function

### Notes and Supplemental Files

1. Pump testing procedure: PowerPoint slides, PDF slides, PDF slides 2-up, or 3up handouts
2. Slides on polynomial curve fitting: one slide per page or 2-up handouts
3. Excel sheet for polynomial curve fit of pump data

## 17. Finish pump fabrication, begin pump assembly; Overview of pump performance

Class meeting on 19, 20 November 201

Homework: Problem Set 7 Due 26,27 November 2012

### Learning Objectives

1. Be aware that Quiz 2 will be given next week.
2. Be able to finish fabrication of your pump
3. Be able to assemble the pump
4. Be able to describe the basic shape of a pump curve, and identify the no flow and maximum flow conditions.

### Notes and Supplemental Files

1. Pump performance analysis slides or 2-up handout
2. Pump performance analysis (LA Tech) PowerPoint slides or PDF (no animations) or 3-up handout
3. Pump assembly tips

## 16. Continue pump fabrication, begin pump assembly

Class meeting on 14, 15 November 2012

### Learning Objectives

1. Be aware that Quiz 2 will be given in two weeks
2. Be able to continue fabrication of your pump
3. Be able to assemble the pump

## 15. Least squares fitting to exponential and power law functions, 3D model of pump impeller

Class meeting on 12,13 November 2012

Homework: Assignment will involve submitting a 3D model of the pump impeller by Wednesday, 21 November 2012

### Learning Objectives

1. Be able to perform power law, semi-log, and log-log curve fits with the Excel Trendline function
2. Be able to create a 3D solid model of a pump impeller by following the Solidworks tutorial
3. Be ready to begin fabrication the pump body with the milling machines in the lab
4. Be aware that Quiz 2 will be given in two weeks

### Notes and Supplemental Files

1. Least squares fitting to semi-log, power, and log-log functions: PowerPoint, or PDF or 3-up handout
2. Solidworks instructions for impeller design
3. Instructions for manufacturing the pump body: PowerPoint, PDF, or 3-up notes
4. Key operations on pump body (PNG image), and Larger PDF version

## 14. Intro to pump fabrication, least squares polynomial regression, R2

Class meeting on 7, 8 November 2012

### Learning Objectives

1. Be able to compute and interpret the R2 coefficient of a least squares line fit
2. Be able to use Excel's `trendline` function to add a least squares line fit to data
3. Be able to use Excel's `trendline` function to add a least squares fit of a polynomial to data
4. Be aware of pump fabrication steps and responsibilities for students
5. Be aware of the 3D solid modeling necessary for the impeller fabrication.

### Notes and Supplemental Files

1. Slides on R2: one slide per page or two slides per page
2. Slides on polynomial curve fitting: one slide per page or 2-up handouts
3. Pump fabrication overview PowerPoint, PDF, or 3-up notes
4. Key operations on pump body (PNG image), and Larger PDF version
5. Solidworks instructions for impeller design
6. Instructions for manufacturing the pump body: PowerPoint, PDF, or 3-up notes

## 13. Introduction to Linear Regression; Completion of desktop fan fabrication

Class meeting on 5,6 November 2012

### Learning Objectives

1. Be able to manually calculate the slope and intercept for a least squares line fit to data
2. Be able to complete the fabrication of the desktop fan

### Notes and Supplemental Files

1. Linear Regression: PDF slides and 2-up notes
2. Spreadsheet example of manual linear regression (xlsx)
3. Print out of the spreadsheet example of manual linear regression (PDF)
4. Screencast of linear regression with Excel: see "Basic Line Fit -- 'manual' calculations with Excel"

## 12. Desktop Fan Wrap-up, What is Design?

Class meeting on 31 Oct, 1 Nov 2012

Homework: Desktop fan and design, Due 7,8 November. Submit fan drawings via a drop box on the D2L website.

### Learning Objectives

1. Be able to connect a momentary button to an LED circuit such that pushing the button turns on the LED
2. Be able to describe the function of and need for a pull-down or pull-up resistor in a digital input circuit for a momentary button
3. Be able to build a circuit that uses a momentary button for digital input to an Arduino
4. Be able to write a wait-for-input sketch on an Arduino that uses a momentary button for input
5. Be able to describe the difference between a wait-for-input algorithm and an interrupt-driven algorithm that responds to a digital input
6. Be able to create a hand sketch of the structure of the desktop fan
7. Be able to complete the Solidworks drawing of the structure for the desktop fan

### Notes and Supplemental Files

1. Button input (slides) and 3-up notes
2. Button_LED.pde sketch that uses a button as a switch to turn on an LED.
3. Wait_for_start_button.pde sketch that waits for the user to press a button before leaving the `setup` function.
4. Button_interupt.pde sketch that uses an interrupt to respond to button input.
5. TIDEE Design Process (video)

## 11. Servo motor control, Begin Solidworks drawing

Class meeting on 29, 30 October 2012

### Learning Objectives

1. Be able to identify characteristics that distinguish a servo and a DC motor
2. Be able to describe the difference a conventional servo and a continuous rotation servo
3. Be able to use the Arduino Servo library to control servo position
4. Be able to launch Solidworks to begin drawing of the fan parts

### Notes and Supplemental Files

1. Controlling a servo with Arduino slides in Powerpoint (PPTX) or slides (PDF) or 3up notes
2. Solidworks drawing template for laser cutter parts: right click to save as...
3. Failure modes for laser cutter drawings
4. Someone filmed my lecture on Solidworks.Part 1Part 2Part 3Part 4Part 5

## 10. DC Motor control, Soldering the DC motor leads

Class meeting on 24, 25 October 2012

### Learning Objectives

1. Be able to safely solder extension leads onto the DC motor
2. Be able to use a potentiometer to control the speed of the DC motor from the Sparkfun kit

### Notes and Supplemental Files

1. Review DC motor circuits PDF slides and 3-up notes before class.
2. Controlling the speed of a DC motor slides or 3up notes
3. Review Soldering instructions Powerpoint before class.
4. Soldering extension leads onto the DC motor slides or 3up notes

## 9. Midterm exam

Class meeting on 22, 23 October 2011

## 8. Breathing LED

Class meeting on 17, 18 October 2012

Homework: Problem Set #4

### Learning Objectives

1. Be able to derive the coefficients of, and evaluate the v(t) curve that describes a breathing LED.
2. Be able to use PWM to control the brightness of an LED
3. Be able to implement codes to simulate a breathing LED with straight line segments

### Notes and Supplemental Files

1. Code for a breathing LED: detailed notes
2. Soldering instructions Powerpoint
3. DC motor circuits PDF slides and 3-up notes
4. Video of laser cutter fabrication of desktop fan pieces: Link

## 7. Plotting in Excel, Desktop Fan Introduction, Breathing LED

Class meeting on 15, 16 October 2012

Homework: Problem Set #4

### Learning Objectives

1. Be able to set up a spreadsheet in Excel that is organized and easy to read
2. Be able to construct a plot in Excel
3. Be able to describe the main steps in constructing the desktop fan project
4. Be able to derive the coefficients of, and evaluate the v(t) curve that describes a breathing LED.

### Notes and Supplemental Files

1. Excel spreadsheet to plot of resistor power versus resistance: Lecture Notes and Spreadsheet
2. Fan project introduction: PDF slides and 3-up notes
3. Introduction to PWM: PDF slides or detailed notes
4. Equations for a breathing LED: PDF slides or Handout 2up slides or detailed notes
5. Video of laser cutter fabrication of desktop fan pieces: Link

## 6. Review of DC circuit analysis, Arduino programming

Class meeting on 10, 11 October 2012

Homework: Homework 3

### Learning Objectives

1. Be able to analyze and compute the power dissipated by any resistor in an arbitrary combination of series and parallel resistors
2. Be able to explain the differences between `int` and `float` variable types in an Arduino sketch
3. Be able to choose `int` or `float` appropriate for a coding task
4. Be able to write `for` loops in an Arduino sketch
5. Be able to write a `for` loop to compute the average of analog input measurements in an Arduino sketch

### Notes and Supplemental Files

1. Analog and Digital input/output: Powerpoint
2. Introduction to Photoresistor Voltage Divider: Powerpoint
3. Arduino programming Part 2 slides (PDF)
4. Arduino programming Part 2 slides 3-up (PDF)
5. Slides to review DC Circuit Analysis: Full screen slides or two-up handouts.
6. Also for your review:Manual solution of power dissipation problem (PDF)
7. Also for your review:What's this "void loop" thing? (PDF)
8. Also for your review:Practice problems for circuit analysis

## 5. Arduino Programming, Kirchoff's Current Law, Binary Numbers

Class meeting on 8, 9 October 2012

Homework: Video for problem 5 of homework 3

### Learning Objectives

1. Be able to describe the role of the `setup` and `loop` functions in an Arduino sketch
2. Be able to list at least two Arduino variable types and describe the kinds of data they can store
3. Be able to convert from binary to decimal and decimal to binary number formats
4. Be able to predict current flow into junctions for simple resistor circuits
5. Be able to find the programming reference on the main Arduino website
6. Be able to define and create a voltage divider on a breadboard

### Notes and Supplemental Files

1. Experimental verification of Kirchoff's current law: Powerpoint, 3-up, PDF
2. Arduino programming slides: Powerpoint, PDF 1-up, PDF 3-up
3. Binary Numbers (PDF)

## 4. Kirchoff's Voltage Law, Breadboard circuits

Class meeting on 3, 4 October 2011

Reading: Print the handouts an bring them to class

### Learning Objectives

1. Be able to use your multimeter to measure voltage drops around a circuit
2. Be able to compare predicted and measured voltages for simple resistor circuits
3. Be able to define and create a voltage divider on a breadboard

### Notes and Supplemental Files

1. Experimental verification of Kirchoff Voltage Law: Powerpoint slides and 3-up handouts in PDF
2. Sample problem for circuit simplification
3. Kirchoff Voltage Law, example 1 (PDF)
4. Kirchoff Voltage Law, example 2 (PDF)
5. Multimeter tutorial at Sparkfun
6. Multimeter tutorial by Limor Fried. Be sure you click on the individual links under "What you will learn" headings.

## 3. Multimeter Demo, Breadboarding an LED Circuit, Resistor Color Codes

Class meeting on 1, 2 October 2012

Homework: Homework 2

### Learning Objectives

1. Be able to use your multimeter to measure voltage and resistance
2. Be able to build circuits of resistors on the breadboard from the Sparkfun Inventor's Kit
3. Be able to write an Arduino program to make an LED blink

### Notes and Supplemental Files

1. Download the PowerPoint presentation or the 3-up version of the notes on using a multimeter and a breadboard

## 2. Power consumption in resistors. Resistors in series and parallel.

Class meeting on 26, 27 September 2012

### Learning Objectives

1. Be able to compute the power dissipation (or consumption or use) when current flows through serial and parallel combinations of resistors.
2. Be able to compute the equivalent resistance for two resistors in series.
3. Be able to compute the equivalent resistance for two resistors in parallel.

## 1. Introduction, Ohm's Law

Class meeting on 24, 25 September 2012

### Learning Objectives

1. Know how to contact instructors: email, telephone, office hours
2. Understand the goals and expectations of the class
3. Be able to explain the mechanism for conduction of electricity in solids
4. Be able to read data from the Periodic Table of elements
5. Be able to define current in terms of electron flows (in number and direction)
6. Be able apply Ohm's law to the prediction of voltage, current and resistance in simple DC circuits.
7. Understand the homework format

### Notes and Supplemental Files

1. Syllabus
2. Liability release form
3. Course Overview presentation 3-up slide handout or the full version (3-up version of slides). Caution, these are large files, about 60 MByte each.
4. Notes on electricity, 11 pages of text and images.
5. Electricity presentation: 3-up slide handout or full version. These are small files, about 1.5 MByte each.
6. Study questions for electricity notes
7. Engineering format for homework solutions and Sample solution