Circuit Diagram

The circuit for this project is quite simple, just connect the Vout pad on Circuit Playground Express (CPX) to the servo's red wire, the A1 pad to the yellow wire, and the GND pad to the brown wire. 

The alligator clip-to-male jumper wire connectors are great for connecting servo motors to CPX.

Circuit, Simplified

If you'd like to forgo the NeoPixel strip and just create a mechanical swimming fish, you can opt to connect just the servo to your Circuit Playground Express, clipping the alligator clips to pads Vout, A1, and GND.

Powering the Fish

Circuit Playground Express can use a variety of power sources, anywhere between 3V-5V is safe. These compact 400mAh lithium ion polymer batteries are excellent for powering small projects like this. 

A set of 3 AAA batteries also provides ample power, if that option is more convenient. If you're using a AAAx3 battery pack, check that the switch on the battery pack is set to "ON" when you want to power the boat.

Lithium Ion Polymer Battery Ideal For Feathers - 3.7V 400mAh

PRODUCT ID: 3898
Lithium ion polymer (also known as 'lipo' or 'lipoly') batteries are thin, light and powerful. The output ranges from 4.2V when completely charged to 3.7V. This battery...
$6.95
IN STOCK

Adafruit Micro Lipo - USB LiIon/LiPoly charger

PRODUCT ID: 1304
Oh so adorable, this is the tiniest little lipo charger, so handy you can keep it any project box! Its also easy to use. Simply plug in the gold plated contacts into any USB port and a...
$5.95
IN STOCK
This guide was first published on May 31, 2019. It was last updated on May 31, 2019. This page (Circuit Diagram) was last updated on Oct 30, 2019.