Piezo Buzzer Bricklet

Note

The Piezo Buzzer Bricklet is discontinued and is no longer sold. The Piezo Speaker Bricklet is the recommended replacement.

Features

  • Creates 1kHz beep
  • Configurable beep duration

Description

The Piezo Buzzer Bricklet ca be used to extend the features of Bricks by the capability to beep. The device can output 1kHz beeps in different lengths. It is possible to beep for a specified timespan or to transmit a Morse Code string.

A typical application is to beep on specific events (e.g. "email received").

Technical Specifications

Property Value
Buzzer PS1420P02CT
Current Consumption 1mA
   
Beep Frequency 1kHz, configurable duration
Sound Pressure 63 dB/10cm (according to datasheet)
   
Dimensions (W x D x H) 25 x 25 x 14mm (0.98 x 0.98 x 0.55")
Weight 4g

Resources

Test your Piezo Buzzer Bricklet

To test a Piezo Buzzer Bricklet you need to have Brick Daemon and Brick Viewer installed. Brick Daemon acts as a proxy between the USB interface of the Bricks and the API bindings. Brick Viewer connects to Brick Daemon. It helps to figure out basic information about the connected Bricks and Bricklets and allows to test them.

Connect the Piezo Buzzer Bricklet to a Brick with a Bricklet Cable (see picture below).

Piezo Buzzer Bricklet connected to Master Brick

If you connect the Brick to the PC over USB, you should see a new tab named "Piezo Buzzer Bricklet" in the Brick Viewer after a moment. Select this tab. If everything went as expected the Brick Viewer should look as depicted below.

Piezo Buzzer Bricklet in Brick Viewer

Generate a beep by pressing "Send Beep". You should hear a beep with the specified duration.

After this test you can go on with writing your own application. See the Programming Interface section for the API of the Piezo Buzzer Bricklet and examples in different programming languages.

Programming Interface

See Programming Interface for a detailed description.

Language API Examples Installation
C/C++ API Examples Installation
C# API Examples Installation
Delphi/Lazarus API Examples Installation
Java API Examples Installation
JavaScript API Examples Installation
LabVIEW API Examples Installation
Mathematica API Examples Installation
MATLAB/Octave API Examples Installation
Perl API Examples Installation
PHP API Examples Installation
Python API Examples Installation
Ruby API Examples Installation
Shell API Examples Installation
Visual Basic .NET API Examples Installation
TCP/IP API    
Modbus API