ECE 112 - Introduction to Electrical and Computer Engineering

Winter 2002

When:
   Meets Tuesday and Thursday 10:00-10:50 pm

Where:
    CORD 1109

Lecturers:
    Dr. Wojtek Kolodziej
    Office:                        303 ECE Bldg.      E-Mail:    wojtek@ece.orst.edu
    Office Hours:             TBA

    Roger Traylor
    Office:               238 ECE Bldg.               E-mail:     traylor@ece.orst.edu
    Office Hours:   3-4pm Tuesday and Thursday

TAs:
List of TAs, their lab times and email addresses


New information: last update: 1/2/02, 5:17pm


Kismet CD

Kismet

Roger's PIC16F84 Programmer

PIC16F84 Programmer

Class Goals

The goals of ECE 112, Introduction to Electrical and Computer Engineering are: (1) to introduce basic concepts in Electrical and Computer Engineering in a integrated manner, (2) to motivate basic concepts in the context of a simple student constructed robot, and (3) to illustrate a logical way of thinking about problems and their solutions.


Lecture Topics


Required Reading

The notes for each class session are found in the syllabus. Our class will roughly follow the order of the notes. Please read through the material before the lecture.

The notes for each lab will also be posted in the syllabus. You must read these before going to lab. If you don't you will likely not finish the lab. For some labs, there is some preliminary work to do before you come to lab.


Prerequisites

You should be comfortable with navigating and creating files in the UNIX enviroment. You should be proficient with a good editor such as vi or emacs. ECE111 covers all this stuff. No experience with building electronic circuits is needed.

Getting Class information

A mail reflector (or group, list) for the class will be established by the beginning of class. This "mail group" is where you find information about homework assignments, changes in test dates or times, changes in due dates, changes in test locations, etc. In other words, really important stuff .

The mailgroup is how I communicate with you outside the classroom. It can also be used as an interactive forum where you discuss problems and solutions. Such usage is encouraged. Its OK if you discuss answers to homework or your approach to solving a problem, but providing complete solutions is forbidden.

Students who register early for ECE112 during the fall term are automatically given ECE computing accounts and are added to the class mail list. You will receive a notification from the list manager when you are added to the list.

The name of the class list for ECE112 is: class-ece112@orst.edu This name is case sensitive.


Laboratory

Lab TA Information

What you will need for lab:
A major portion of this class (and of your grade) involves building and subsequent debugging of a robot. This year for the first time, we have a robot designed here at OSU that allows us to the lecture and lab topics together better.

Lab Kit Costs (2002 prices)
Robot kit : $85.00
Tool Kit: : $10.00
Robot Kit & Tool Kit : $95.00

The Robot kit is the only mandatory purchase if you are proficient with soldering and have your own tools. We will be selling the required tools and robot kits during the first lab session during the week of Janurary 6th. It is very important that you bring $95 dollars cash or a personal check with you to the first lab session.

If you have the proper tools to build the kits, you do not need to buy tools. Here are the tools you will need:

Tools needed
  * Flat Head Screw Driver
  * Philips Head Screwdriver
  * Write Strippers
  * Side (diagonals) Cutters
  * Needle Nose Pliers
  * Solder (rosin core) and Solder Wick
  * Safety Goggles

Soldering irons are supplied in the lab. We have obtained industrial quality irons to make learning to solder as easy as possible.

If you have never soldered, or may have forgotten how to, you may want to review the soldering tutorial we have here: soldering tutorial

alternate soldering tutorial

If you have all the tools and also a soldering iron, you are free to work on the robot kit at your residence.

All lab sections meet in DH302.

Lab Conduct
No food or drink is allowed in the lab. No horseplay is allowed. Take care of the lab equipment. We can have a fun time with some of the labs if we act like mature adults.


Homework

Problem sets are assigned weekly as seen in the syllabus. They will be submitted the following week on Monday, by 5pm in OWEN 300. Put your homework in the envelope for your lab section. In the case of a Monday holiday, homework will be due in the envelope by 5pm Tuesday. OWEN 300 is locked at 5pm and on weekends/holidays.

Sometime Monday evening, the link to the homework solutions will be reestablished so you can check your homework procedures and answers.

Your lab TA will grade your homework. Your lab TA will also return your homework to you in lab. Therefore,..... questions about homework grading should be directed to your lab TA. (suprise!) If you cannot resolve a grading issue with your TA, talk it over with Dr. Kolodziej or Mr. Traylor at our office hours. Homework is to be submitted on "cut edge" paper. i.e., no paper torn from spiral wound notebooks. The standard in engineering is green engineering computation paper. Homework submitted on non-cut edge paper will be rejected.

Each page of your homework should have your name, class name, lab TA name(s), and lab section.
Like this:     Joe Blow    ECE 112 Lab     Susie TA    Tuesday 4pm

Homework problems will be first stated, and then solved in a neat professional fashion. Sloppy work will be subject to points off at the discretion of your lab TA. I will support their objections to sloppy work. All work must be shown for full credit.

Each homework problem (or problem section) will be graded either a 2 (correct), 1 (partial awareness), 0 (not even close).

No late homework will be accepted. Exceptions are made in the case of serious illness or life issues. My discretion.


Grading

Homework 10%
Test 1          10%
Test 2          10%
Test 3          10%
Laboratory   40%
Final Exam 20%

Lab grades are based on your robot working correctly. Ample help will available to help those with "misbehaving" robots.

The exams are constructed such that if you understand all the lecture material, and can do all the homework without help, you will do well.

Current Grades
Final Grades - Broken
Fixed Final Grades


ECE 112 - Schedule and Assignments



Period


Date


Reading/Subject


Lab activity


Problem set/solutions

1 Tuesday, Jan 8 Introduction to ECE 112
Electrons, and Conductors
Electrical Current - "Electrons on the Move
Lab 1 - Tekbot Base Assembly
  -Soldering iron basics
  -How soldering works, how to do it
  -Assemble robot base
  -Alter servo motors
  -Test motors and battery connections
2 Thursday, Jan 10 Measuring Current
Voltage, Electromotive Force
Electron Flow vs Conventional Current
Schematic Diagrams
Schematic Symbols
Problem set 1
Solutions
3 Tuesday, Jan 15 Resistors, Ohms law and Passive Sign Convention
Resistors in series
Simulation and Modeling with Ideal Circuit Elements
Independent Voltage Sources
Independent Current Sources
Lab 2 - Making measurments with DMMs
  -Proper use of DMM
  -Reading schematics
  -How to measure current, voltage, resistance with a DMM
4 Thursday, Jan 17 The power equation
The Reference Direction
Nodes, Loops, Branches
Review class sessions 1-4
Problem set 2
Help for running spice
Spice file for part 3.d
Solutions to problems 1-2
Solutions to problem 3
5 Tuesday, Jan 22 Kirchoffs Voltage Law
Analysis of a single-loop circuit using KVL
Lab 3 - Ohms Law in Practice (pdf)
Ohms Law in Practice
Word Version
  -Using Ohms law
  -Creating a model of the motor internal resistance
  -Creating a model of the robot battery
  -Using a PWM to act as a variable resistor
6 Thursday, Jan 24 Test 1 - Covers periods 1,2,3,4
Take home test #1
Problem set 3, problems 1-6
Problem set 3, problems 7-10
Problem set 3, problems 11-13
Solutions to problems 1-5
Solutions to problems 6-9
Solutions to problems 10-13
7 Tuesday, Jan 29 More analysis of a single-loop circuit using KVL
Voltage Dividers
KVL Analysis with SPICE
Lab 4 - Power and Kirchoff's Voltage Law
  -Computing power consumed by the robot motor.
  -The reference direction for power consumption.
  -Observing Kirchoff's voltage law in operation.
   oscilloscope primer
8 Thursday, Jan 31 Kirchoffs Current Law
Circuit Analysis Using KCL
9 Tuesday, Feb 5 KCL Analysis Again
KCL Analysis with Using SPICE
Resistors in Parallel
Resistor Networks
Lab 5 - Kirchoff's Current Law, Resistor Networks
  -Observing Kirchoff's current law in operation.
  -Resistors in series and parallel. Voltage dividers.
  -Wheatstone bridge in practice.
Problem set 4
Solution, problem 1
Solution, problem 2
Solution, problem 3
10 Thursday, Feb 7 Semiconductors - Diodes
Semiconductors - BJTs
BJT Behavior
Analyzing BJT circuits
The BJT as an amplifier
11 Tuesday, Feb 12 Test 2 - Covers sessions 5,7,8,9
Test 2 solutions page 1
Test 2 solutions page 2
Test 2 solutions page 3
Lab 6 - Diodes and Transistors
Lab 6 "Pedal to the Metal" Replacement Section
Protoboard Basics
  -Diode and Transistor Behavior
  -Bipolar transistors as switches and amplifiers
  -MOSFET transistors as switches
Problem set 5
Solution
12 Thursday, Feb 14 "1" and "0" in the analog world
The logic gate family
Ad Hoc digital logic design
13 Tuesday, Feb 19 Analog to Digital Conversion
Analog to Digital Circuits
Digital to Analog Conversion
Lab 7 - Go Towards the Light
LM393 Data sheet
  -Voltage comparators
  -Simple circuits with comparators and digital logic
Problem set 6
Solutions
14 Thursday, Feb 21 ??? Memory circuits, Latches, Flip Flops, SRAM and DRAM
15 Tuesday, Feb 26 Computer Architecture
Lab 8 - Final Robot Assembly, part 1
  -Assemble analog control and whisker boards
16 Thursday, Feb 28 Test 3 - covers sessions 10, 12, 13, 14 Problem set 7 - Not to turn in
Solutions
17 Tuesday, Mar 5 Microcontrollers and assembly language programming
PIC 16F84 data sheet
Lab 9 - Final Robot Assembly, part 2
  -Assemble motor control board and begin system assembly.
18 Thursday, Mar 7 Applications of PIC microcontrollers
blinky light counter
count switch closures
PIC list home page
The "no parts" PIC programmer
Microchip web site
Problem set 8 - Not to turn in
Solutions
19 Tuesday, Mar 12 Analysis of the Analog Control Board
Analysis of the whisker board
Lab 10 - Final Robot Assembly, part 3
  -Finish system assembly and test
20 Thursday, Mar 14 Analysis of the Motor Control Board
TBA Final Exam TBA (comprehensive)

Questions, suggestions? Let me know......Mail to:

traylor@ece.orst.edu