Buzzers: active (self-oscillating) and passive piezo/magnetic
Audio· Speakers & buzzers

Buzzers: active (self-oscillating) and passive piezo/magnetic

generic released 2000 current buy budget

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.

Specs

Active3-24 V DC, ~2.3 kHz fixed
PassivePWM 1-5 kHz, 16-42 Ohm magnetic or piezo disc
Size9-12 mm
Current~20-30 mA magnetic

Prices

LaskaKit€0.22CZK 5.5active 3.3/5 V, from, incl. VAT; passive 4,60 Kč· from shop listing
AliExpress€2.1210 pcs passive 12085, 42 Ohm· from search results
AliExpress€2.5910 pcs active 12 mm, 3-24 V· from search results
  • Cents
  • Loud for size
  • Easy
  • Magnetic types need a transistor and flyback diode
  • Active ones cannot change pitch
  • Mislabelled active/passive listings

What people say mixed

Commodity part.