pdf-icon

Unit Buzzer
Get one now !

SKU:U132

Description

Unit Buzzer is a passive buzzer expansion unit, driven by a 4KHz frequency signal. When powered at the rated voltage, the sound pressure level can reach 72dB within 10cm. It is characterized by its compact size, low power consumption, good sound effect, and built-in protective casing, making it suitable for various buzzer alarm scenarios.

Features

  • Drive Signal:
    • 4KHz oscillation frequency
    • Sound pressure level 72dB (at 10cm rated voltage)
    • Drive signal: 4KHz 1/2 duty square wave

Includes

  • 1 x Unit Buzzer
  • 1 x HY2.0-4P Grove connection cable (20cm)

Applications

  • Buzzer alarm/notification

Specifications

Specification Parameter
Drive Frequency 4KHz 1/2 duty square wave
Power Consumption 5V@86mA
Net Weight 3.5g
Gross Weight 8.5g
Product Size 24 x 24 x 8mm
Packaging Size 93 x 138mm

Schematics

PinMap

Unit Buzzer

HY2.0-4P Black Red Yellow White
PORT.B GND 5V Signal /

Model Size

Softwares

Arduino

#include <Arduino.h>

#define buzzer_pin 26
int freq = 4000;
int ledChannel = 0;
int resolution = 10;

void setup() {
  ledcSetup(ledChannel, freq, resolution);  //Sets the frequency and number of counts corresponding to the channel.
  ledcAttachPin(buzzer_pin, ledChannel); //Binds the specified channel to the specified I/O port for output.
  ledcWrite(ledChannel, 512);  //Output PWM.
}

void loop() {
    ledcWrite(ledChannel, 512);  //Output PWM.
    delay(3000);
    ledcWrite(ledChannel, 0);  //Output PWM.
    delay(3000);
}
Copy

UiFlow1

UiFlow2

Video

Q&A
Submit a question
Select question category*
Arduino
MicroPython
UIFlow1
UIFlow2
EzData
M5Burner
Software
Hardware
Other
Product name
Product version
Question description*
(Supports pasting screenshots.)
Attachments
Add Files
Email*
Submit
OK