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).

This guide was first published on Jan 10, 2023. It was last updated on Mar 08, 2024.

This page (Wiring) was last updated on Mar 08, 2024.

Text editor powered by tinymce.