During the theory class of Week 06, we focused on the fundamentals of Electronics Design. In this session, we learned about the basic principles involved in designing electronic circuits and how to create custom electronic boards. We explored essential electronic components such as resistors, capacitors, microcontrollers, and connectors, as well as how these elements interact within a circuit.
Additionally, we were introduced to the use of electronic design software to develop schematics and convert them into PCB layouts ready for fabrication. Concepts such as component placement, routing, and electrical connections were discussed to ensure proper functionality of the circuit.
This week helped me understand the process of transforming an electronic idea into a manufacturable circuit board. It is an important step toward integrating electronics into my final project, allowing me to design and produce custom boards tailored to the specific needs of my system.
Group Assignment:
°Use the test equipment in your lab to observe the operation of a microcontroller circuit board (as a minimum, you should demonstrate the use of a logic analyzer)
° Document your work on the group work page and reflect what you learned on your individual page
individual Assignment:
° Use an EDA tool to design a development board that uses parts from the inventory to interact and communicate with an embedded microcontroller
Before starting my individual work, we organized a Zoom meeting to coordinate the group assignment related to Electronics Design. During the meeting, we discussed the objective of analyzing the electrical behavior of a microcontroller board using measurement tools available in our labs. Each member shared the equipment they had access to, such as multimeters and oscilloscopes, and the type of boards they would test. This discussion allowed us to compare methods for measuring voltage stability and verifying digital signals, helping us better understand how microcontroller boards behave electrically and how to properly analyze their performance.
During the Electronics Design week, we worked with different measurement and programming tools to evaluate and confirm the performance of our electronic board. These tools allowed us to generate and analyze electronic signals to verify that the circuit was functioning properly. Throughout the process, we observed signal waveforms, checked voltage levels, ensured there were no short circuits, and confirmed that the generated signal remained stable.
| 🔧 Tool | 📦 Model | 🛠️ How We Used It |
|---|---|---|
| 📊 Digital Oscilloscope | GW Instek GDS-1152A (150 MHz, 2-channel digital storage oscilloscope) | Visualized waveforms over time (square wave), verified voltage levels, and checked frequency stability. |
| 🔌 Digital Multimeter | PR-75 | Checked power rails (VCC/GND), confirmed the 3.3V logic level, and ruled out short circuits (continuity test). |
| 💻 Microcontroller Board | Custom PCB with Seeed Studio XIAO RP2040 | Generated a digital GPIO signal to be measured with the oscilloscope. |
| ⚡ Power Supply | USB | Powered and programmed the board. |
Before connecting the oscilloscope, we first used a digital multimeter to verify that the board was operating correctly and safely. This preliminary inspection helped us ensure that the electronic system was powered properly before measuring any signals.
After verifying that the board was operating correctly, we proceeded to connect the oscilloscope to observe the signal generated by the microcontroller.
Connection setup:
Oscilloscope configuration:
After programming the RP2040 to generate a square wave signal, we used the oscilloscope to analyze the behavior of the output signal on the GPIO pin.
These observations confirmed that the microcontroller was executing the program correctly and that the GPIO pin was switching properly between digital states.
The oscilloscope displayed a stable and clean square wave signal, which confirmed several important aspects of the system:
The PR-75 Digital Multimeter is a versatile electronic measuring tool commonly used in laboratories and electronics workshops. It allows technicians and students to verify electrical parameters such as voltage, resistance, and continuity in circuits. This tool is essential for diagnosing basic electrical issues and ensuring that circuits are safe before performing more advanced measurements.
Main Functions:
The GW Instek GDS-1152A is a professional digital oscilloscope used to visualize electrical signals over time. Unlike a multimeter, which only displays numerical values, an oscilloscope shows the full waveform of a signal, allowing engineers to analyze signal shape, voltage levels, and timing characteristics.
Main Features:
At the beginning of the experiment, obtaining a clear and stable waveform on the oscilloscope was not immediate. Several factors affected the measurement process, and we had to troubleshoot different issues before achieving a correct visualization of the signal. The following were the main difficulties we encountered and how we resolved them.
After correcting the ground connection, confirming the correct GPIO pin, and properly configuring the trigger and oscilloscope scales, we were finally able to observe a clean square wave signal ranging from approximately 0 V to 3.3 V. The waveform appeared stable and matched the timing programmed in the microcontroller, confirming that the system was operating correctly.
The most effective workflow is to first use the multimeter to verify that the board is powered correctly and that there are no short circuits. After confirming the electrical safety of the circuit, the oscilloscope can be used to observe the signal by ensuring a proper GND connection, selecting the correct voltage and time scales, and configuring the trigger. Following this sequence allows the square wave signal to be detected and stabilized quickly and reliably.
This electronic design is part of my embedded systems exploration and focuses on the development of a small interactive device using a Raspberry Pi Pico (RP2040) microcontroller. The goal of this system is to demonstrate how a microcontroller can read user input and display visual information using simple electronic components.
The device integrates three main components that work together to create a small interactive interface:
The joystick module sends analog signals corresponding to the horizontal and vertical movement of the stick. These signals are read by the Raspberry Pi Pico through its analog input pins (ADC). The microcontroller processes this information and updates the graphics displayed on the OLED screen accordingly.
For example, the joystick can control the movement of an object or cursor on the display, allowing the user to interact with the system in a simple and intuitive way.
This initial concept represents the first stage of the system design process, where the overall architecture of the device is defined. From this stage, the project can later evolve into a more complex embedded system with additional sensors, communication modules, or advanced user interfaces.
By integrating user input (joystick) with visual feedback (OLED display), this project demonstrates a fundamental principle of embedded systems: creating interactive devices where hardware and software work together to respond to user actions in real time.
This image shows the main project interface of KiCad. The project includes the schematic and PCB files used to design a custom board based on the Raspberry Pi Pico. The interface provides access to tools such as the Schematic Editor, PCB Editor, and Gerber Viewer for electronic design and fabrication.
This image shows the component selection window in KiCad where the schematic symbol for the Raspberry Pi Pico is chosen. The preview displays the pin configuration that will be used when adding the microcontroller to the circuit schematic.
TThis image shows the schematic design created in KiCad using a Raspberry Pi Pico as the main microcontroller. Two pin headers were added to allow connections for GPIO signals, 3.3V power, and GND for external devices.
The Electrical Rules Checker (ERC) tool was executed to verify the schematic. The results show no errors or warnings, confirming that the electrical connections are correctly defined.
The PCB layout was updated from the schematic. During this process, the footprints for the components were assigned and imported into the PCB editor without any errors.
The components were placed in the PCB editor. The visible lines represent airwires, which indicate the electrical connections that need to be routed on the board..
The 3D viewer was used to visualize the final PCB design. This allows verification of the component placement and the overall appearance of the board before manufacturing.
During the development of this project, one of the main difficulties was adapting to the electronic design software, since the interface and workflow were new to me. I spent time searching through the libraries to find the correct symbols and footprints for the Raspberry Pi Pico, the OLED display,and the joystick, making sure the pin configurations matched the real components.
Another challenge appeared during the PCB layout stage, where I had to carefully organize the components and route the traces correctly. I realized that the placement of the Raspberry Pi Pico, the OLED display, and the joystick is essential to achieve a clean and functional board design. This process helped me better understand how to optimize space and improve the circuit layout.
As a team, we faced several challenges while measuring the signal with the oscilloscope. At first, we could not visualize the square wave because the probe was not connected to the correct GPIO pin or test point. We also had problems with the ground reference, which caused the signal to appear noisy or unstable.
Another difficulty was configuring the oscilloscope properly. Incorrect TIME/DIV and VOLTS/DIV settings made the signal difficult to see until we adjusted the scale and time base. In addition, the trigger configuration was important, since without the correct Edge trigger the waveform moved constantly on the screen.
After verifying the ground connection, confirming the correct pin, and adjusting the trigger and scale settings, we were finally able to observe a clean and stable square wave of approximately 0–3.3V.
As a team, we learned how to safely test an electronic board before measuring signals by first checking the power connections and possible short circuits using a multimeter. After confirming that the board was working correctly, we used the oscilloscope to analyze the signal generated by the Raspberry Pi Pico, connecting the probe ground to GND and the tip to the corresponding GPIO pin.
We also learned how oscilloscope settings such as VOLTS/DIV, TIME/DIV, and the trigger configuration affect signal visualization. Through troubleshooting issues like incorrect pin selection or unstable trigger settings, we were able to obtain a clear and stable signal and understand the difference between a multimeter reading and an oscilloscope waveform.
Here are the project files available for download: