This week’s group assignment consisted of learning how to use laboratory test equipment to observe and analyze the operation of a microcontroller circuit board.
As a minimum requirement, we demonstrated the use of:
The system under test was an ESP32-C3 development board powered via USB (5V) and operating at 3.3V logic level.
The objective was to understand how electrical signals behave in real hardware and to validate circuit functionality before moving into PCB design.
| Equipment | Description | Useful For |
|---|---|---|
| Regulated Power Supply | Provides stable DC voltage independent of input fluctuations. | Safely powering circuits during testing. |
| Multimeter | Measures Voltage (AC/DC), Current, Resistance, Continuity, and sometimes Capacitance. | Diagnosing circuit issues and verifying correct electrical values. |
| Oscilloscope | Displays voltage as a function of time (Voltage vs Time). | Observing waveform shape, frequency, amplitude, and signal integrity. |
| Logic Analyzer | Captures multiple digital signals simultaneously. | Analyzing digital communication and logic states. |
| Mixed Signal Oscilloscope | Combines analog and digital signal analysis. | Testing circuits with both analog and digital components. |
Ohm’s Law relates voltage, current, and resistance:
V = I × R
Where:
V = Voltage (Volts)
I = Current (Amperes)
R = Resistance (Ohms)
Derived forms:
I = V / R
R = V / I
Power is the rate at which electrical energy is consumed.
P = V × I
Alternative forms using Ohm’s Law:
P = I² × R
P = V² / R
Where:
P = Power (Watts)
ESP32-C3 GPIO = 3.3V
LED forward voltage ≈ 2.0V
Desired current = 5mA (0.005A)
R = (3.3V − 2.0V) / 0.005A
R = 260Ω
Standard value used: 220Ω
Power dissipation in resistor:
P = V × I
P = 1.3V × 0.005A
P = 0.0065W (6.5mW)
A 1/4W resistor is more than sufficient.
Purpose: Verify correct power supply levels.
Measurements performed:
Working battery → 8.9V
Dead battery → 1.2V
ESP32-C3 3.3V output → 3.2V
This confirmed proper voltage regulation.
Purpose: Confirm resistor value.
Measured value: 220Ω
Purpose: Ensure circuit connections are closed and solder joints are correct.
Beep indicates closed circuit.
Purpose: Determine actual current consumption.
Current must be measured in series.
Measured value for blinking LED circuit: 5.4 mA
Calibration was required to properly visualize the waveform.
The ESP32-C3 was programmed with a blinking LED (100 ms interval).
Probe connections:
Tip → GPIO pin
Ground clip → GND
Observed waveform:
Square wave
0V (LOW)
3.3V (HIGH)
LOW = 500 ms
HIGH = 100 ms
The waveform width changed accordingly, demonstrating duty cycle variation.
We transmitted character “K”. ASCII binary: 111101011
Oscilloscope displayed Start bit (0), Data bits, Stop bit (1).
This confirmed correct digital serial transmission.
This group assignment provided practical experience using laboratory test equipment to analyze a microcontroller system. By validating electrical parameters on the ESP32-C3 board, we reinforced fundamental concepts such as Ohm’s Law, power dissipation, signal integrity, and digital waveform behavior.
These skills are essential for the upcoming PCB design and fabrication stages, where electrical validation becomes critical before hardware deployment.
For this assignment, I designed a custom electronic system using KiCad as the Electronic Design Automation (EDA) software. The project integrates a Seeed Studio XIAO ESP32-C3 microcontroller to control two servo motors.
The workflow included:
KiCad is an open-source Electronic Design Automation (EDA) tool used to design schematics and printed circuit boards (PCBs).
It allows:
KiCad is widely used in academic and professional electronics development due to its flexibility and open-source ecosystem.
The system consists of:
The ESP32-C3 generates PWM signals to control both servos independently.
Before designing the PCB, the system was simulated using Wokwi.
Steps:
Simulation verified PWM signal generation, correct servo positioning and proper logic levels (3.3V compatible).
After validating the simulation, the firmware was developed in Arduino IDE.
Steps:
The program controls two servos using PWM signals and predefined movement sequences.
To follow Fab Academy PCB standards, the Fab library was installed.
This enables access to Fab-standard components such as resistors, capacitors, pin headers and microcontrollers.
Open KiCad and create a new project.
Step 1: Add Components
Step 2: Connect the Circuit
Step 3: Annotate
Tools → Annotate Schematic.
Step 4: Electrical Rules Check
Run ERC to detect unconnected pins, power issues and missing drivers.
Open Tools → Assign Footprints.
Save and update PCB.
Open PCB Editor.
Step 1: Define Board Outline
Use Edge.Cuts layer to draw rectangular board shape.
Step 2: Place Components
Benefits include reduced noise, better current return path and improved EMI performance.
Run DRC and inspect clearance violations, overlapping pads and unconnected nets.
Open 3D Viewer and verify component placement, connector orientation and mechanical fit.
The final PCB includes microcontroller interface for XIAO ESP32-C3, dual PWM output for servo motors, external 5V power supply, ground plane for signal stability and compact layout optimized for digital control applications.
To include documentation images, upload your image inside the directory: