CECS 311

Principles of Computer Engineering II




Lecture Videos

CECS 311 Lecture and Tutorial Videos

Tools & Resources

LTSpiceXVII – Zip File Portable App Download

LTSpice Support and Troubleshooting

100$ Electronics Workbench Challenge – Alternative to MyDaq and Analog Discovery. Requires a bit more self-learning than the MyDaq or Analog Discovery but I’m a fan of options, so I just put the info out for everyone to decide what’s best for you. I’ll provide support for whichever approach you decide for yourselves, either MyDAQ, Analog Discovery or low-cost Test Equipment as described in the Electronics Workbench Page.

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 Equipment Borrow and Alternatives for Remote Labs

Download this file, fill out and change filename to reflect your name and submit on beachboard dropbox no later than 1/25/21


If purchasing yourself, here is the link: Studica – myDAQ

Alternatives include the Analog Discovery I or II or building up your own electronics workbench including Benchtop PSU, Oscilloscope and Function Generator. See my 100$ Electronics Workbench Challenge for more info, I would suggest this route only if you have a passion for and wish to pursue a deeper understanding of test equipment. This route also involves more autodidactic learning and more struggle, but with this struggle comes more reward.

Lab 1 – Part 1 – Diodes: LED

Due: 8/32/21

Deliverables: 1 write-up per student



Online Edition: Lab 1 consists of a simulation and a hands-on-lab. The hands-on portion was completed together during the lab time with the instructor, those values are to be entered into the lab write-up. The simulation portion should be done individually and included. The values and a screenshot from the simulation should be included in the write-up.

Deliverables: One write-up per student, Table filled out with Lab Bench Values and LTSpice Values, All Questions Answered, 1 Screenshot from LTSpice showing schematic and 3 values measured for any of the rows.

Lab 2 – Diodes: Rectifier – Simulation

Due: 9/15/21

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. 

Lab 3 – Diodes: Rectifiers – Oscilloscope – Using MyDAQ

Due: 10/4/21

Have Materials for 9/20/21 – AND WATCH

MyDaq Software and Install

MyDaq Intro Video


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

Deliverables: 1 write-up per student

Lab 3 – Diodes: Rectifiers – Oscilloscope

SKIP #7 and #8, we can’t do them with the myDaq

Lab 2 – Power Supplies, Transformers, Rectifiers and Regulators

Due: 3/9 – Before Lecture – Simulation Only

Deliverables: 1 lab write-up per individual


How to create a transformer using LTSpice

SIMULATION PORTION OF LAB ONLY – we will not be constructing the power supply at home

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

When solving by hand, you can assume Beta = 100.

Deliverables: 1 Document with Hand Calculations, LTSpice Simulation (2 simulations with inputs 0v and 5v showing IB, IC, Vce), Picture of Breadboard, Table Filled Out (1/2 of it), Questions Answered) 

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

Lab 4 – Skipped

Lab 5 – BJT Common Emitter Amplifier

Deliverables: 1 lab write-up per individual

Due: 4/22 – Beginning of Lecture


Video – CE Amplifier Lab LTSpice Support

Supplies: Multimeter, Breadboard, Wire, Resistor/Capacitor Kit (See schematic in Lab Document for the specific values required, 2n3904 BJT Transistor. Lab Test Equipment: Ni-MyDAQ, Analog Discovery, or Benchtop Power Supply, Oscilloscope and Function Generator

Lab 6 – Opamps

BUY LM358 OPAMP, Lab not created yet

Final Project – Line Following Robot Not for Online Class Edition

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.

Basic Electronics Part Kit from Amazon https://www.amazon.com/gp/product/B07Z1BK7NG

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

Resistor Kit – Resistor Assortment of 1/4 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 easily prototype and contruct your circuits. A breadboard will allow you to do this. 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. For more discussion on breadboards, examples, and how to breadboard, go to my Class Supplies Page

Wire and Wire Strippers or Premade Wires – Check out the Class Supplies Page more more discussion on breadboard wiring options 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.

Capacitor Pack – Assorted Electrolytic and Ceramic capacitors

Oscilloscope Probes x2 – for the Oscilloscopes in lab (This is not needed if using the NI-MyDAQ or Analog Discovery)

BNC to Alligator Clip Cable – for Function Generators (This is not needed if using the NI-MyDAQ or Analog Discovery)

311 Component Parts Kit – various components we will use in 311, this is only a starting point and not a comprehensive list, depending on other circuits you may wish to contruct or final projects you will probably choose different designs that will probably need different components

4x 1N4001 Rectifier Diodes, 2x 1N4148 Signal Diodes, 1~2x LEDs, 2x 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, you may use any unsealed transformer as long as when it is physically brought into class you have a sealed box preventing access. It should also have a fuse and you should bring this to the instructor’s attention so they may inspect it.