All best sellers
CooperKit Buzzer
  • CooperKit Buzzer
  • CooperKit Buzzer
  • CooperKit Buzzer
  • CooperKit Buzzer

DWM-CooperKit Buzzer

DWM14121903

Cooperkit Buzzer is connected to the digital I / O port, when the output is low, buzzer will give a long sound. If it is connected to an analog pulse width modulation (PWM) output , the buzzer can produce a variety of tones, which can be made into the speaker of electronic organ.

Volume discounts

Quantity Unit discount You Save
10 $0.50 Up to $5.00
$3.90
Tax excluded
Quantity

Description

Featrues

  • 1. Plug and play, easy to use. Compatible with the mainstream 2.54 interfaces and 4-Pin Grove interfaces in the market.
  • 2. With use of M4 standard fixed holes, compatible with M4-standard kits such as Lego and Makeblock.
  • 3. With separation circuit to prevent damages to I / O port.

 

Specifications

PCB size

33.0mm X 14.0mm X 1.6mm

Working voltage

5V DC

Operating voltage

5V DC

Compatible interfaces

2.54 3-pin interface and 4-pin Grove interface(1)

Note 1: S for digital output port, V and G for voltage at the common collector and ground respectively.

Electrical characteristics

Parameter

Min.

Typical

Max.

Unit

Working voltage

4.5

5

5.5

VDC

Digital input voltage (VCC=5V)

0

-

5

V

Working current (5V)

-

24

-

mA

Resonance frequency

2

2.5

3

kHz

 

Demo for CoX Library

void Button_Buzzer_Init(void);

void Button_Buzzer(void)
{

       
unsignedchar ucButtonRead;
        Button_Led_Init
();

       
while(1)
       
{
                ucButtonRead
= CooperKit_Button_Read();

               
if(0== ucButtonRead )
               
{
                        CooperKit_Buzzer_On
();
                       
//Delay(10);
               
}
               
else
               
{
                        CooperKit_Buzzer_Off
();
                       
//Delay(10);
               
}
       
}
}

void Button_Buzzer_Init(void)
{
       
//
       
// Before call this funciton, Configure the pin as PA1 (D0) which connect to CooperKit Button
       
// signal first.
       
//
        CooperKit_Button_Init
();

       
//
       
// Before call this funciton, Configure the pin as PA0 (D1) which connect to CooperKit Buzzer
       
// R signal first.
       
//
        CooperKit_Buzzer_Init
();
}

How to port

This demo is based on CoX M051 library, if you want to port to other CoX library, Just do the simple step below.
The Buzzer is commucate with GPIO pin, so in the CooperKit_Buzzer.h file, the port configuration group provides the gpio pin connection Macro to user for port. For example your Button signal pin is connect to GPIOA PIN2, you should modify the Macro as:

//*****************************************************************************
//
//! \addtogroup CooperKit_Buzzer_Config
//! CooperKit Buzzer configurator
//! @{
//
//*****************************************************************************
//
//! Configure the pin connection of CooperKit Buzzer
//
#define CooperKit_Buzzer_PIN     PA2

//
//! Set the effective output level of CooperKit Buzzer to sound
//
#define CooperKit_Buzzer_EFFECTIVE_LEVEL                   \
                         
0
//*****************************************************************************
//
//! @}
//
//*****************************************************************************
Product Details
DWM14121903
100 Items
Attachments
Download
You might also like

Reference: DWM14121901

DWM-Coocox Cooper kit

Cooperkit is a modular electronics platform. Each module has its own function, such as light sensing, wireless communication, etc. 

Price $69.00
More
In stock

Reference: DWM14121902

DWM-CooCox CooperKit Button

Cooperkit Button is finger-sized, which can be connected to I/O port of main board or externally disconnected to check the switch state so as to control ON/OFF of LED lamp.  

Price $2.90
More
In stock

Reference: DWM14121904

DWM-CooCox CooperKit DHT11

CooperKit DHT11 digital temperature & humidity sensor features a digital temperature & humidity sensor complex with a calibrated digital signal output. Its single-bus operation, extremely small size and low consumption enable it to be used in HVAC, automotive, weather stations, dehumidifier and other applications.

Price $7.99
More
In stock

Reference: DWM14121905

DWM-CooCox CooperKit Hall

CooperKit Hall Sensor measures the Hall Effect with A3144, the output of the Hall sensor turns on when a magnetic field (south polarity) perpendicular to the Hall sensor exceeds the BOP threshold, and it switches low and turn off when the magnetic field disappears.

Price $4.90
More
In stock
6 other products in the same category:

Reference: DWM14121904

DWM-CooCox CooperKit DHT11

CooperKit DHT11 digital temperature & humidity sensor features a digital temperature & humidity sensor complex with a calibrated digital signal output. Its single-bus operation, extremely small size and low consumption enable it to be used in HVAC, automotive, weather stations, dehumidifier and other applications.

Price $7.99
More
In stock

Reference: DWM14121902

DWM-CooCox CooperKit Button

Cooperkit Button is finger-sized, which can be connected to I/O port of main board or externally disconnected to check the switch state so as to control ON/OFF of LED lamp.  

Price $2.90
More
In stock

Reference: DWM14121905

DWM-CooCox CooperKit Hall

CooperKit Hall Sensor measures the Hall Effect with A3144, the output of the Hall sensor turns on when a magnetic field (south polarity) perpendicular to the Hall sensor exceeds the BOP threshold, and it switches low and turn off when the magnetic field disappears.

Price $4.90
More
In stock

Reference: DWM14121901

DWM-Coocox Cooper kit

Cooperkit is a modular electronics platform. Each module has its own function, such as light sensing, wireless communication, etc. 

Price $69.00
More
In stock

Reviews

Write your review

DWM-CooperKit Buzzer

Cooperkit Buzzer is connected to the digital I / O port, when the output is low, buzzer will give a long sound. If it is connected to an analog pulse width modulation (PWM) output , the buzzer can produce a variety of tones, which can be made into the speaker of electronic organ.

Write your review

Follow us on Facebook