# Obsidian Sword – Steven Universe

## Overview

https://youtu.be/aZGqZ9dl0nU

Building Obsidian’s Sword from Steven Universe!

This thing was forged from foam core and has a NeoPixel LED strip making it super bright.

Customize LEDs colors and make sound effects when you swing in battle!

![makecode_hero-complete-sq.jpg](https://cdn-learn.adafruit.com/assets/assets/000/071/476/medium640/makecode_hero-complete-sq.jpg?1550612030)

It’s a bit over 3 feet (900mm) long and completely made from foam core poster boards.

We used one 20x30 inch foam core boards to create this awesome sword!

The handle, blade and components are detachable so it's easy to break down and travel with!

We used Microsoft MakeCode to animate the NeoPixel LED strip! Codeblocks makes it fun and easy to learn how to program hardware with the [Adafruit Circuit Playground Express](https://www.adafruit.com/product/3333).

&nbsp;

![makecode_hero-hold-light.jpg](https://cdn-learn.adafruit.com/assets/assets/000/071/477/medium640/makecode_hero-hold-light.jpg?1550612659)

![makecode_hero-dark-light-sq.jpg](https://cdn-learn.adafruit.com/assets/assets/000/071/478/medium640/makecode_hero-dark-light-sq.jpg?1550612875)

The NeoPixel LED strip is press fitted into the blade with wires routed through the handle.

Alligator clips makes it easy to connect to the Circuit Playground Express!

We used a inkjet printer and vinyl cutter to make the details out of card stock!

![](https://cdn-learn.adafruit.com/assets/assets/000/071/479/medium800/makecode_hero-hand.jpg?1550612935)

## Craft Parts/ Tools

To build this project, all you need are some foam core poster boards and art supplies.&nbsp;

## Prerequisite Guides

There's resources in these guides that go beyond what's covered in this tutorial. The MakeCode guide is all about setting up your Circuit Playground Express board.

The Circuit Playground Express introduction guide walks you through all of the pinouts, sensors and everything you need to know.

- [MakeCode for Circuit Playground Express](https://learn.adafruit.com/makecode)
- [Introducing Circuit Playground Express](https://learn.adafruit.com/adafruit-circuit-playground-express)
- [Using Vinyl Cutters for Projects](https://learn.adafruit.com/using-cricut-for-projects/overview)

![makecode_parts.jpg](https://cdn-learn.adafruit.com/assets/assets/000/071/481/medium640/makecode_parts.jpg?1550613259)

![makecode_foam-parts.jpg](https://cdn-learn.adafruit.com/assets/assets/000/071/483/medium640/makecode_foam-parts.jpg?1550613321)

## Parts List

This is an easy to copy + paste list of parts linked to their individual product pages.

- [Adafruit Circuit Playground Express](https://www.adafruit.com/product/3333)
- [Adafruit NeoPixel LED Strip w/ Alligator Clips](https://www.adafruit.com/product/3811)
- [Small Wire Alligator Clips](https://www.adafruit.com/product/1008)
- [3x AAA Battery Pack w/ JST connector](https://www.adafruit.com/product/727)[&nbsp;or a 2200mAh Battery](https://www.adafruit.com/product/1781)
- [2x 20x30 Foam board](https://www.goadams.com/products/readi-board-foam-board/foam-board/)
- Hobby Knife
- colored Cardstock
- glue stick
- colored markers
- [Cricut Vinyl Cutter](https://home.cricut.com/)

### Circuit Playground Express

[Circuit Playground Express](https://www.adafruit.com/product/3333)
 **Circuit Playground Express** is the next step towards a perfect introduction to electronics and programming. We've taken the original Circuit Playground Classic and made it even better! Not only did we pack even more sensors in, we also made it even easier to...

In Stock
[Buy Now](https://www.adafruit.com/product/3333)
[Related Guides to the Product](https://learn.adafruit.com/products/3333/guides)
![A Black woman's manicured hand holds a round microcontroller with lit up LEDs.](https://cdn-shop.adafruit.com/640x480/3333-05.jpg)

### 3 x AAA Battery Holder with On/Off Switch and 2-Pin JST

[3 x AAA Battery Holder with On/Off Switch and 2-Pin JST](https://www.adafruit.com/product/727)
This battery holder connects 3 AAA batteries together in series for powering all kinds of projects. We spec'd these out because the box is slim, and 3 AAA's add up to about 3.3-4.5V, a very similar range to Lithium Ion/polymer (Li-Ion) batteries and have an on-off switch. That makes...

In Stock
[Buy Now](https://www.adafruit.com/product/727)
[Related Guides to the Product](https://learn.adafruit.com/products/727/guides)
![Front angled shot of 3 x AAA battery holder with on-off switch and 2-pin JST PH connector.](https://cdn-shop.adafruit.com/640x480/727-07.jpg)

### Lithium Ion Cylindrical Battery - 3.7v 2200mAh

[Lithium Ion Cylindrical Battery - 3.7v 2200mAh](https://www.adafruit.com/product/1781)
Need a big battery for your project? This lithium-ion battery contains a 2200mAh and a protection circuit that provides over-voltage, under-voltage, and over-current protection. Yet, it is slim and easy to fit into many project cases.  
  
This cell can provide 2 **C** of...

Out of Stock
[Buy Now](https://www.adafruit.com/product/1781)
[Related Guides to the Product](https://learn.adafruit.com/products/1781/guides)
![Lithium Ion Cylindrical Battery - 3.7v 2200mAh with JST PH connector](https://cdn-shop.adafruit.com/640x480/1781-04.jpg)

### Adafruit NeoPixel LED Strip w/ Alligator Clips - 60 LED/m

[Adafruit NeoPixel LED Strip w/ Alligator Clips - 60 LED/m](https://www.adafruit.com/product/3811)
Adding glowy color to your projects has never been easier: no more soldering or stripping wires, clip 'em on and glow! This **Adafruit NeoPixel LED Strip with Alligator Clips** has **30 total LEDs** in a **"60 LED per meter" spacing** , and...

In Stock
[Buy Now](https://www.adafruit.com/product/3811)
[Related Guides to the Product](https://learn.adafruit.com/products/3811/guides)
![Adafruit NeoPixel LED 0.5 meter Strip with Alligator Clips wired to Circuit Playground, lighting up rainbow](https://cdn-shop.adafruit.com/product-videos/640x480/3811-06.jpg)

# Obsidian Sword – Steven Universe

## Circuit Diagram

![](https://cdn-learn.adafruit.com/assets/assets/000/071/485/medium800/makecode_circuit-diagram.jpg?1550614387)

## Circuit&nbsp;Diagram

This provides a visual reference for wiring of the components. They aren't true to scale, just meant to be used as reference.

## Power Pack

The 3xAAA battery pack can supply ~4.5V which is suffice to power the Circuit Playground Express. The battery plugs directs into the JST connector.&nbsp;

## NeoPixel Strip + Extension Alligator Clips

The alligator clips from the Neopixel strip connects to the pads on Circuit Playground Express. The wires on the strip will need&nbsp; extension cables to reach around the sword. We used [small Alligator clips](https://www.adafruit.com/product/1008) to join the strip to the Circuit Playground Express.

- **Red** &nbsp;connects to&nbsp; **Vout**
- **White** &nbsp;connects to&nbsp; **A0**
- **Black** &nbsp;connects to&nbsp; **GND**

![makecode_aclips-attached.jpg](https://cdn-learn.adafruit.com/assets/assets/000/071/486/medium640/makecode_aclips-attached.jpg?1550614460)

# Obsidian Sword – Steven Universe

## Code

## MakeCode for Circuit Playground Express

MakeCode is this programming editor that runs in the Google Chrome web browser. It’s has an intuitive interface that’s both block based and text editor.

It works with Adafruit's Circuit Playground Express so you can make interactive projects with the on-board sensors and components. You can drag & drop blocks to make interactive programs using lights and sounds without having to solder or learning a new syntax.

You can alternatively upload code directly to the Circuit Playground Express with WebUSB,&nbsp;[see the steps to do so here](https://learn.adafruit.com/makecode/webusb).

## Setup Circuit Playground Express for MakeCode

To get started, we'll need to head over to the&nbsp;[Adafruit MakeCode](https://makecode.adafruit.com/beta?webusb=1#editor)&nbsp;website and follow the steps below.

1. Plug in your Circuit Playground Express with a&nbsp; **USB Cable**
2. Press the&nbsp; **RESET** &nbsp;button. Green light means you're ready to MakeCode
3. Download the&nbsp; **UF2** &nbsp;file and drop it onto&nbsp; **CPLAYBOOT**.

[Edit in MakeCode](https://makecode.com/_4wuAHVaA8T1t)
## Upload and Test Code

Once you have your CPX setup with the MakeCode UF2, try testing it out by uploading the code to the board.

Click the link below to open up the program in MakeCode. Click on the pink edit icon near the top of the title to open the code.

This will create a project in MakeCode and allow you to edit, modify and upload the code to the board.

![makecode1.jpg](https://cdn-learn.adafruit.com/assets/assets/000/071/487/medium640/makecode1.jpg?1550614588)

![](https://cdn-learn.adafruit.com/assets/assets/000/071/489/medium800/makecode-txt.jpg?1550615520)

## on start block

when the CPX is turned on do the following

## set strip

setup an external neopixel strip on the **A0** pad of the circuit playground express

## set brightness&nbsp;

adjust the brightness of the LEDs on board the Circuit Playground

## strip set&nbsp; brightness&nbsp;

adjust the brightness of the NeoPixel Strip&nbsp;

## strip set all pixels to (color)

on the strip, set LEDs to Orange

## set all pixels to (color)

on the CPX, set LEDs to Purple

&nbsp;

# Obsidian Sword – Steven Universe

## Assemble

## Cut Templates

We'll start off by printing out all of our paper templates and then carefully cut out each shape using a hobby knife. Next, trace the outlines on foam board and cut each copy. We used strips of blue tape to hold the template in place.

We'll need:

(2) Blade faces

(3) Blade frames

(1) Gem connector&nbsp;&nbsp;

(2) Cross-guard (hands)

(2) paper diffuser

(1) Cardboard Tube (31.65mm diameter)

**Download the artwork below**

![makecode_foam-parts.jpg](https://cdn-learn.adafruit.com/assets/assets/000/071/490/medium640/makecode_foam-parts.jpg?1550615953)

![makecode_trace.jpg](https://cdn-learn.adafruit.com/assets/assets/000/071/491/medium640/makecode_trace.jpg?1550616231)

[obsidian.zip](https://cdn-learn.adafruit.com/assets/assets/000/071/493/original/obsidian.zip?1550617443)
## Stack Layers

Now we can stack the layers on top of each other to form the blade body and mount the NeoPixel Strip between the layers.&nbsp;

## Glue Layers

We applied hot glue to the inner edges of the backing and the two frame pieces.&nbsp;Glue the backing to the first outline piece.&nbsp;

**Do NOT glue the top center piece. We will use this as our removable cover.**

We'll want to make sure the backing isn't inserted in the outline, stack it on top then glue the inner edges.

![makecode_glue-sides.jpg](https://cdn-learn.adafruit.com/assets/assets/000/071/494/medium640/makecode_glue-sides.jpg?1550617663)

![makecode_frame-glue.jpg](https://cdn-learn.adafruit.com/assets/assets/000/071/495/medium640/makecode_frame-glue.jpg?1550617774)

## Mount NeoPixel Strip

Our LED strip rests inside the blade body by press fitting it into the groove near the tang of the blade.

Slide the wires through and then pull the LED strip so it fits the full length of the blade

## Alligator Clip Extensions&nbsp;

We'll need to add short extensions for the NeoPixel strip.

This will allow it to reach from the CPX through the handle.

![makecode_led-mount.jpg](https://cdn-learn.adafruit.com/assets/assets/000/071/496/medium640/makecode_led-mount.jpg?1550617928)

![makecode_aclips-attached.jpg](https://cdn-learn.adafruit.com/assets/assets/000/071/497/medium640/makecode_aclips-attached.jpg?1550618320)

## Attach Handle&nbsp;

&nbsp;

Bring the paper towel tube near the tang and pass the alligator extension wires through. Pass the wires through to the other end.

Now we can attach the handle by carefully sliding the tang into the paper towel tube.

![makecode_handle-attach.jpg](https://cdn-learn.adafruit.com/assets/assets/000/071/498/medium640/makecode_handle-attach.jpg?1550618476)

![makecode_handle-wire-thread.jpg](https://cdn-learn.adafruit.com/assets/assets/000/071/499/medium640/makecode_handle-wire-thread.jpg?1550618512)

## Attach Guard

Next we'll assemble the sword hilt components. Align the guard to the end of the handle and pass the NeoPixel strip wires through the bigger slit cutout on the guard.

## Battery Pack

The battery pack is inserted into the handle with its wire side facing out of the tube. Pass the battery packs wires through the same slit as the LED strip.

## Pommel Gem

The guard is attached to the handle with the help of the longer Gem cutout. Press fit the Gems steam through the center slit on the guard.&nbsp;

## Connect Circuit Playground Express&nbsp;

The Circuit Playground Express lays on top of the Gem cutout. Use the alligator clips to connect the LED strip and battery wires.

![makecode_handle-battery-insert.jpg](https://cdn-learn.adafruit.com/assets/assets/000/071/502/medium640/makecode_handle-battery-insert.jpg?1550619172)

![makecode_pummel-gem-attach.jpg](https://cdn-learn.adafruit.com/assets/assets/000/071/504/medium640/makecode_pummel-gem-attach.jpg?1550619220)

![makecode_pummel-gem-attached.jpg](https://cdn-learn.adafruit.com/assets/assets/000/071/510/medium640/makecode_pummel-gem-attached.jpg?1550619606)

![makecode_pummel-cpx-attached.jpg](https://cdn-learn.adafruit.com/assets/assets/000/071/511/medium640/makecode_pummel-cpx-attached.jpg?1550619632)

## Handle Grip pattern&nbsp;

&nbsp;

Now we can wrap the texture pattern to the handle. We used an inkjet printer to print out the pattern.&nbsp;

We used a medium stock 12x12 sized paper to fit the length of the handle.

Roll the paper around the paper towel tube and adhere with glue stick.

![makecode_handle-grip-attach.jpg](https://cdn-learn.adafruit.com/assets/assets/000/071/515/medium640/makecode_handle-grip-attach.jpg?1550622695)

![makecode_handle-grip-attached.jpg](https://cdn-learn.adafruit.com/assets/assets/000/071/516/medium640/makecode_handle-grip-attached.jpg?1550623754)

## Cross-guard

Next we'll build our cross guard. Printed the cross guard pattern on paper and trace the outline onto a piece of foam core. Cut out two cross-guards using a hobby knife.

Use a glue stick to adhere the texture graphic to the foam core cut outs.&nbsp;

## Gem

Now we can adhere the center gem on top of the cross guard.

![makecode_cross-gaurd-parts.jpg](https://cdn-learn.adafruit.com/assets/assets/000/071/517/medium640/makecode_cross-gaurd-parts.jpg?1550623828)

![makecode_cross-gaurd-gem.jpg](https://cdn-learn.adafruit.com/assets/assets/000/071/518/medium640/makecode_cross-gaurd-gem.jpg?1550624083)

## Attach Cross Guard

Almost fully fused!&nbsp;

Now we can hot glue our assembled&nbsp; cross guard to the hand.&nbsp;

**Careful not to glue the cross-guard to the blades.**

Allow the glue to dry and then apply more glue to the back sides of the cross guard.&nbsp;

![makecode_cross-gaurd-attach.jpg](https://cdn-learn.adafruit.com/assets/assets/000/071/520/medium640/makecode_cross-gaurd-attach.jpg?1550624595)

## Fusion Complete!

Once the second application of glue dries, we are ready to battle! Use the on/off slide switch on the battery to power the Circuit Playground Express. If you're using the 2200mAh lipo battery, you can simple unplug the cable from the board.

![](https://cdn-learn.adafruit.com/assets/assets/000/071/522/medium800/makecode_hero-completeB.jpg?1550624968)


## Featured Products

### Circuit Playground Express

[Circuit Playground Express](https://www.adafruit.com/product/3333)
 **Circuit Playground Express** is the next step towards a perfect introduction to electronics and programming. We've taken the original Circuit Playground Classic and made it even better! Not only did we pack even more sensors in, we also made it even easier to...

In Stock
[Buy Now](https://www.adafruit.com/product/3333)
[Related Guides to the Product](https://learn.adafruit.com/products/3333/guides)
### 3 x AAA Battery Holder with On/Off Switch and 2-Pin JST

[3 x AAA Battery Holder with On/Off Switch and 2-Pin JST](https://www.adafruit.com/product/727)
This battery holder connects 3 AAA batteries together in series for powering all kinds of projects. We spec'd these out because the box is slim, and 3 AAA's add up to about 3.3-4.5V, a very similar range to Lithium Ion/polymer (Li-Ion) batteries and have an on-off switch. That makes...

In Stock
[Buy Now](https://www.adafruit.com/product/727)
[Related Guides to the Product](https://learn.adafruit.com/products/727/guides)
### Lithium Ion Cylindrical Battery - 3.7v 2200mAh

[Lithium Ion Cylindrical Battery - 3.7v 2200mAh](https://www.adafruit.com/product/1781)
Need a big battery for your project? This lithium-ion battery contains a 2200mAh and a protection circuit that provides over-voltage, under-voltage, and over-current protection. Yet, it is slim and easy to fit into many project cases.  
  
This cell can provide 2 **C** of...

Out of Stock
[Buy Now](https://www.adafruit.com/product/1781)
[Related Guides to the Product](https://learn.adafruit.com/products/1781/guides)
### Adafruit NeoPixel LED Strip w/ Alligator Clips - 30 LEDs/meter

[Adafruit NeoPixel LED Strip w/ Alligator Clips - 30 LEDs/meter](https://www.adafruit.com/product/3812)
Adding glowy color to your projects has never been easier: no more soldering or stripping wires, clip 'em on and glow! This **Adafruit NeoPixel LED Strip with Alligator Clips** has **30 total LEDs in a "30 LED per meter" spacing** , and is 1 meter long,...

In Stock
[Buy Now](https://www.adafruit.com/product/3812)
[Related Guides to the Product](https://learn.adafruit.com/products/3812/guides)
### Small Alligator Clip Test Lead (set of 12)

[Small Alligator Clip Test Lead (set of 12)](https://www.adafruit.com/product/1008)
Connect this to that without soldering using these handy mini alligator clip test leads. 15" cables with alligator clip on each end, color coded. You get 12 pieces in 6 colors. Strong and grippy, these always come in handy! We often use these in conjunction with a multimeter so we...

Out of Stock
[Buy Now](https://www.adafruit.com/product/1008)
[Related Guides to the Product](https://learn.adafruit.com/products/1008/guides)
### Adafruit + Cartoon Network Cosplay "The Works" Kit

[Adafruit + Cartoon Network Cosplay "The Works" Kit](https://www.adafruit.com/product/4359)
Are you a super Cartoon Network fan and interested in making cosplay and Halloween projects&nbsp;with a Circuit Playground Express,&nbsp;but overwhelmed with what to buy?&nbsp;

Here's a huge kit to get started, no matter your skill level.&nbsp;This kit includes&nbsp;beautiful and...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/4359)
[Related Guides to the Product](https://learn.adafruit.com/products/4359/guides)
### Adafruit + Cartoon Network Cosplay Basics Kit

[Adafruit + Cartoon Network Cosplay Basics Kit](https://www.adafruit.com/product/4358)
Are you interested in making cosplay and Halloween projects&nbsp;with a Circuit Playground Express,&nbsp;but overwhelmed with what to buy? Better yet, do you love Cartoon Network characters and shows?

Here's a intermediary pack to get started, no matter your skill level.&nbsp;This...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/4358)
[Related Guides to the Product](https://learn.adafruit.com/products/4358/guides)

## Related Guides

- [Adafruit Circuit Playground Express](https://learn.adafruit.com/adafruit-circuit-playground-express.md)
- [Sparky the Blue Smoke Monster Automaton](https://learn.adafruit.com/sparky-automaton.md)
- [Robotic Creatures ](https://learn.adafruit.com/robotic-creatures.md)
- [Micro USB Dock for Circuit Playground](https://learn.adafruit.com/micro-usb-dock-for-circuit-playground.md)
- [LED Breath Stats Mask](https://learn.adafruit.com/led-breath-stats-mask.md)
- [Unicorn Christmas Stocking with Rainbow Lights & Sound](https://learn.adafruit.com/unicorn-christmas-stocking-with-lights-sound.md)
- [Make It Sound](https://learn.adafruit.com/make-it-sound.md)
- [Capacitive Touch Pulsing Heart](https://learn.adafruit.com/3d-printed-heart-capacitive-touch.md)
- [Mason Jar Snow Globe](https://learn.adafruit.com/snow-globe-makecode.md)
- [Combo Dial Safe with Circuit Playground Express](https://learn.adafruit.com/combo-dial-safe-with-circuit-playground-express.md)
- [Comparison and Experimentation with Flammable Gas Sensors](https://learn.adafruit.com/gas-sensor-comparison.md)
- [LEGO Head Lamp with Audio](https://learn.adafruit.com/lego-head-lamp-with-audio.md)
- [Tappy Robotic Hand](https://learn.adafruit.com/robotic-tapping-hand-with-cpx.md)
- [DIY Circuit Playground Shields](https://learn.adafruit.com/circuit-playground-shields.md)
- [Music Box with Dancing Adabot](https://learn.adafruit.com/music-box-with-circuit-python.md)
- [Fireflies with MakeCode](https://learn.adafruit.com/circuit-playground-fireflies-makecode.md)
