Switch something a GPIO cannot
Every board you have designed so far has driven loads a microcontroller pin can handle directly: one LED, a few milliamperes. This capstone crosses that line. You will size a low-side MOSFET switch for a load well beyond a GPIO's rating, specify the two resistors beginners forget, and then build the board that carries it.
- The load is an eight-LED WS2812 strip drawing up to mA at V when all pixels are white. Confirm from Lesson 3's numbers that this is far beyond the RP2040's per-pin limit of roughly mA, so a switch is required rather than optional.
- Choose a logic-level n-channel MOSFET with specified at V. Compute the conduction loss and the voltage dropped across the switch at full load, and confirm the strip still sees adequate voltage.
- Size the gate resistor and the gate pull-down: pick a gate resistor of and compute the peak current the GPIO must deliver into a pF gate through it; pick a kΩ pull-down and compute its steady current from V (confirming it is negligible).
- Compute the switching-edge time constant from CA-5: with your values, and state roughly how long the gate takes to settle (). Compare that with a WS2812 data bit period of about µs and explain why the gate resistor cannot be made arbitrarily large.
- Open PCB Studio and build the board: Pico 2 W, the
ws2812_strip8part, and themotor_driver_header(which brings out a switched load connection). Generate the schematic and identify which nets correspond to your switch's drain, source, and gate. - Run "Generate + PCB layout" and export the Gerbers. As you look at the routed board, note which traces carry the mA load current versus the milliamperes of gate drive — on a real board those two need very different trace widths, which is a PS-track topic waiting for you.