CECS 311

Principles of Computer Engineering II




Lecture Videos

(Beachboard Media Tab Will Be More Up-to-Date)

CECS 311 Lecture and Tutorial Videos



Midterm 1 Homework, Review and Prep

Diode & Rectifier HW: pg 883 2-11, 13-16, 18; pg 884 Essay 3; pg 885 27-1, 27-5to6, 27-8to9, 27-11, 27-13to15, 27-19to20, 27-31(a,b), 27-36to38, 27-42to47, 27-49to52

Review LEDs, Diodes in DC, Zener Diodes, Double Diode Clipper

AC Analysis of Diode Circuits: Diodes in AC Review

Review Linear Power Supplies: Transformers, Half-Wave Rectifier, Full-Wave Bridge Rectifiers, Smoothing Capacitors, Vripple, Fixed Voltage Regulators, Adjustable Regulators. Review Power Supply Lab.

For Linear Regulators, 780x and LM317 review lecture and lab

Review Basic Linear Circuits (211 type problem, no Mesh/Nodal/Thevenin/Norton)

Transistors: BJT Mode of Operation, Operating Point, Power Dissipation, and Load-Line Analysis

Transistor Practice Problems: BJT – DC Analysis – Base Bias

Practice Exam: CECS311_Past_Midterm_1

Midterm 2 Homework, Review and Prep

Midterm 2 – Topics



Lab Teams and Meeting Day – Lab Team Signup

Lab 1 – Part 1 – Diodes: LED – Due: 9/2 Start of Lect.

Completed as a Team of no more than 3 members

Deliverables: 1 write-up per student

Lab 1 – Part 1 – Diodes: LED – Team


Online Edition: Submit one copy in the beachboard dropbox per student. The table should be filled out using the measurements found during the lab portion done with the instructor. The questions at the end of the lab should be answered, and 2 screenshots from LTSpice should be provided, one with the diode not conducting and one with the diode conducting. Both screenshots should show the voltage drop across the resistor and across the diode and there should also be a current measurement through the series circuit.

Lab 1 – Part 2 – Diodes: Rectifier – Simulation

Due: 9/9 Start of Lect. 

Completed Individually

Deliverables: 1 write-up per person


Notes: For the AC portion of the lab, use the generic voltage source, go to advanced settings, set it to sine wave and you can set the frequency to 60Hz, also keep in mind that you should set the Transient Analysis stop time to stop exactly after 3 cycles. T = 1/f. 

Online Edition: Submit one copy in the beachboard dropbox per student.

Lab 1 – Part 3 – Diodes: Rectifiers – Oscilloscope

Due: 9/21 Start of Lect.

Completed as a Team of no more than 2 members

Bring Supplies: DMM, Oscope Probes, BNC2Alligator, Breadboard, Resistors, 311 Parts Kit, Wire

Deliverables: 1 write-up per team

Lab 1 – Part 3 – Diodes: Rectifiers – Oscilloscope – Team

will remain open to any groups, keep in mind that this is a large class and leaving the lab to finish on this last day may result with too many people trying to use the lab. I highly recommend to get this done earlier. 

Lab 2 – Power Supplies, Transformers, Rectifiers and Regulators

Due: x/x – Beginning of Lecture

Deliverables: 1 lab write-up per individual


How to create a transformer using LTSpice

Supplies: Multimeters, Breadboards, Wire, Wire Strippers, Resistors, 1N4001, Caps (2200uF 50v or 63v), 100ohm 25W Load Resistor, etc. The transformer, Cap, and Load Resistor will be provided by the instructor during lab. Any 16.5Vac Transformer may be used, but it must be in a sealed package that does not have 120Vrms Mains Power exposed.

Lab 3 – Transistor as Switch

Deliverables: 1 lab write-up per individual

Due: x/x – Beginning of Lecture

Lab 3 – Transistor As Switch

Supplies: Multimeters, Breadboards, Wire, Wire Strippers, Resistor Pack/Kit, 2n3904 BJT Transistor

Lab 4 – BJT Common Emitter Amplifier

Due: x/x Beginning of Lecture

Part1 – Lab_4_-_CE_Amplifier

