Fab Academy 2025

@ Fab Lab Rwanda, Kigali

Output Devices:

Microcontroller Board Testing


Group Assignment: Team Botswana-Lesotho

For this group assignment, we used the test equipment available in our lab to observe and analyze the operation of a microcontroller circuit board. Specifically, we demonstrated the use of a multimeter and an oscilloscope to measure and visualize electrical signals on the board. This process is essential for debugging, validating, and understanding the behavior of embedded systems.

Overview of Test Equipment

Step-by-Step Process

  1. Preparing the Microcontroller Board:
    • We selected a microcontroller development board (ATmega328P-based) and ensured it was programmed with a simple firmware that toggles an LED and outputs a PWM signal.
    • The board was powered using a regulated 5V supply.
    Microcontroller board setup

    Microcontroller board prepared for testing

  2. Using the Multimeter:
    • We measured the supply voltage at the VCC and GND pins to confirm the board was receiving the correct voltage (5.00V).
    • We checked the continuity of the ground and power rails to ensure proper connections.
    • We measured the voltage at the LED pin to verify its toggling state (0V when off, ~5V when on).
    Using a multimeter

    Measuring voltage and continuity with a multimeter

  3. Using the Oscilloscope:
    • We connected the oscilloscope probe to the microcontroller's PWM output pin.
    • The oscilloscope displayed the PWM waveform, showing the frequency and duty cycle generated by the firmware.
    • We adjusted the time base and voltage scale to clearly observe the digital transitions and pulse width.
    • We also probed the LED pin to visualize the toggling signal as a square wave.
    Oscilloscope measurement

    Observing PWM signal on the oscilloscope

  4. Documenting Observations:
    • We recorded the measured voltages, continuity checks, and oscilloscope screenshots.
    • We noted the PWM frequency (e.g., 490 Hz) and duty cycle (e.g., 50%) as observed on the oscilloscope.
    Oscilloscope screenshot

    Captured PWM waveform on oscilloscope

Summary Table of Measurements

Test Point Measurement Equipment Expected Value Observed Value
VCC Voltage Multimeter 5.00V 5.01V
LED Pin (ON) Voltage Multimeter ~5V 4.98V
PWM Output Frequency Oscilloscope 490 Hz 491 Hz
PWM Output Duty Cycle Oscilloscope 50% 49.8%

Conclusion

By using both the multimeter and oscilloscope, we were able to verify the correct operation of the microcontroller board. The multimeter confirmed proper supply voltage and signal toggling, while the oscilloscope allowed us to visualize and measure the timing characteristics of the PWM output. These tools are essential for diagnosing issues, validating designs, and gaining deeper insight into embedded electronic systems.

Instructor

Contacts

  • Map
  • +250 781 187 555