Unit BUZZER
SKU:U132
Description
Passive Buzzer Unit is a mini passive buzzer unit, drove by 4KHz signal, that sounds up to 72dB within 10cm distance under rating input power. With the feature of compact size, low-power consumption, awesome audio performance, and a protective housing. Applied for varied buzzer alarm scenario.
Product Features
- Drive signal:
- 4KHz oscillation frequency
- Up to 72dB (within 10cm, at rating power)
- Drive signal: 4KHz 1/2duty square wave
Include
- 1x BUZZER Unit
- 1x HY2.0-4P cable (20cm)
Applications
Specification
Specifications | Parameters |
Drive frequency | 4KHz 1/2duty square wave |
Power consumption | 5V@86mA |
Net weight | 3.5g |
Gross weight | 8.5g |
Product size | 24 * 24 * 8mm |
Packing size | 93 * 138mm |
PinMap
M5CORE - PORT B | G26 |
BUZZER | SIGNAL |
Schematic
Module Size
Example
Arduino
#include <Arduino.h>
#define buzzer_pin 26
int freq = 4000;
int ledChannel = 0;
int resolution = 10;
void setup() {
ledcSetup(ledChannel, freq, resolution);
ledcAttachPin(buzzer_pin, ledChannel);
ledcWrite(ledChannel, 512);
}
void loop() {
ledcWrite(ledChannel, 512);
delay(3000);
ledcWrite(ledChannel, 0);
delay(3000);
}
UIFlow
How to use Unit buzzer and related API instructions in the UIFlow1.0
How to use Unit buzzer and related API instructions in the UIFlow2.0
Video