This provides a visual reference for wiring of the components. They aren't true to scale, this is just meant to be used as reference. This diagram was created using the Fritzing software package.
Take a moment to review the components in the circuit diagram. This illustration is meant for referencing wired connections - The length of wire, position and size of components are not exact.
We wanted a way to quickly lower the volume when playing in quiet areas, so we added a slide switch to control the speaker volume.
When we flip the slide switch off, the PyBadge switches from the oval speaker to the build in buzzer speaker!
This makes on the go gaming session a-lot more enjoyable in public areas.
Start by measuring the speaker wires so they have enough slack to work with when inserting the board into the case.
Carefully pull apart the red and black wires up to where we'll add the slide switch. Use flush diagonal cutters to trim and tin the ends of the black wire.
Trim the pins on the slide switch short to fit the walls inside the case. Cut and tin the ends of the black wires and then solder the wires on two of the the pins on the slide switch. Use any two pins that are side by side. You can remove the third pin.
Mount Slide Switch
Next we'll need to carefully position the board and slide switch into the mounting walls on the bottom right corner. Insert the slide switch into the cutout, at an angle. We can use tweezers to press fit the back of the slide switch between the three walls. Make sure to move the wires away from the stand off and then finish mounting the top half of the case.