A Buzzer is a two terminal device which produces an audio signal. It can be mechanical, electromechanical, or piezoelectric. Typical uses of buzzers and beepers include alarm devices, timers and confirmation of user input such as a mouse click or keystroke. Elint labz has built a plug for the buzzer to make use of it in the digital controlling systems. This PCB design enables you to mount the buzzer to any position as per the user’s need and also this plug can be mounted anywhere using screws.
Specification ● Operating Voltage: 5V ● Size: 20mm x 20mm
Elint Labz (www.elintlabz.in)
Page 2 of 7
Product Manual: Buzzer Plug
Variants: None
Supported cables: 1.
4-3A
2. 3-3A
Details
Buzzer plug is a digital output device for the interfacing system. It has a piezo buzzer with the transistor driver circuit in order to activate and deactivate the buzzer with logic levels of input signal. It has a interfacing port with three pins named as G, V and D. Here G represents Ground , V represents VCC and D represents Data pin through which buzzer can be turned ON or OFF. When the Data pin (D) is made HIGH, buzzer starts to beep ( makes sound ). When D pin is made LOW, buzzer doesn’t beep ( stops making sound ).
Signal at D pin of Buzzer PLUG
Buzzer plug response
LOW
NO BEEP
HIGH
BEEP
How to interface?
Use either of the supported interfacing cables to connect this Buzzer plug to the controller board. If 4-3A cable is to be used then 3 pin end of the cable must be connected to the Buzzer plug and 4 pin end of the cable is connected to the controller board. If 3-3A cable is to be used then either end of the cable can be connected to the buzzer plug. Always make sure that the black wire of the cable connects to the G pin on both ends.
Elint Labz (www.elintlabz.in)
Page 3 of 7
Product Manual: Buzzer Plug
In the below given pictures you can see that 4-3A cable is used to connect Buzzer plug to the Pluguino Board. The data pin of the Buzzer plug is connected to the 12th GPIO pin on the controller board. By controlling the voltage at the 12th GPIO pin of the controller you can control the Buzzer.
Elint Labz (www.elintlabz.in)
Page 4 of 7
Product Manual: Buzzer Plug
Elint Labz (www.elintlabz.in)
Page 5 of 7
Product Manual: Buzzer Plug
In order to demonstrate the working of the buzzer plug, an example code is provided below. In this example, we are going to activate the buzzer for 0ne second and deactivate it for the other second that means Buzzer starts to beep for one second and turns OFF for another second.
Example Codes
Code 1: Arduino Objective: Buzzer is turned ON for 1 second & turned OFF for a second continuously. // Buzzer plug is
#define Buzzer_pin 12 connected to the 12th pin void s etup() { pinMode(Buzzer_pin , OUTPUT); output pin }
// initialize digital pin 12 as an
/* the loop function runs over and over again forever*/ void loop() { digitalWrite(Buzzer_pin, HIGH); delay(1000); digitalWrite(Buzzer_pin, LOW); delay(1000); }
// activate the buzzer // wait for a second // deactivate the buzzer // wait for a second
Output video: https://youtu.be/T93Ra96kKn0
Elint Labz (www.elintlabz.in)
Page 6 of 7
Product Manual: Buzzer Plug
Contributors List of interns & other contributors who have worked for developing this manual
Leela O V http://www.elintlabz.in/profile-1807
Pavithra Makineni
http://www.elintlabz.in/profile-1805
Elint Labz (www.elintlabz.in)
Page 7 of 7
Buzzer Plug
output pin. } /* the loop function runs over and over again forever*/ voidâ âloopâ(). {. digitalWrite(Buzzer_pin, HIGH); â// activate the buzzer delay(â1000â);. â// wait for a second. digitalWrite(Buzzer_pin, LOW); â// deactivate the buzzer delay(â1000â);. â// wait for a second. } Output video: â https://youtu.be/T93Ra96kKn0.