Raspberry Pi Pico passive buzzer driven safely by an S8050 transistor A canonical horizontal Raspberry Pi Pico drives an S8050 transistor base from GP15 through one kilohm. VBUS supplies the passive buzzer, its negative lead goes to the collector, and the emitter returns to common ground. Exact breadboard contacts and flat-face E B C orientation are shown. + + S8050 E B C Passive buzzer · S8050 transistor driver Exact breadboard placement for code/day-4/02_buzzer_test.py + 5 V · VBUS unused a b c d e CENTRE CHANNEL f g h i j + GND unused BOOTSEL VBUS VSYS GND 3V3_EN 3V3 ADC_VREF 28 AGND 27 26 RUN 22 GND 21 20 19 18 GND 17 16 0 1 GND 2 3 4 5 GND 6 7 8 9 GND 10 11 12 13 GND 14 15 5 V GND GP15 base switched − 1 kΩ Flat face toward you: E · B · C Before connecting USB ✓ The GPIO drives only the S8050 base through 1 kΩ. ✓ Buzzer + connects to VBUS / 5 V; buzzer − connects to C. ✓ S8050 emitter E and Pico GND share the bottom GND rail. ✓ One contact per visible hole; disconnect USB while wiring.
Original course artwork informed by the official Freenove passive-buzzer lesson. It matches code/day-4/02_buzzer_test.py. The labelled flat-face S8050, buzzer polarity, and common ground are explicit; every shown contact uses its own visible, exact breadboard hole.

Exact connection list

FromThroughTo
Pico GP15, physical pin 20 1 kΩ base resistor S8050 base B
Pico VBUS / 5 V, physical pin 40 top 5 V rail and passive buzzer S8050 collector C
S8050 emitter E bottom GND rail Pico GND, physical pin 13