Once the code is uploaded, it's a good idea to connect the motor and speaker to make sure they work before moving on to the final build.
In this example we are using the mini 8Ω, 1 Watt oval speaker to play audio, but the powerful Class-D amplifier on the Crickit will allow you to use most any speaker you like for this project (see this guide for a list of recommended speakers).
Speaker Wires
If your speaker has a connector at the end, cut that connector off so the ends of the wires are free to be screwed into a terminal block.
Use wire strippers to remove a small length of insulation from the end of each wire.
Making the Connections
Connect servo motor to port 2.
The lightest color servo wire (like yellow) should face outwards, the darkest color (like brown or black) should face the Circuit Playground Express.
Connect speaker to speaker port using a small screwdriver to tighten the terminal connections.
When connected to 5V power, you should see the servo, NeoPixels, and speaker come to life when the CPX is exposed to bright light.
Troubleshooting
Problem: My servo isn't moving!
Solution: Check that a 5V power supply is connected and the slide switch on CRICKIT is set to "ON". The lightest color servo wire faces the center of Crickit, the darkest faces outwards.
Problem: My servo still isn't moving!
Solution: Make sure you've updated your Circuit Playground Express with the latest special 'seesaw' version of the CPX firmware. This guide will show you how.
Page last edited March 08, 2024
Text editor powered by tinymce.