The Buzzer Brick is made from a 12mm mini piezo buzzer commonly found in many Arduino starter kit.
There is no polarity on this component. One leg is connected to VCC, while the other leg is connected to GND via a low value resistor.
|12mm mini piezo buzzer||1|
|100Ω ~ 220Ω resistor||1|
|2-pin JST XH connector (male)||1|
|M2 self-tapping screw||4|
Take a piezo buzzer and solder a 220Ω resistor (any low value resistor will do) to one of the legs.
Solder the JST XH connector to the buzzer assembly (black wire to resistor).
Print out the enclosure parts on a 3D printer.
Insert the buzzer into the cut-out in the top piece, and arrange the wires in the grooves. Optionally secure the buzzer and wires with a small amount of hot glue.
Secure into the bottom piece with 4 x M2 screws.
Line up two 2x1 brickbases on a faceplate, two rows apart. Surround the brickbases with a few other bricks to assist in alignment.
Add two drops of super glue on each brickbase and mount the module. Press and hold for 60s.
The finished module: