🎉
ESPBoards Store is Now Open! Find the best ESP32, ESP8266 boards & accessories

KY-012 Active Buzzer Module

KY-012 Active Buzzer Module image

View on Amazon

Overview

The KY-012 is an active piezoelectric buzzer module that emits a 2.5 kHz tone when powered. It operates within a voltage range of 3.3V to 5V and is ideal for applications requiring audible alerts.

About KY-012 Active Buzzer Module

The KY-012 Active Buzzer Module is equipped with an active piezoelectric buzzer that emits a tone at approximately 2.5 kHz when powered. Unlike passive buzzers, this module does not require an external square wave signal; it generates sound as soon as a voltage of at least 3.3V is applied to its signal pin. Operating within a voltage range of 3.3V to 5V and drawing a maximum current of 30 mA, it produces a minimum sound output of 85 dB. This makes it suitable for applications requiring audible alerts, such as alarm systems and user notifications.

Where to Buy

Get Your KY-012

KY-012 Active Buzzer Module

Starting from

1$ per unit

Amazon com
Amazon.com Ships worldwide
Amazon de
Amazon.de Ships to EU
Aliexpress
AliExpress Best value option

💡 Prices are subject to change. We earn from qualifying purchases as an Amazon Associate.

Technical Specs

KY-012 Specifications

Complete technical specification details for KY-012 Active Buzzer Module

📊 Technical Parameters

Operating Voltage 3.3V - 5V
Maximum Current 30 mA
Tone Frequency 2.5 kHz ± 300 Hz
Minimum Sound Output 85 dB
Operating Temperature -20°C to 70°C
Storage Temperature -30°C to 105°C
Dimensions 19 x 15.5 x 11 mm
Pin Configuration

KY-012 Pinout

The **KY-012** is a 3-pin active piezoelectric buzzer module:

Visual Pinout Diagram

Pinout Diagram Primary
KY-012 Active Buzzer Module pinout
3
Total Pins

Pin Types

Power
1
Communication
1
Control
1

Quick Tips

🔌

**Interface**: Digital output (simple HIGH/LOW control),🔊 **Type**: Active buzzer (built-in oscillator)

🎵

**Frequency**: Fixed 2.5 kHz tone,⚡ **Power**: 3.3V to 5V, 30mA max current

🔊

**Volume**: Minimum 85 dB output,🎯 **Applications**: Alarms, alerts, notifications, simple audio feedback

Pin Descriptions

Pin NameTypeDescriptionNotes
1 Pin (-)
Power

Ground connection

2 Pin (middle)
Control

Not connected

Leave unconnected (NC)

3 Pin (S)
Communication

Signal/power input

Apply 3.3V or 5V to activate buzzer

Connection Guide

Wiring KY-012 to ESP32

To interface the **KY-012** with an **ESP32** for simple buzzer alerts:

Visual Wiring Diagram

Wiring Diagram Recommended
KY-012 Active Buzzer Module wiring with ESP32
3
Connections

Connection Status

Required
2
Optional
1

Protocol

Digital

Pin Connections

KY-012 PinConnectionESP32 PinDescription
1 Pin (-) Required
GND

Ground

2 Pin (S) Required
GPIO15

Digital output (any GPIO)

3 Pin (middle) Optional
N/C

Not connected

💡

**Simple Control**: Just set GPIO HIGH to activate, LOW to stop

🔌

**GPIO Selection**: Any digital GPIO pin works, GPIO15 is just an example

**Voltage**: Use 3.3V GPIO output for ESP32 (sufficient for activation)

🔊

**Fixed Tone**: Cannot change frequency (use KY-006 passive buzzer for variable tones)

Help & Support

KY-012 Troubleshooting

Common issues and solutions to help you get your sensor working

Common Issues

Debugging Tips

Code Examples

KY-012 Programming Examples

Ready-to-use code examples for different platforms and frameworks

Summary

Wrapping Up KY-012

The ESP32 KY-012 Active Buzzer Module is a powerful KY-0xx module sensor that offers excellent performance and reliability. With support for multiple development platforms including Arduino, ESP-IDF, ESPHome, PlatformIO, and MicroPython, it's a versatile choice for your IoT projects.

Best Practices

For optimal performance, ensure proper wiring and follow the recommended configuration for your chosen development platform.

Safety First

Always verify power supply requirements and pin connections before powering up your project to avoid potential damage.

Ready to Start Building?

Now that you have all the information you need, it's time to integrate the KY-012 into your ESP32 project and bring your ideas to life!