For this week group assignment we should use the test equipment in your lab to observe the operation of a microcontroller circuit board. I'm using Siglent SDS 1202x-e digital oscilloscope for testing arduino uno board two led digitalwrite to digitalwriteFast comparison.
Siglent SDS 1202x-e Specifications:
#include "digitalWriteFast.h"
void setup() {
// put your setup code here, to run once:
pinMode(3,OUTPUT); // led 1 pin
pinMode(4,OUTPUT); // led 2 pin
}
void loop() {
// Test Digitalwrite on led 1
digitalWrite(3, HIGH);
digitalWrite(3, LOW);
// Test DigitalWriteFast on led 2
digitalWriteFast(4,HIGH);
digitalWriteFast(4,LOW);
}
Oscilloscope Setup:
| Device | DigitalWrite Speed | DigitalWriteFast Speed | Speed Factor |
|---|---|---|---|
| Arduino Uno | ~6000 ns | ~125 ns | ~48x faster |
| ESP32 | ~500 ns | ~50 ns | ~10x faster |
The goal this week was to design a custom development board from scratch. The board must include a microcontroller and peripherals to allow for interaction (input/output) and communication (serial/programming).
I chose KiCad 9.0 as my EDA (Electronic Design Automation) tool, because i had a little experience with Easyeda and wanted to try something new.
Before designing, I integrated the Fab Academy 2026 library to ensure all parts used are available in our lab's inventory.
Symbols: Preferences > Manage Symbol Libraries -> Added fab.kicad_sym.
Footprints: Preferences > Manage Footprint Libraries -> Added fab.pretty.
I designed a board based on the Seeed Studio XIAO ESP32C3 (or your preferred MCU from the inventory). Components Used:
To verify the circuit before fabrication, I simulated the LED trigger logic.
I also exported the netlist to LTspice to perform a more granular stress test on the power regulation, simulating the voltage drop when the ESP32 switches from Sleep to Active mode.