Physics 335, Spring Quarter 2014
Electric Circuits Laboratory II

Digital Electronics, Microprocessors and Microcontrollers

Instructor: David B. Pengra

Office: Physics and Astronomy Building B256
Office Hours by appointment — please email or phone
Telephone: 206-543-4783

Course Announcements

Lectures start April 1, 2014 – First week of term.
Labs start April 7 – Second week of term.

Meeting Times and Locations

Physics Astronomy Building - A wing – Room A118
Tuesdays & Thursdays - 10:30-11:20 am

Lab Sections:
Physics Astronomy Building - B wing - Room B280

Monday (AE) 2:30 - 5:20 pm (note late start) Mike Ingber
Tuesday (AA) 1:30 pm - 4:20 pm Nichole Barry
Wednesday (AB) 1:30 pm - 4:20 pm Brandon Robinson
Thursday (AC) 1:30 pm - 4:20 pm Mike Ingber
Friday (AD) 1:30pm - 4:20 pm Nichole Barry

Teaching Assistants and Support

Mike Ingber -
Nichole Barry -
Brandon Robinson -

Jason Alferness
Program Operations Specialist
B256B Physics Astronomy
(206) 221-2974

Homework Assignments and Solutions

Homework 1 Due April 1, 10:30am (Solutions)
Homework 2 Due April 3, 10:30am (Solutions)
Homework 3 Due April 8, 10:30am (Solutions)
Homework 4 Due April 10, 10:30am (Solutions)
Homework 5 Due April 17, 10:30am


Many datasheets can be found at

Some selected datasheets:

  • 74LS74 TTL Edge-triggered dual D-type flip-flop (Motorola)
  • 74HC74 CMOS Edge-triggered dual D-type flip-flop (Texas Instruments)

Lecture Notes

Lecture 1 April 1
Lecture 2 April 3
Lecture 3 April 8
Lecture 4 April 10
Lecture 5 April 15


You should read through the lab notes and related material in the text or from other sources such as datasheets prior to coming to each lab period.

Lab 1 - Intro to Digital Logic
Lab 2 - Flip Flops and Sequential Logic
Lab 3 - MSI Logic and Counters
Lab 4 - Analog to Digital, Digital to Analog
Lab 5 - Intro. to MicroControllers and Assembly Programming
Lab 6 - MicroController Project 1
Lab 7 - Microcontroller Project 2
Lab 8 - Microcontroller Project 3

Thanks to the contributions of Profs. Blayne Heckel, Prof. Oscar Vilches, Leslie Rosenberg, Jason Alferness, David Pengra and John Stoltenberg for these materials.

Summary Course Information

Our objective is for you to learn the kind of basic digital electronics you'll need in the laboratory. You'll begin by designing and building circuits around 74-series TTL and CMOS logic gates. You'll then learn to how to interface ADC's and DAC's and other peripherals. You'll then assemble and program circuits containing microcontrollers. Along the way, you'll learn fundamentals of computer architecture and machine-level programming.

Required Text:
Enrique J. Galvez, Electronics with Discrete Components, John Wiley & Sons (2013), ISBN 978-0-70-88968-8
Much assigned homework and reading will come from this text.

Optional Texts (copies are available for viewing in B280):
(1) Hayes and Horowitz, Student Manual for the Art of Electronics, Cam. Univ. Press
(2) Horowitz and Hill, The Art of Electronics, Cam. Univ. Press.

As the term progresses, we will post other information that you will be expected to read (or at least look over), such as user manuals, data sheets, and other notes.

Homework, Exams, and Grading:
In the first few weeks of term, homework will be required for every lecture meeting. See the syllabus for more information.

There will be one exam about midway through the term. It will count for 20% of the grade. It will cover digital circuits and characteristics of digital gates, Boolean logic, and PIC controllers up to that point in the course. The exam is closed-book. Among other things, you're expected to know the truth-tables for basic logic gates and how counters, flip-flops and latches function. You're expected to know how to draw a timing diagram. The exam will include a summary table of PIC microcontroller instructions.


  • Exam: 20%
  • Homework: 10%
  • Lab practice (assessed by your TA): 30%
  • Lab reports: 40%
See the Syllabus for more detailed information.

Send mail to:
Last modified: April 4, 2014