Lab Write-Up Notes: 1 Write-Up per student

We are running a 2 simulation cases, one with 10kohm load and another with 100ohm load. Please include a screenshot of the simulation for each case showing the Waveform and Schematic

  1. Each waveform should show 10 cycles
  2. Input Signal
  3. Input signal after attenuation by the Zout of the source and Zin of the Amplifier
  4. Output Signal after attenuation by Zout of the Amplifier and Zin of the Load

Note: if you take the voltage probe after the output cap, they will all be referenced to 0v and will be easy to compare.

BJT Amplifier – Part2

Create a breadboard prototype of the CE Amplifier from Part 1

Use the Function Generator to output 100mV at 1Khz

Place Ch1 of the Oscilloscope on Vin before the Amplifier

Place Ch2 of the Oscilloscope on Vout before the Load

Include a picture of the waveform from the oscilloscope and annotate with the peak values, also note the 180deg Phase Shift

Compare the measured values to your previously calculated values… how far were the measured values from the calculated ones

Final Project – Line Following Robot

Demo: Day of Final

Report Due: Hardcopy due During Final at time of Demo



Throughout the semester you will need a few lab supplies. Here is a tentative list and some sources or recommendations.

Most supplies can be purchased from the EAT – Embedded Applications Technology Club located in VEC-524. Just walk in (They are usually available throughout the day) and ask for the EAT club. All of their supplies are competitively priced with no waiting/shipping times and the club is a great resource to join and get ahead in your career.

Digital Multimeter – Not carried by EAT, have a look at my dedicated multimeter page for some discussion and recommendations.

Resistor Pack – Resistor Assortment of 1/4 or 1/8 watt with various values. EAT has gone through the trouble of assembling all of the necessary values that would be useful for the rest of your academic career. Keep in mind that this is a starting point, you will definately grow your collection as you learn. You can get this from EAT, amazon, or ebay. As for the different values you will need, all I can say is many different values. If you have a look at the class supplies page, you will see a link for a variety pack of 56 different values. Something like that will serve you well for the remainder of your classes in this department.

Breadboard – You will need a way to prototype your circuits. A breadboard will allow you to do this. For a picture of what a breadboard is, you can check out this link Breadboard. There are a few different standard sizes, any of them will work. EAT has these as well. A good recommendation for a size is 830 connection points, approximately 2.2″ x 7″ but a smaller one will work just as well.

Wire and Wire Strippers or Jumper Wires – There are two ways to connect circuits on a breadboard. You can buy already made jumper wires, like: or  or you can buy a roll of wire and use wirestrippers to cut your own length  and 

Check out the supplies page more more discussion on wire strippers. The recommended wire size for breadboards is 22 awg solid core wire and similarly the wire strippers should match the wire size, 20-30 awg is the right range for us. I prefer the greenlee P20. EAT also carriers wire for making connections.

Toward the end of the CECS 211 semester and continuing through CECS 311 and well into CECS 262, 346, 347, 447 and into the Senior Design 490A/B classes there are other supplies you will want eventually.

Capacitor Pack – Assorted Electrolytics and Ceramics

Oscilloscope Probes x2 – for the Oscilloscopes in lab

BNC to Alligator Clip Cable – for Function Generators

311 Parts Kit – various components we will use in 311

4x 1N4001 Rectifier Diodes, LEDs, 4x 3904 NPN BJT Transistors, 555 Timer, LM358 Opamp, Tactile Push Buttons, LM317 Adjustable Regulator, LM7805 5v Regulator, etc…

Sealed 16.5Vac 40VA Transformer –  The transformer will be provided by the instructor only during during lab time, however you are always welcomed to buy one on your own if you wish to work on the lab outside lab time. Amazon ELK-TRG1640-AC-Transformer-16-5VAC Any 16.5Vac Transformer may be used, but it must be in a sealed package that does not have 120Vrms Mains Power exposed. These can be hard to find. If you are ambitious and a electronic hobbyist, you may use any unsealed transformer as long as you construct a sealed box at home and when it is brought to school it is entirely sealed preventing access. It should also have a fuse and you should bring this to the instructor’s attention so they may inspect it.