Buzzer deck

Buzzer deck

Play some tunes

Get audio feedback and get creative by composing and playing your own melodies.

How it works

Sometimes LED feedback isn’t enough, like when you’re flying around in a lab and living room. With the Buzzer deck  you’ll get audio feedback on system events, like low battery or charging completed. Or why not create your own melodies that will play while you’re buzzing around. If you’re tapped out on creativity there are already a few melodies pre-programmed that you can use.

Specifications

Features

  • Low profile piezo buzzer for tone and melody generation
  • Automatic detection of deck via 1-wire memory

Mechanical specifications

  • Weight: 1.8g
  • Size (WxHxD): 25x27x4mm
  • Designed for mounting above or under the Crazyflie 2.X

Electrical specification

Compatibility

See the compatibility matrix

Usage

Changing the sounds

You can change the ‘Sound parameters’ to change the tune. Also follow the buzzer deck tutorial

Development

Changing sounds in firmware

Changing the sounds requires modifications to the firmware. The code for the sounds is located in sound_cf.c.

A sequences is defined in the .notes member of the Melody struct. The notes are defined as tuples of a note (pitch) and duration. A sequence must be ended with the end marker.

The effects are defined in the effects array. Each entry takes a function to call and related parameters. To add a new melody, use the melodyplayer function for the .call member and assign your Melody struct to the .melody member.


Resources

If you have any further questions please contact support@bitcraze.io