(SKU:RB-02S031)Buzzer module

From ALSRobot-Wki
Jump to: navigation, search
Fengmingqi.jpg

Contents

Product overview

Buzzer is an integration of electron acoustic structure, USES the dc power supply, is widely used in computers, printers, photocopiers, alarm, electronic toys, automotive electronic equipment, telephone, timer and other electronic products for voice devices. Rated active buzzer is directly connected to 5 v power supply can be continuous, this module and the Arduino extension plate combined with special sensor, able to complete simple circuit design, to "plug and play".

specification

  1. voltage:5v DC
  2. Control signal:A digital signal
  3. Plane dimension:32×20
  4. weight:5g

Method of use

Pin definition

  • S:Signal input
  • +:(VCC)
  • -:(GND)

Connection here

Fmq.jpg
S ports from the I/O port of the controller. + and - received power of + 5 v &gnd respectively.

Application of routine

Will the Arduino buzzer sound module controller number 10 interface.

sample code

int buzzPin=10 ;                     
void setup()
{  
      pinMode(buzzPin ,OUTPUT); 
}

void loop()
{
    digitalWrite(buzzPin,HIGH); 
    delay(1000);                   
    digitalWrite(buzzPin,LOW); 
    delay(1000);                 
 } 

Application effect

Download the program to the controller, can hear the buzzer alarm at a second frequency.

Products related to recommend

Buy address:[1]

Personal tools
Namespaces

Variants
Actions
Navigation
Tools