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.

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.

Next, we'll code the Gemma M0 to play spy themes using CircuitPython.

This guide was first published on Mar 24, 2018. It was last updated on Apr 20, 2024.

This page (Building the Gemma M0 Spy Theme Player) was last updated on Mar 08, 2024.

Text editor powered by tinymce.