User Tools

Site Tools


lecture:lecture_10

Lecture 10: Midterm Exam

Don't forget to bring:

  • simple calculator
  • pen or pencil

Get a good sleep and see you there!

Topics

Circuits
  • Use of multimeter for voltage, resistance, current
  • Circuits in series
  • Circuits in parallel
  • Kirchoff’s laws
  • Mix of series and parallel
  • V, I, R, P: values, units, application to entire circuits and individual components of the circuit
  • Voltage dividers
Programming

Functions

  • Void Setup()
  • Void loop()
  • pinMode(pin,mode)
  • delay()
  • Serial.begin(9600)
  • Serial.print()
  • Serial.println()
  • digitalWrite(pin,val)
  • analogWrite(pin,val)
  • analogRead(pin)
  • millis()
  • user-defined functions

Components

  • LED
  • Resistor
  • Potentiometer
  • Photoresistor

Tricks

  • If/Else statements
  • For loops
  • PWM signals
  • math operations: modulo, logarithm, exponential
Excel

Graph

  • plot data points
  • label x and y axis

Play around with data

  • write an equation in a cell
  • in an equation involving other cells, anchor a cell using the $ sign
  • create a column of cells using the pattern of the top cells
lecture/lecture_10.txt · Last modified: 2017/02/08 09:46 by nathalie