
Active buzzers beep with DC; passive ones need a PWM tone. 12 mm magnetic types are the common PCB part.
Verdict. Passive for melodies/tones from ESP32 LEDC, active for a dumb alarm; drive magnetic types through a transistor.
| Active | 3-24 V DC, ~2.3 kHz fixed |
|---|---|
| Passive | PWM 1-5 kHz, 16-42 Ohm magnetic or piezo disc |
| Size | 9-12 mm |
| Current | ~20-30 mA magnetic |
| LaskaKit | €0.22 | CZK 5.5 | active 3.3/5 V, from, incl. VAT; passive 4,60 Kč· from shop listing |
| AliExpress | €2.12 | 10 pcs passive 12085, 42 Ohm· from search results | |
| AliExpress | €2.59 | 10 pcs active 12 mm, 3-24 V· from search results |
Commodity part.