Output Devices
Week 10: Output Devices – LED Blink with XIAO RP2040
Assignment: Add an output device to a microcontroller board and program it to perform a function & measure the power consumption of the output device
Assignment Goals
- Add an output device (LED) to a microcontroller board I designed.
- Program it to turn on and off (blink).
- Document the process, connections, and result.
Project Overview
This week, I used a custom-fabricated PCB that i designed in earlier weeks. The PCB includes a Seeed Studio XIAO RP2040 microcontroller to control an external LED. I programmed the board using Arduino IDE to turn on and blink the LED in, demonstrating a basic output signal.
Components Used
- Custom-milled PCB with Seeed XIAO RP2040 (based on my own design)
- 5mm yellow LED
- 220Ω resistor (current-limiting)
- Jumper wires and test clips
- Arduino IDE for programming
Arduino Code
documentation
Useful links
Code Example
Hero Shot
