What you will see
Two sections. Boot: the Active Cooler goes first, the microSD with Raspberry Pi OS slides in under the board, micro HDMI goes to HDMI0, the keyboard to a USB port and the 27 W USB-C supply goes last. The status LED turns from red to green and the desktop shows up.
GPIO: you shut the Pi down, wire an LED with its 330 Ω resistor to GPIO17 (pin 11) and a button to GPIO2 (pin 3), and run a gpiozero script in Thonny. In practice mode you press the button with B and turn the Pi off or on with P. Currents come from a simple model: the assumptions are in the note.
Model note
What the lab assumes and where its numbers come from.
Data: Raspberry Pi 5 of 85 x 56 mm, 40 GPIO pins, 2 micro HDMI, 2 USB 3.0 + 2 USB 2.0, Ethernet and 5 V / 5 A power over USB-C with Power Delivery (Raspberry Pi product brief). Official 27 W supply: 5.1 V up to 5 A (DigiKey). With a 3 A supply, USB peripherals are limited to 600 mA (Getting Started with Raspberry Pi 5). Two-colour status LED: red when power is connected and when shut down, green while booting and running, blinking with microSD activity (Raspberry Pi documentation, issue 3505). Active Cooler: aluminium heatsink with a temperature-controlled fan, spring-loaded pins and pre-applied thermal pads; removing it is not recommended (raspberrypi.com); the fan turns on at 60 °C (Mouser). Power button: two quick presses shut it down from the desktop (Getting Started with Raspberry Pi 5). GPIO17 = physical pin 11, GPIO2 = pin 3, GND on 6 and 9 (raspberrypi.com/documentation/hardware; NextPCB). Code: the gpiozero 'Button controlled LED' recipe, LED(17) and Button(2). Model assumptions: red LED with a 2.0 V drop and a 330 Ω resistor on a 3.3 V GPIO: (3.3 − 2.0) / 330 ≈ 3.9 mA; sped-up boot times; generic 7" 1024 x 600 display and keyboard; simplified drawing of the Pi (button and LED positions approximate). Made by @0xKapri.
Sources
- 01Raspberry Pi 5: 85 x 56 mm, 2 micro HDMI, 2 USB 3.0, 2 USB 2.0, Ethernet, 40-pin header and 5 V / 5 A over USB-C with Power Delivery. Raspberry Pi product brief.
- 02Official 27 W supply: 5.1 V up to 5 A. DigiKey.
- 03With a 3 A supply, USB peripherals are limited to 600 mA; two presses of the power button shut the Pi down. Getting Started with Raspberry Pi 5.
- 04Two-colour status LED: red with power or shut down, green while booting, blinking with the microSD. Raspberry Pi documentation (issue 3505 on GitHub).
- 05Active Cooler: spring-loaded pins and pre-applied thermal pads, removing it is not recommended. raspberrypi.com. The fan turns on at 60 °C. Mouser.
- 06GPIO17 on pin 11, GPIO2 on pin 3, GND on 6 and 9. Raspberry Pi hardware documentation and NextPCB.
- 07'Button controlled LED' recipe and Button's default pull-up. gpiozero documentation.



