Wiring
To connect a piezo buzzer you just need to connect one leg of the buzzer to your board ground, and another leg to a PWM-capable or analog-out output of your board.
Here's how to wire a piezo to a Feather ESP32 V2:
- One leg of the piezo buzzer (or black wire) to board GND.
- The other leg of the piezo buzzer (or red wire) to board D14 (or any other PWM-capable output).
Page last edited March 08, 2024
Text editor powered by tinymce.