Week 06 — Observing Microcontroller Signals
Group Assignment
The objective of this group assignment was to use the electronic test equipment available in the laboratory to observe the operation of a microcontroller circuit board. In particular, we focused on understanding how digital signals behave when the microcontroller executes a program.
To perform this analysis, we used a logic analyzer, a tool that allows us to capture and visualize digital signals generated by electronic circuits. This instrument is commonly used to analyze communication protocols and timing behavior in embedded systems.
Test Equipment and Materials
During this activity we explored some of the electronic measurement tools available in the laboratory. These tools allow us to test, debug and analyze electronic circuits.
Digital Multimeter PR-75
Type: Portable digital multimeter. The PR-75 is a general-purpose handheld digital multimeter designed for basic electrical measurement tasks in electronics and electrical work.
Main features:
- DC / AC voltage measurement up to 600V
- Resistance measurement (Ω)
- Continuity test with buzzer
- Diode test
- Current measurement (mA and 10A)
- Digital LCD display
- Manual range selector
Practical use: Verify power supply (3.3V and 5V), check continuity between traces, and rule out short circuits before taking measurements with an oscilloscope.
Digital Oscilloscope (GW Instek GDS-1152A)
Type: Two-channel digital oscilloscope (150 MHz, 2-channel model) for electronics labs. It captures and stores waveform data, letting you view, measure, and analyze electronic signals visually.
Main features:
- 2 channels (CH1 and CH2)
- Autoset function for quick signal adjustment
- VOLTS/DIV and TIME/DIV controls
- Trigger system for signal stabilization
- Waveform visualization
- Measurement of values such as voltage and frequency
Practical use: Verify signals over time, such as a square wave or a PWM signal, and test the microcontroller’s output pin, digital signal behavior, and code execution through its pins.
Materials
- XIAO ESP32-C3 Seeed Studio Mini Development Board with WiFi and BLE
- Board
- Wires
- LEDs
- Buttons
- Resistors
Test Setup
First, a microcontroller development board was programmed with a simple test code designed to generate digital signals on specific pins. These signals allow us to observe how the microcontroller interacts with the circuit and verify the correct execution of the program.
The logic analyzer probes were then connected to the selected pins of the microcontroller board in order to capture the digital signals during operation.
Signal Capture
Once the connections were established, the logic analyzer software was used to record the signals generated by the microcontroller. The captured data allows us to visualize the transitions between HIGH and LOW states over time.
This visualization makes it possible to analyze signal timing, frequency, and the sequence of digital events occurring in the circuit.
Analysis
By observing the signal patterns captured by the logic analyzer, we were able to confirm that the microcontroller was correctly executing the programmed instructions. The captured waveform shows the changes in voltage levels corresponding to the digital output signals.
This type of analysis is essential for debugging electronic circuits and verifying communication between devices such as sensors, microcontrollers, and other digital components.
Conclusion
This activity allowed us to understand how electronic signals behave inside a microcontroller circuit and how diagnostic tools such as a logic analyzer can be used to monitor and analyze these signals. Learning to use these tools is fundamental for developing and troubleshooting embedded systems.
