Piezo Speaker Bricklet

Note

The Piezo Speaker Bricklet is discontinued. We are selling our remaining stock. The Piezo Speaker Bricklet 2.0 is the recommended replacement.

Features

  • Creates beeps with configurable frequency of 585Hz to 7100Hz
  • Configurable beep duration
  • Morse code output supported

Description

The Piezo Speaker Bricklet can be used to extend Bricks by the possibility to generate beeps with different frequencies. The available frequency range is 585Hz to 7100Hz. A beep has a configurable length and it is possible 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 (idle), 4mA (active)
   
Frequency Range 585 - 7100Hz (configurable)
Sound Pressure 60 - 82dB/10cm (depends on frequency)
   
Dimensions (W x D x H) 25 x 30 x 13mm (0.98 x 1.18 x 0.51")
Weight 5g

Resources

Test your Piezo Speaker Bricklet

To test a Piezo Speaker 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 Speaker Bricklet to a Brick with a Bricklet Cable.

If you connect the Brick to the PC over USB, you should see a new tab named "Piezo Speaker Bricklet" in the Brick Viewer after a moment. Select this tab. If everything went as expected you can now generate beeps.

Piezo Speaker Bricklet in Brick Viewer

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

Case

A laser-cut case for the Piezo Speaker Bricklet is available.

Case for Piezo Speaker Bricklet

The assembly is easiest if you follow the following steps:

  • Screw spacers to the Bricklet,
  • screw bottom plate to bottom spacers,
  • build up side plates,
  • plug side plates into bottom plate and
  • screw top plate to top spacers.

Below you can see an exploded assembly drawing of the Piezo Speaker Bricklet case:

Exploded assembly drawing for Piezo Speaker Bricklet

Hint: There is a protective film on both sides of the plates, you have to remove it before assembly.

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
Go API Examples Installation
Java API Examples Installation
JavaScript API Examples Installation
LabVIEW API Examples Installation
Mathematica API Examples Installation
MATLAB/Octave API Examples Installation
MQTT API Examples Installation
openHAB API Examples Installation
Perl API Examples Installation
PHP API Examples Installation
Python API Examples Installation
Ruby API Examples Installation
Rust API Examples Installation
Shell API Examples Installation
Visual Basic .NET API Examples Installation
TCP/IP API    
Modbus API