This device will generate a tone using an internal oscillator, so all that is needed is a DC voltage.
Description:
The active buzzer has a shock source inside, so it will be called as long as it is electrified. Program control is convenient. Buzzer Module for Arduino is an audio signaling device, which may be mechanical, electromechanical, or piezoelectric. Just like what you are viewing now, it is 5V DC Electronic Part Active Buzzer Module. Using top quality material, it is durable in use. What is more, an active buzzer rings out as long as it is electrified. Compared with a passive buzzer, it is a bit expensive but easier to control. Typical uses of buzzers include alarm devices, timers, and confirmation of user input such as a mouse click or keystroke.
This is a active buzzer so its easy in use. You just apply voltage to the buzzer and it makes sound. Disadvantage is that you can’t determine the frequency of the sounds, for this you need a passive buzzer.
Specifications:
- 1 module is driven by the 9012 triode
- 6 with fixed bolt holes for easy installation
- 7 small size: 3.3cm * 1.3cm PCB
- Two module interface description (3 wire system)
- 2 working voltage 3.3V-5V
- 1 VCC external 3.3V-5V voltage (directly connected to 5V microcontroller and 3.3V microcontroller).
- 2 GND outside GND
- 3 I/O external chip IO port
Arduino Program for Active Buzzer Module:
int speakerPin = 8;
void setup () {
pinMode (speakerPin, OUTPUT);
}
void loop () {
analogWrite (speakerPin, 255);
delay (50);
analogWrite (speakerPin, 0);
delay (10);
}
void setup () {
pinMode (speakerPin, OUTPUT);
}
void loop () {
analogWrite (speakerPin, 255);
delay (50);
analogWrite (speakerPin, 0);
delay (10);
}