Hardware Setup
The following table and figure describe how to connect the buzzer to the 40-pin GPIO header:
| Passive Buzzer | 40-Pin GPIO Header | |
|---|---|---|
| Pin Number | Pin Name | |
| VCC | 1 | 3.3V Power |
| GND | 6 | GND |
| I/O | 18 | GPIO51 |
The following table and figure describe how to connect the buzzer to the 40-pin GPIO header:
| Passive Buzzer | 40-Pin GPIO Header | |
|---|---|---|
| Pin Number | Pin Name | |
| VCC | 1 | 3.3V Power |
| GND | 6 | GND |
| I/O | 18 | GPIO51 |