-
Notifications
You must be signed in to change notification settings - Fork 5
Digital_Buzzer_Module_(SKU__DFR0032)
Angelo edited this page Sep 21, 2016
·
3 revisions
Here is the simplest sound making module that you can use High/Low to drive it. Just change the frequancy it buzz, you can hear different sound. It is widely used on your daily aplliance, like PC, fridgerator,phones and so on. And you also can create many interesting interactive project with this small but useful module.
Just try it!! You will find that creating electronic sound is so funny.
- Type: Digital
- Power supply: 5VDC
int buzzPin = 3; //Connect Buzzer on Digital Pin3
void setup()
{
pinMode(buzzPin, OUTPUT);
}
void loop()
{
digitalWrite(buzzPin, HIGH);
delay(1);
digitalWrite(buzzPin, LOW);
delay(1);
}
More question and cool idea, visit DFRobot Forum
shopping dfrobot商城购买链接 shopping dfrobot distributor list
category: Product Manual category: DFR Series category: Sensors category:source category:Diagram