Lecture 8 – Hardware Debugging
ENGR029
Spring 2024
Prof. Maggie Delano
Agenda
Hardware Debugging Tools
Tools
Multimeter
Voltage**
Resistance
Current**
Short/diode
Temp.*
Battery
Voltage is measured in:
__________________
Current is measured in:
__________________
* Different probes needed
** Probes change configuration depending on what you are measuring
Oscilloscope
Trigger level
Trigger level
Time / division
(Horizontal zoom)
Volts / division
(vertical zoom)
Cursors and
measurement
Probes
Menu
knob
Pause
Oscilloscope Modes
Oscilloscope Probes
Probe tip
1MΩ
1MΩ
5V
Probe ground
????
Oscilloscope Uses
Function generator
(Arbitrary) Function generator (AFG)
Turn on AFG, configure, then plug into “AFG out” on back w/ BNC cable
Configure w/ knobs, use 22 gage wire to connect a signal to right 3 pins, be sure ground is also connected
AFG Limitations
Debugging Exercise 1
Debugging Exercise 2
Debugging Exercise 3
INA114
GND
Vref = 2.5V
RG
5V
2.5V
AFG �(red)
Output
When I tested this setup, I found a gain to be about half of the expected gain; this is likely due to us grounding one input and is not an issue for the lab.
Debugging Exercise 3
Chip: LM324
C1 = 0.001 uF
C2 = 1 uF
C3 = 1 uF
R1 = 3.6 MΩ
R2 = 1 kΩ
R3 = 1 kΩ
R4 = 1 kΩ
R5 = 2 kΩ
R6 = 2 kΩ
square wave generator
Sallen-Key Low Pass Filter
Ignore the pin numbers; check the LM324 datasheet as we are using a different op amp