Prepare the Piezo

The Gemma M0 can't make any sounds on it's own, so let's connect the piezo buzzer to it so we can hear it!

Bending Legs

We'll use the two M3 screws and nuts to connect the buzzer's legs to the D0 and GND pads of the Gemma M0.

Use pliers (or your fingers) to bend the legs down, carefully, making sure not to break them off.

While the legs will bend easily to their new position, trying to move them back to their original position may be more stress than they can take.

Each leg can fit nicely into a small groove molded into the plastic case.

Make Feet

Use the pliers or the screws themselves to form small hook-like feet at the end of each leg, as shown here, so they will connect to D0 and GND. (You can check the other side of the board to see the pad names on the silkscreen.)

It doesn’t matter which leg of the buzzer goes to which pad, it is not polarized.

Thread the nuts on and tighten them, being careful that the legs don't touch any copper pads on the board other than their respective pin assignments.

OK, now that the piezo is connected, it's time to start programming the Gemma M0 in CircuitPython!

This guide was first published on Mar 13, 2018. It was last updated on Mar 13, 2018. This page (Prepare the Piezo) was last updated on Dec 02, 2019.