Passive Buzzer Module KY-006

SKU: FA3049
Module Model

KY-006

Buzzer Type

Passive piezoelectric buzzer (external drive)

Operating Voltage

3.3V – 5V DC

Drive Method

PWM signal (external)

Frequency Range

Approximately 300Hz – 5kHz (audible range)

Control Method

tone() function or PWM output

Pin Count

3 pins (VCC, GND, I/O)

Module Dimensions

Compact PCB with mounting holes

The KY-006 Passive Buzzer Module is a compact, versatile sound output board designed for Arduino, ESP32, Raspberry Pi, STM32, and other microcontroller projects. Unlike active buzzers that produce a fixed tone when powered, the KY-006 is a passive buzzer — it requires an external PWM (Pulse Width Modulation) signal to generate sound. This makes it far more flexible than active buzzers, allowing you to produce different frequencies, musical notes, melodies, and sound effects under software control.

At the heart of the module is a piezoelectric ceramic element (or in some variants, an electromagnetic coil) that vibrates when an AC signal is applied. By changing the frequency of the PWM signal from your microcontroller, you can produce tones across a wide audible range — typically from several hundred Hz to several kHz. This enables the KY-006 to play melodies, sirens, beeps, and complex sound sequences that are impossible with a simple active buzzer.

The module features a 3-pin interface (VCC, GND, I/O or S) for easy connection to microcontrollers. The signal pin accepts a PWM signal from your microcontroller, which drives the buzzer at the desired frequency. The compact form factor with mounting holes allows easy integration into alarm systems, musical projects, and interactive devices. The module includes onboard protection circuitry to prevent damage from excessive current.

The KY-006 operates from a 3.3V to 5V DC supply, making it compatible with both modern low-power microcontrollers and traditional 5V systems. The low power consumption makes it suitable for battery-powered sound projects. The frequency response covers the full audible range, allowing you to generate any tone your application requires.

The KY-006 is widely used in alarm systems, musical projects, doorbells with custom tones, game controllers, interactive toys, notification devices, security systems, and educational STEM projects. It is also popular in DIY electronics and maker projects where variable tones and melodies are required.

Important Note: The KY-006 is a passive buzzer — it does not produce sound when connected directly to a DC voltage. You must provide a PWM signal (or an AC signal) to generate sound. Use the Arduino tone() function or a PWM output to drive the buzzer. For simple fixed-tone applications, use an active buzzer (such as the KY-012) instead. The module is not waterproof and should be kept dry. Avoid driving the buzzer at excessive volume for extended periods, as this may cause the piezo element to overheat or degrade over time.

Whether you are building a musical instrument, a custom alarm, or an interactive sound project, the KY-006 Passive Buzzer Module provides a flexible, affordable solution for PWM-controlled sound generation. It is suitable for individual makers, students, and businesses purchasing in bulk for product development or educational programs.

Features

  • Passive buzzer with external PWM drive — Flexible tone generation from software control

  • Wide frequency range — Produces tones from several hundred Hz to several kHz

  • Melody and sound effect capable — Play music, sirens, and complex sound sequences

  • 3-pin interface — VCC, GND, I/O for easy connection

  • Wide voltage range — 3.3V to 5V DC, compatible with Arduino, ESP32, Raspberry Pi

  • Onboard protection circuitry — Prevents damage from excessive current

  • Low power consumption — Suitable for battery-powered applications

  • Compact form factor — With mounting holes for easy integration

  • Wide application range — Alarms, musical projects, doorbells, game controllers, toys

  • Cost-effective — Affordable solution for variable tone generation in volume production

Technical Specifications 

# Parameter Specification
1 Module Model KY-006
2 Buzzer Type Passive piezoelectric buzzer (external drive)
3 Operating Voltage 3.3V – 5V DC
4 Drive Method PWM signal (external)
5 Frequency Range Approximately 300Hz – 5kHz (audible range)
6 Control Method tone() function or PWM output
7 Pin Count 3 pins (VCC, GND, I/O)
8 Module Dimensions Compact PCB with mounting holes

Usage

Getting Started

  1. Connect power — Supply 3.3V or 5V DC to the VCC pin and GND to ground.

  2. Connect the signal pin — Connect the I/O pin to a PWM-capable digital output on your microcontroller (e.g., D3 or D9 on Arduino).

  3. Upload a test sketch — Use the Arduino tone() function to generate a frequency. Example: tone(BUZZER_PIN, 1000) produces a 1kHz tone.

  4. Play melodies — Define an array of frequencies and durations to play a melody or sound sequence.

  5. Implement control logic — Use the buzzer for alarms, notifications, musical output, or sound effects in your application.

Pin Connections

Module Pin Function
VCC Power (3.3V–5V)
GND Ground
I/O Signal input (PWM)

Example Arduino Code (Simple Tone)

cpp
#define BUZZER_PIN 8

void setup() {
  pinMode(BUZZER_PIN, OUTPUT);
}

void loop() {
  tone(BUZZER_PIN, 1000);  // 1kHz tone
  delay(500);
  noTone(BUZZER_PIN);
  delay(500);
}

Example Arduino Code (Simple Melody)

cpp
#define BUZZER_PIN 8

int melody[] = {262, 294, 330, 349, 392, 440, 494, 523};
int noteDurations[] = {4, 4, 4, 4, 4, 4, 4, 4};

void setup() {
  for (int i = 0; i < 8; i++) {
    int duration = 1000 / noteDurations[i];
    tone(BUZZER_PIN, melody[i], duration);
    delay(duration * 1.3);
    noTone(BUZZER_PIN);
  }
}

void loop() {
  // Melody plays once
}

Typical Applications

  • Alarm systems — Custom alarm tones and warning sounds

  • Musical projects — Play melodies, scales, and musical notes

  • Doorbells — Custom doorbell chimes and tones

  • Game controllers — Sound effects for game events

  • Interactive toys — Variable sound effects for play

  • Notification devices — Custom notification tones for events

  • Security systems — Warning sounds and alarm patterns

  • Educational STEM projects — Teaching PWM, frequency, and sound generation

Notes for Business Buyers

  • Passive buzzer — Requires PWM signal; cannot produce sound from DC voltage alone.

  • Flexible tone generation — Software controls frequency and duration for melodies and effects.

  • Simple interface — Single PWM pin controls the buzzer.

  • Suitable for bulk purchasing — Ideal for toy makers, alarm system manufacturers, and educational institutions.

Q: What is the KY-006 Passive Buzzer Module used for?

It is a passive buzzer module for PWM-driven sound generation, used in alarm systems, musical projects, doorbells, game controllers, interactive toys, and educational STEM projects.

Q: What is the difference between an active and passive buzzer?

An active buzzer (such as KY-012) has a built-in oscillator and produces a fixed tone when powered. A passive buzzer (KY-006) requires an external PWM signal and can produce different frequencies and melodies.

Q: What voltage does the module require?

It operates from 3.3V to 5V DC, making it compatible with Arduino, ESP32, Raspberry Pi, and other microcontrollers.

Q: How do I control the buzzer?

Use the Arduino tone() function or a PWM output. Example: tone(BUZZER_PIN, 1000) produces a 1kHz tone.

Q: Can I play melodies with this buzzer?

Yes. By defining an array of frequencies and durations, you can play melodies, scales, and complex sound sequences.

Q: Why does my buzzer not produce sound when connected to DC voltage?

The KY-006 is a passive buzzer and requires an AC/PWM signal to produce sound. Connecting it directly to DC voltage will not generate a tone.

Q: What is the frequency range of the buzzer?

The buzzer produces tones across the audible range, approximately 300Hz to 5kHz.

Q: Can I use this module with a Raspberry Pi?

Yes. Use the RPi.GPIO library with PWM output to drive the buzzer. Python libraries such as gpiozero also support buzzer control.

Q: Is the module waterproof?

No. The module is not waterproof and should be kept dry.

Q: Can I purchase in bulk for a product development project?

Yes. This module is suitable for both individual users and business purchasing, including toy makers, alarm system manufacturers, and educational institutions.