Crowtail- Buzzer

From Elecrow
(Difference between revisions)
Jump to: navigation, search
 
(One intermediate revision by one user not shown)
Line 23: Line 23:
 
Use the Crowtail - Base Shield and connect the Crowtail - Buzzer module to the shield using a designated Crowtail Interface as shown below:
 
Use the Crowtail - Base Shield and connect the Crowtail - Buzzer module to the shield using a designated Crowtail Interface as shown below:
  
[[File:buzzercontro.jpg |600px]]
+
[[File:buzzercontro.jpg |400px]]
  
 
2.Upload the following sample sketch to make the Buzzer make a beeping noise:
 
2.Upload the following sample sketch to make the Buzzer make a beeping noise:

Latest revision as of 10:27, 13 July 2019

Contents

[edit] Description

The Crowtail-Button is a momentary push button which rebounds on its own after it is released. The button outputs a HIGH signal when pressed, and LOW when released.

Model: CT0003BU

Crowtail-Buzzer.JPG

[edit] Features

  • Easy to use piezoelectric buzzer
  • Standard 3-pin Crowtail Cables

[edit] Specifications

  • Operating Voltage: 5V
  • Sound Output: ≥85dB
  • Resonant Frequency: 2300±300Hz
  • Dimensions(mm):20.0(L)x20.0(W)x9.8(H)

[edit] Usage

Follow these simple steps to build a Crowtail circuit using the buzzer:

1.Hardware connection Use the Crowtail - Base Shield and connect the Crowtail - Buzzer module to the shield using a designated Crowtail Interface as shown below:

Buzzercontro.jpg

2.Upload the following sample sketch to make the Buzzer make a beeping noise:

#define buzzer 5 //connect Buzzer to digital pin5
void setup() {                
 // initialize the digital pin5 as an output.
 pinMode(buzzer, OUTPUT);     
}

void loop() {
 digitalWrite(buzzer, HIGH);   // set the Buzzer on
 delay(500);                  // for 500ms
 digitalWrite(buzzer, LOW);   // set the Buzzer off
 delay(500);
}

[edit] Resource

Personal tools
Namespaces

Variants
Actions
Elecrow Store
Navigation
Elecrow Products
Toolbox