Make
Here’s the beautiful necklace you’re going to make!
Use the materials listed and follow the construction steps to create this fashion wonder.
Materials
Materials List
- 1 Adafruit Adafruit Circuit Playground Express (https://www.adafruit.com/product/3333)
- 1 micro USB cable (not pictured, i.e. https://www.amazon.com/gp/product/B019C0BB9C)
- 1 small lipo battery (https://www.adafruit.com/product/1578) – note, these are rechargeable, so you may also want to invest in a charger for your battery too (https://www.adafruit.com/product/259)
- 4 Flora NeoPixels (https://www.adafruit.com/product/1260)
- Thin copper wire (I used 26 gauge https://www.amazon.com/gp/product/B000IJYRKW)
- Wire cutters (i.e. https://www.amazon.com/Hakko-CHP-170-Micro-Cutter/dp/B00FZPDG1K)
- Tweezers or needle nose pliers (i.e. https://www.amazon.com/SE-LF01-Professional-Quality-Needle/dp/B001BQF1AQ)
- 3 strands (40 beads each) of beads – I used 6mm glass beads
- Ribbon – to tie the ends of the necklace
- Double-sided tape – to tape on the battery pack
Note: I also use a piece of fabric on top of my working surface so that my beads don’t roll around too much.
Make your wires
- With the wire cutters, cut the following pieces of copper wire:
- (6) pieces of 7 inch (18 cm) wire - these will be used for Power (3.3V) and Ground (GND), and for the end loop of our necklace.
- (4) pieces of 3 inch (7.5 cm) wire – these will be used for the signal or the data.
Loop the wires through the pins
- Loop the ends of 4 of the long pieces of wire around the following pins on the Adafruit Circuit Playground Express. When looking at the board with the battery port at the top:
- GND on the top right (1 o’clock)
- 3.3V on the right (3 o’clock)
- VOUT on the top left (11 o’clock)
- GND on the left (9 o’clock)
- When you’re looping the ends around the pins, wrap them around securely at least twice to form a good connection. Use the pliers to pull the ends tight and twist any extra length around the wire.
- Now loop the ends of 2 of the short pieces of wire around the following pings on the Circuit Playgrounds Express:
- A1
- A6
- Use the pliers to loop the wire around the pin holes at least twice tightly to form a secure connection.
Add beads
- Thread (3) beads on the A1 and A6 wires.
- Thread (6) beads on the Ground (GND) and Power (3.3V) wires.
Note: Bend the wires so your beads don’t fall off while you’re working.
Connect the first Floras
Now, attach the wires to the Flora NeoPixels.
- First loop the end of the A6 wire to the Signal In –> pin on the Flora.
- Use the pliers to loop the wire around the pin hole at least twice tightly to form a secure connection.
- Use the wire cutters to clip off any excess wire.
- Connect the GND wire at the top right to the – pin on the top of the Flora.
- And connect the 3.3V wire at the right to the + Pin on the bottom of the Flora.
- Use the pliers to loop the wire around the pin holes at least twice tightly to form a secure connection. But do not cut the wires.
- Now loop the end of the A1 wire to the Signal In –> pin on the Flora.
- Use the pliers to loop the wire around the pin holes at least twice tightly to form a secure connection.
- Use the wire cutters to clip off any excess wire.
- Connect the VOUT wire at the top left to the + Pin on the top of the Flora.
- And connect the GND wire at the left to the – Pin on the bottom of the Flora.
- Use the pliers to loop the wire around the pin holes at least twice tightly to form a secure connection. But do not cut the wires.
Test the necklace lights
Now is a good time to test that your lights are connected correctly and working.
- Connect your Adafruit Circuit Playground Express to your computer by inserting one end of the micro USB cable into the silver port on the board, and the other end of the USB cable into your computer. Note – Be careful not to touch the wires while the Adafruit Circuit Playground Express is plugged in, and make sure your wires aren’t crossed over each other.
- If the lights don’t immediately all turn green, press and release the RESET button in the middle of the board to turn all the lights green.
- Open this program (https://makecode.com/_MtgXgUKHhX1o) in your browser, and click Edit.
- Then click on the Download button to download the code to your Adafruit Circuit Playground Express.
- Copy the
circuitplayground-NecklaceTest.uf2
file from your Downloads folder to the CPLAYBOOT drive on your computer.
You should see all your lights turn pink. If you don’t, check the connections to make sure the wires are securely looped around the pin holes. Also check that the right pins are connected.
Second Floras
- Disconnect your Adafruit Circuit Playground Express from the computer.
- Add 1 more Flora NeoPixel to each side of your necklace following the previous pattern: 3 beads for the Signal wire, and 6 beads for Ground and Power wires.
- You will need to use the last 2 short pieces of wire to connect the 2 Flora NeoPixels together via the Signal Out –> and Signal In –> pins.
- This time, use the wire cutters to cut off the excess wire from the Ground (GND) and Power (3.3V) wires as well.
Second loops
- Using the last 2 pieces of long copper wire, string each of them through the last hole on the 2 outer Flora NeoPixels.
- Loop the wire around the pin hole once just to ensure it stays in place.
- String about 10 beads on each side of the wire.
- And loop the ends of the wire around itself to form a closed circle.
- Don’t worry if there’s a section of bare wire exposed – we’ll attach the ribbon there.
Tie on the ribbons
- Cut 2 lengths of about 20 inches (50 cm) of ribbon.
- Fold ribbon in half and loop around the end of the beaded copper wire.
- Tie in a knot to ensure the ribbon won’t fall off.
Connect and attach the battery
- Attach the lipo battery cable to the battery port on the Adafruit Circuit Playground Express. Note that the battery connection does fit in one way – with the groove at the top.
- Using a piece of tape, tape down the battery cable to the back of the Adafruit Circuit Playground Express so a minimum of the battery cable is showing.
- Using a piece of double-side sticky tape, affix the lipo battery to the back of the Adafruit Circuit Playground Express, positioning it to hide the wires.
Necklace Back:
Test all lights
- To test that all 4 Flora NeoPixels are working correctly, connect your Adafruit Circuit Playground Express to your computer via the micro USB cable.
- Open back up the same NecklaceTest program you were using before in MakeCode.
- This time, change the number of pixels on each of the A1 and A6 light strips to 2 (instead of 1).
let LeftLights = light.createStrip(pins.A1, 2)
let RightLights = light.createStrip(pins.A6, 2)
light.setAll(0xff0000)
LeftLights.setAll(0xff0000)
RightLights.setAll(0xff0000)
- Click the Download button to download the program to your Adafruit Circuit Playground Express.
- All 4 Flora NeoPixel lights should be lighting up pink!
- If you don’t see all 4 NeoPixels lighting up, check the connections to make sure the wires are securely looped around the pin holes, and that the correct pins are connected.
NEXT: Start coding!