# Title: Buzz 2 Click Board™ ## Description: The Buzz 2 Click Board™ carries the CMT-8540S-SMT magnetic buzzer transducer. The buzzer's resonant frequency is 4kHz. The click is designed to run on either 3.3V or 5V power supply. How Does The Buzz 2 Click Board™ Work? The CMT-8540S-SMT magnetic buzzer is controlled by the PWM pin on the mikroBUS™ line. You can create different sound patterns using the Sound library supported in our compilers, or utilize the microcontroller internal PWM module to create the signal for the buzzer. Signal frequency determines the sound pitch, and the duty cycle determines the amplitude (sound volume). POWER SUPPLY SELECTION Onboard VCCIO SEL zero-ohm resistor (SMD jumper) is used to determine whether 5V or 3.3V power supply is used. This resistor is placed in 5V position by default. SPECIFICATIONS Type Speakers Applications The Buzz 2 Click Board™ is ideal for adding audio signalization feature to your prototype device On-board modules CMT-8540S-SMT magnetic buzzer transducer Key Features 4kHz resonant frequency Interface PWM Compatibility mikroBUS Click board size M (42.9 x 25.4 mm) Input Voltage 3.3V or 5V PINOUT DIAGRAM This table shows how the pinout on the Buzz 2 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns). Notes Pin Pin Notes NC 1 AN PWM 16 PWM PWM input NC 2 RST INT 15 NC NC 3 CS TX 14 NC NC 4 SCK RX 13 NC NC 5 MISO SCL 12 NC NC 6 MOSI SDA 11 NC Power supply +3.3V 7 3.3V 5V 10 +5V Power supply Ground GND 8 GND GND 9 GND Ground ## Product type: Click Board ## Vendor: Mikroelektronika d.o.o. ## Tags: Audio & Voice, Click Board, CUI Inc, MikroE, Speaker, Voice & Voice ## Price range: 9.8 - 9.8 GBP ## Link: https://thedebugstore.com/products/mikroe-2720-buzz-2-click-board-uk ## Compare-at price range: 14.0 - 14.0 GBP ## Options - Title: Default Title ## Collections - [New Products](https://thedebugstore.com/a/llms/collections/new-products-debug-store) - [Mikroelektronika d.o.o. (MikroE)](https://thedebugstore.com/a/llms/collections/mikroelektronika-catalogue-uk) - [Audio & Voice Click Boards™](https://thedebugstore.com/a/llms/collections/audio-voice-click-boards-catalogue) - [MikroE Click Boards™](https://thedebugstore.com/a/llms/collections/mikroe-click-boards-catalogue-uk) - [Google Shopping - invalid product](https://thedebugstore.com/a/llms/collections/google-shopping-valid-products) - [Speaker Click Boards™](https://thedebugstore.com/a/llms/collections/speaker-click-boards-catalogue) - [Click Boards™ Summer Sale](https://thedebugstore.com/a/llms/collections/inventory-sale) - [CUI Devices Support: Development Boards & Tools for Electronic Components](https://thedebugstore.com/a/llms/collections/cui-inc-device-support) - [MikroE Sale](https://thedebugstore.com/a/llms/collections/mikroe-sale) - [MIKROE Stock](https://thedebugstore.com/a/llms/collections/mikroe-products-in-stock-sale) ## Variants - Default Title, SKU: MIKROE-2720, Available: yes, Inventory: 1 ## Metafields - full_description:
The Buzz 2 Click Board™ carries the CMT-8540S-SMT magnetic buzzer transducer. The buzzer's resonant frequency is 4kHz. The click is designed to run on either 3.3V or 5V power supply.
The CMT-8540S-SMT magnetic buzzer is controlled by the PWM pin on the mikroBUS™ line.
You can create different sound patterns using the Sound library supported in our compilers, or utilize the microcontroller internal PWM module to create the signal for the buzzer. Signal frequency determines the sound pitch, and the duty cycle determines the amplitude (sound volume).
Onboard VCCIO SEL zero-ohm resistor (SMD jumper) is used to determine whether 5V or 3.3V power supply is used. This resistor is placed in 5V position by default.
| Type | Speakers |
| Applications | The Buzz 2 Click Board™ is ideal for adding audio signalization feature to your prototype device |
| On-board modules | CMT-8540S-SMT magnetic buzzer transducer |
| Key Features | 4kHz resonant frequency |
| Interface | PWM |
| Compatibility | mikroBUS |
| Click board size | M (42.9 x 25.4 mm) |
| Input Voltage | 3.3V or 5V |
This table shows how the pinout on the Buzz 2 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
| Notes | Pin | ![]() |
Pin | Notes | |||
|---|---|---|---|---|---|---|---|
| NC | 1 | AN | PWM | 16 | PWM | PWM input | |
| NC | 2 | RST | INT | 15 | NC | ||
| NC | 3 | CS | TX | 14 | NC | ||
| NC | 4 | SCK | RX | 13 | NC | ||
| NC | 5 | MISO | SCL | 12 | NC | ||
| NC | 6 | MOSI | SDA | 11 | NC | ||
| Power supply | +3.3V | 7 | 3.3V | 5V | 10 | +5V | Power supply |
| Ground | GND | 8 | GND | GND | 9 | GND | Ground |
The BUZZ 2 Click Board™ carries the CMT-8540S-SMT magnetic buzzer transducer. The buzzer's resonant frequency is 4kHz. The Click is designed to run on either 3.3V or 5V power supply. .
The CMT-8540S-SMT magnetic buzzer is controlled by the PWM pin on the mikroBUSline. .
You can create different sound patterns using the Sound library supported in our compilers, or utilize the microcontroller internal PWM module to create the signal for the buzzer. Signal frequency determines the sound pitch, and the duty cycle determines the amplitude (sound volume). .
on-board VCCIO SEL zero-ohm resistor (SMD jumper) is used to determine whether 5V or 3.3V power supply is used. This resistor is placed in 5V position by default. .
- amazon_main_image: https://www.thedebugstore.com/images/product/lg-buzz-2-front_1.jpg - amazon_other_image_1: https://www.thedebugstore.com/images/product/lg-buzz-2-back_1.jpg - amazon_other_image_2: https://www.thedebugstore.com/images/product/lg-buzz-2-click-in-use_1.jpg - amazon_other_image_3: https://www.thedebugstore.com/images/product/lg-buzz-2-click-in-use_1.jpg - amazon_browse_node: 428655031 - related_products: MIKROE-945 - mpn: MIKROE-2720 - backorder_label: If no stock shown above, check availability - badge: - widget:Code examples for the Buzz 2 Click Board™, written for MikroElektronika hardware and compilers are available on Libstock.
The following code snippet defines the notes and initializes the Sound library.
01 // notes
02 #define cS 261
03 #define dS 294
04 #define e 329
05 #define fS 349
06 #define g 391
07 #define gS 415
08 #define aHa 440
09 #define aS 455
10 #define b 466
11 #define cH 523
12 #define cSH 554
13 #define dH 587
14 #define dSH 622
15 #define eH 659
16 #define fH 698
17 #define fSH 740
18 #define gH 784
19 #define gSH 830
20 #define aH 880
21 void systemInit()
22 {
23 AD1PCFG = 0xFFFF;
24 TRISD = 0;
25 }
26 void Buzz_2_Init()
27 {
28 Sound_Init(&LATD, 0);
29 }
30 void Buzz_2_Task()
31 {
32 Sound_Play(aHa, 500);
33 Sound_Play(aHa, 500);
34 Sound_Play(aHa, 500);
35 Sound_Play(fS, 350);
36 Sound_Play(cH, 150);
37 Sound_Play(aHa, 500);
38 Sound_Play(fS, 350);
39 Sound_Play(cH, 150);
40 Sound_Play(aHa, 650);
41 delay_ms(500);
42 Sound_Play(eH, 500);
43 Sound_Play(eH, 500);
44 Sound_Play(eH, 500);
45 Sound_Play(fH, 350);
46 Sound_Play(cH, 150);
47 Sound_Play(gS, 500);
48 Sound_Play(fS, 350);
49 Sound_Play(cH, 150);
50 Sound_Play(aHa, 650);
51 }
52 void main()
53 {
54 systemInit();
55 Buzz_2_Init();
56 while( 1 )
57 {
58 Buzz_2_Task();
59 }
60 }
- attachments: [{"download_file":[{"download_file":"Buzz 2 Click Board™ Schematic"}],"download_filetype":[{"download_filetype":"pdf"}]},{"download_file":[{"download_file":"CUI Inc CMT-8540S-SMT Magnetic Buzzer Transducer Datasheet"}],"download_filetype":[{"download_filetype":"pdf"}]}]
- condition: new
- custom_product: false
- mpn: MIKROE-2720
- google_product_category: Electronics
- custom_label_0: Click Board
- device_vendor: CUI Inc.
- device_type: CMT-8540S-SMT-TR
- warranty: 12 months
- brand: MikroE
- manufacturer: Mikroelektronika d.o.o.
- brands: gid://shopify/Metaobject/56256004319
- breadcrumbs: ["gid://shopify/Collection/447955239135","gid://shopify/Collection/241680580797","gid://shopify/Collection/241544298685"]
- customhs_code: 847330
- detailed_description: {"type":"root","children":[{"type":"paragraph","children":[{"type":"text","value":"The"},{"type":"text","value":" Buzz 2 Click Board™","bold":true},{"type":"text","value":" carries the CMT-8540S-SMT magnetic buzzer transducer. The buzzer's resonant frequency is 4kHz. The click is designed to run on either 3.3V or 5V power supply."}]},{"type":"heading","level":3,"children":[{"type":"text","value":"How Does The Buzz 2 Click Board™ Work?"}]},{"type":"paragraph","children":[{"type":"text","value":"The CMT-8540S-SMT magnetic buzzer is controlled by the PWM pin on the mikroBUS™ line."}]},{"type":"paragraph","children":[{"type":"text","value":"You can create different sound patterns using the Sound library supported in our compilers, or utilize the microcontroller internal PWM module to create the signal for the buzzer. Signal frequency determines the sound pitch, and the duty cycle determines the amplitude (sound volume)."}]},{"type":"heading","level":3,"children":[{"type":"text","value":"POWER SUPPLY SELECTION"}]},{"type":"paragraph","children":[{"type":"text","value":"Onboard VCCIO SEL zero-ohm resistor (SMD jumper) is used to determine whether 5V or 3.3V power supply is used. This resistor is placed in 5V position by default."}]},{"type":"heading","level":3,"children":[{"type":"text","value":"SPECIFICATIONS"}]},{"type":"paragraph","children":[{"type":"text","value":"Type\nSpeakers\nApplications\nThe Buzz 2 Click Board™ is ideal for adding audio signalization feature to your prototype device\nOn-board modules\nCMT-8540S-SMT magnetic buzzer transducer\nKey Features\n4kHz resonant frequency\nInterface\nPWM\nCompatibility\nmikroBUS\nClick board size\nM (42.9 x 25.4 mm)\nInput Voltage\n3.3V or 5V"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"PINOUT DIAGRAM"}]},{"type":"paragraph","children":[{"type":"text","value":"This table shows how the pinout on "},{"type":"text","value":"the Buzz 2 Click Board™","bold":true},{"type":"text","value":" corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns)."}]},{"type":"paragraph","children":[{"type":"text","value":"Notes\nPin\nPin\nNotes\nNC\n1\nAN\nPWM\n16\nPWM\nPWM input\nNC\n2\nRST\nINT\n15\nNC\nNC\n3\nCS\nTX\n14\nNC\nNC\n4\nSCK\nRX\n13\nNC\nNC\n5\nMISO\nSCL\n12\nNC\nNC\n6\nMOSI\nSDA\n11\nNC\nPower supply\n+3.3V\n7\n3.3V\n5V\n10\n+5V\nPower supply\nGround\nGND\n8\nGND\nGND\n9\nGND\nGround"}]},{"type":"heading","level":3,"children":[{"type":"text","value":" "}]}]}
- summary: The Buzz 2 Click Board™ carries the CMT-8540S-SMT magnetic buzzer transducer.
The buzzer's resonant frequency is 4kHz. The Click Board™ is designed to run on either 3.3V or 5V power supply.