Bringup
Open the editor
Behavioural mixed-signal modelKY-012 / TMB12A05buzzer_active

Active buzzer (with oscillator)

Magnetic buzzer with built-in oscillator: beeps at ~2.3 kHz as soon as + is above ~3 V (≈ 25 mA at 5 V) – digitalWrite is enough. Audible with 🔈.

+−
Schematic symbol

Key data

Category
Audio
Simulation model
Behavioural mixed-signal model
Manufacturer part number
KY-012 / TMB12A05
Reference prefix
BZ
Pins
2
Land pattern
Buzzer_12x9.5RM7.6

Simulation model

A behavioural model implements the interface of the chip (registers, protocol, timing) at its pins. The pins are connected to the analog circuit like CMOS pins.

Model
buzzer_active
Supply pins
P / N

Pins 2

PinNameUse
P+Passive pinPlus: to the supply or a GPIO (sounds while high)
N−Passive pinMinus: to GND

Parameters 1

Tone frequencyfreq
Default2300 Hz

PCB

Verified land patternBuzzer_12x9.5RM7.6

buzzer 12 mm, 7.6 mm pin spacing, + on pad 1