# Gemma M0 Sheikah Pendant

## Overview

https://youtu.be/7upDHs6hI3c

## NeoPixel LED Jewelry

In this guide, we'll build a _Legend of Zelda_ themed pendant. This wearable necklace features the **Sheikah** symbol and glows nicely making a _chic_ accessory. The parts are 3D printed and snap fit together. Illuminating the pendant is a NeoPixel Jewel which features&nbsp;7 smart RGB LEDs. Driving the NeoPixels is an Adafruit GEMMA M0, which runs the CircuitPython code base. So, do you want to forge one yourself? Let's get started!

## Remix, remake or whatever

If you've made it past the thumbnail, you're probably interested in _The Legend of Zelda_. But if Zelda isn't your cup o' tea, it's totally possible&nbsp;to&nbsp;re-skin and theme this as whatever you want. Maybe you want to make this as a gift for a friend who's into some other Sci-Fi / fantasy stuff. Maybe they like sports. Or maybe you're into cosplay and need a specific theme. This type of project could potentially sell at craft fairs, make a great listing on your Etsy store or just look good displayed at an art gallery.

![](https://cdn-learn.adafruit.com/assets/assets/000/044/886/medium800/3d_printing_hero-shelf.jpg?1502033352)

## Getting 3D Printed Parts

If you don't have a 3D printer laying around, you don't necessarily need to own one. There's lots of ways to obtain the 3D printed parts. The easiest is to send the 3D files to 3DHubs.com and have a local maker 3D print and ship the parts to you. Another option is to search your area for a maker/hacker space or even a library, as some of them have 3D printers now. Either way, there's lots of relatively affordable 3D printers on the market today, some even as low as $150!&nbsp;

## Project Expectations

Although this project may look easy enough to build, it does require a bit of some finesse and craftsmanship. To fit everything into a nice little package requires shortening a lipo battery cable. Rewiring lithium polymer&nbsp;batteries should only be done by confident and experienced makers. So if you're planning this to be your first time electronics project, you may want to consider a more plug and play friendly project. Just be mindful and use common sense :-)

![](https://cdn-learn.adafruit.com/assets/assets/000/044/887/medium800/3d_printing_hero-jewelry.jpg?1502034519)

## Prerequisite Guides

If your new to electronics and working with micro-controllers NeoPixel LEDs, I&nbsp;suggest you walk through the following guides to get basics of wiring and soldering. The following guides will walk you through setting up the parts and libraries.

- [Collin's Lab –&nbsp;Soldering](../../../collins-lab-soldering/learn-more?view=all)
- [NeoPixel Uber Guide](../../../adafruit-neopixel-uberguide)
- [Adafruit GEMMA M0](../../../adafruit-gemma-m0/)

![](https://cdn-learn.adafruit.com/assets/assets/000/044/859/medium800/3d_printing_parts.jpg?1501869529)

## Parts & Components

You'll need just a couple a parts to build this project. The GEMMA M0, NeoPixel Jewel and&nbsp;battery are relatively inexpensive, so you don't have to break the bank if you want to make more than one.

### Part: GEMMA M0
quantity: 1
Adafruit GEMMA M0 - Miniature wearable electronic platform
[GEMMA M0](https://www.adafruit.com/product/3501)

### Part: NeoPixel Jewel
quantity: 1
NeoPixel Jewel - 7 x 5050 RGB LED with Integrated Drivers
[NeoPixel Jewel](https://www.adafruit.com/product/2226)

### Part: JST Cable Set
quantity: 1
2-pin JST SM plug + receptacle
[JST Cable Set](https://www.adafruit.com/product/2880)

### Part: 150mAh Battery
quantity: 1
Lithium Ion Polymer Battery - 3.7v 150mAh
[150mAh Battery](https://www.adafruit.com/product/1317)

### Part: Nylon Screws/Nuts
quantity: 1
Black Nylon Screw and Stand-off Set – M2.5 Thread
[Nylon Screws/Nuts](https://www.adafruit.com/product/3299)

### Part: Kapton Tape
quantity: 1
High Temperature Polyimide Tape - 1cm wide x 33 meter roll
[Kapton Tape](https://www.adafruit.com/product/3057)

![](https://cdn-learn.adafruit.com/assets/assets/000/044/899/medium800/3d_printing_hero-makeup.jpg?1502048022)

## Cool Tools!

These things really do help make building the project smoothly. You don't need them all of them, but I recommend them.

### Part: Wire Strippers
quantity: 1
Hakko Professsional Quality 20-30 AWG Wire Strippers - CSP-30-1
[Wire Strippers](https://www.adafruit.com/product/527)

### Part: Wire Cutters
quantity: 1
Flush diagonal cutters - CHP170
[Wire Cutters](https://www.adafruit.com/product/152)

### Part: Soldering Iron
quantity: 1
Adjustable 30W 110V soldering iron - XY-258 110V
[Soldering Iron](https://www.adafruit.com/product/180)

### Part: Panavise
quantity: 1
Panavise Jr. - PV-201
[Panavise](https://www.adafruit.com/product/151)

### Part: Helping Third Hands
quantity: 1
Helping Third Hand Magnifier W/Magnifying Glass Tool - MZ101
[Helping Third Hands](https://www.adafruit.com/product/291)

### Part: 30AWG Wire
quantity: 1
Silicone Cover Stranded-Core Wire - 30AWG in Various Colors
[30AWG Wire](https://www.adafruit.com/product/2051)

### Part: Solder Wire
quantity: 1
Solder Spool - 1/4 lb SAC305 RoHS lead-free / 0.031" rosin-core - 0.25 lb / 100 g
[Solder Wire](https://www.adafruit.com/product/734)

### Part: Heat Shrink Tubing
quantity: 1
Multi-Colored Heat Shrink Pack - 3/32" + 1/8" + 3/16" Diameters
[Heat Shrink Tubing](https://www.adafruit.com/product/1649)

### Part: Mounting Putty Tack
quantity: 1
Loctite Fun-Tak Mounting Putty 2-Ounce
[Mounting Putty Tack](https://www.amazon.com/dp/B001F57ZPW/)

![](https://cdn-learn.adafruit.com/assets/assets/000/044/888/medium800/3d_printing_hero-table-full.jpg?1502034804)

![](https://cdn-learn.adafruit.com/assets/assets/000/044/898/medium800/3d_printing_hero-tiara.jpg?1502048008)

![](https://cdn-learn.adafruit.com/assets/assets/000/044/900/medium800/3d_printing_hero-table-closeup.jpg?1502048045)

# Gemma M0 Sheikah Pendant

## 3D Printing

## 3D Printed Parts

The largest part is this assembly is about ~50mm in diameter. These are fairly small parts so they should be able to fit on even the smallest of 3D printers. The parts are simple and doesn't require any support material. I suggest using standard PLA filament for these parts, as thats the most common and forgiving material.&nbsp;

## Parts Assembly

The parts are designed to either snap fit together or secured with machine screws. The pendant is composed of five layers that house the NeoPixel Jewel and feature the sheikah symbol and patterns.&nbsp;&nbsp;The cylindrical&nbsp;enclosure houses the battery and GEMMA M0.

![3d_printing_gemma-sheikah-explode.gif](https://cdn-learn.adafruit.com/assets/assets/000/044/998/medium640thumb/3d_printing_gemma-sheikah-explode.jpg?1502200987)

## 3D Printing 2-Colors

The main pedant (Sheikah symbol) and outer bezel are 3D printed in two different colors. A 3D printer with a dual extrusion toolhead isn't required to achieve these parts. Instead, we can 3D print two colors by using a special _pause option_ in our slicing software. Basically, we print the part in one color, pause the print at a specific layer, then change&nbsp;the filament, and resume printing. This "stacking" method is quite easy to achieve using slicing software like CURA and Simplify3D.

![](https://cdn-learn.adafruit.com/assets/assets/000/044/895/medium800/3d_printing_3d-parts-colors.jpg?1502044866)

## CURA 2.X Post Processing Plugin

The CURA slicing software is most commonly used, and it's free. To achieve 2-color 3D printing, you'll have to enable a (built-in) plugin. Under the top menu, goto **Extensions** \> **Post Processing** \> **Modify GCODE** \> **Add Script** \> **Pause at Height**. Follow the&nbsp;notes below for getting the various layer heights for the specific colored features.

![3d_printing_cura-pause-plugin.png](https://cdn-learn.adafruit.com/assets/assets/000/044/890/medium640/3d_printing_cura-pause-plugin.png?1502039444)

## Simplify 3D Layer Mods

In simplify 3D, there's a&nbsp;different approach. Instead of pausing in the middle of a print job, we separate the slice into two different GCODE files. In the **Process&nbsp;Settings** , under the **Advanced** tab is the **Layer Modifications** section. Here, we can set when to start and stop the print job. Follow the notes before for getting the various layer height for the specific colored features.

![3d_printing_s3d-layerMods.png](https://cdn-learn.adafruit.com/assets/assets/000/044/891/medium640/3d_printing_s3d-layerMods.png?1502039641)

## The Bezel Ring

- 0-1mm for the base using black colored filament
- 1-2mm for the curvy features using gray colored filament

## The Sheikah Pendant

- 0-3mm for the base using translucent or white filament
- 3-4mm for the sheikah symbol using black filament

## 3D Printed Beads

The bare wires felt a bit underdressed so I made some simple beads to cover them up. Using different shapes and colored filaments, I formed a pattern that&nbsp;complements the pendant. You could easily buy some beads from a local craft store or even make your own with seeds (popcorn necklace anyone?) or any material, really – They don't need to be 3D printed!&nbsp;

![3d_printing_3d-parts-b.jpg](https://cdn-learn.adafruit.com/assets/assets/000/044/892/medium640/3d_printing_3d-parts-b.jpg?1502040071)

## 3D Files and Modifications

The parts were designed in Autodesk Fusion 360. If you're interested in modifying the parts, you can download the source file. If you're using different 3D modeling software, you can save it out as a STEP, IGS, OBJ and other file formats. The STLs can be downloaded "as is" from the repo sites listed below.

[Download Fusion 360 Archive](https://a360.co/3QpuNWT)
[Download STLs from Thingiverse](https://www.thingiverse.com/thing:2472536)
[Download STLs from Pinshape](https://pinshape.com/items/37744-3d-printed-sheikah-pendant-neopixel-jewelry-with-gemma-m0)
[Download STLs from Youmagine](https://www.youmagine.com/designs/sheikah-pendant-neopixel-jewelry-with-gemma-m0)
![](https://cdn-learn.adafruit.com/assets/assets/000/044/877/medium800/3d_printing_3d-parts-a.jpg?1501944518)

## Parts for GEMMA M0

- gemma-actuator.stl
- gemma-case.stl
- gemma-cover.stl

## Parts for&nbsp;NeoPixel Jewel

- jewel-bezel.stl
- jewel-cover.stl
- jewel-mount.stl

## Parts for Sheikah Pendant

- ring-base.stl
- ring-traces.stl
- ring-merged.stl
- sheikah-stone.stl
- sheikah-stone-a.stl
- sheikah-stone-b.stl

## Case for GEMMA M0

If you're looking to use the enclosure&nbsp;to house your GEMMA M0, you can download just the case parts. The case is a sub-assembly and available as a stand-alone download.

![](https://cdn-learn.adafruit.com/assets/assets/000/044/999/medium800/3d_printing_gemma-case.jpg?1502203928)

[Download GEMMA M0 Case](http://a360.co/2ulEpKz)
# Gemma M0 Sheikah Pendant

## Circuit Diagram

![](https://cdn-learn.adafruit.com/assets/assets/000/044/889/medium800/3d_printing_circuit-dagram.png?1502037680)

## Circuit Diagram

Use the diagram above to reference the wired connections. The&nbsp;length of wires are not exact, this is just a visual representation of the circuit. The wiring in this project forms a sort of necklace. One side of the lace features a clasp. A male/female JST plug + receptacle cable is wired in between the&nbsp;GEMMA M0 and NeoPixel Jewel – This acts as&nbsp;the clasp. The JST cables are wired to the **voltage** &nbsp;and **ground** &nbsp;connections. **Data in** and a _second_ **ground** connection make the other side of the necklace.

## Wired Connections

The labeling on the pins in this diagram are a bit hard to see, so here's a list that breaks down each connection.

- &nbsp; **Vout** from GEMMA M0 to **PWR** on NeoPixel Jewel
- **GND** from GEMMA M0 to **GND** on NeoPixel Jewel
- **D2** from GEMMA M0 to **Data In** on NeoPixel Jewel
- **GND** from GEMMA M0 to **GND** on NeoPixel Jewel

# Gemma M0 Sheikah Pendant

## Code

![](https://cdn-learn.adafruit.com/assets/assets/000/044/897/medium800/3d_printing_GEMMA-M0-CircuitPython.jpg?1502047711)

## Using CircuitPython with GEMMA M0

The Adafruit GEMMA M0&nbsp;ships with CircuitPython, making this a _plug &&nbsp;play_ experience. When you plug in a microUSB cable, the board shows up as a USB storage device on your computer. In the&nbsp; **CIRCUITPY** disk drive, you'll see editable files which contain sample code and libraries. It's pretty awesome!

## Upload The Code

The Adafruit GEMMA M0 already has&nbsp;all the libraries we need to control NeoPixel LEDs. So there's **no need** to install the drivers, software&nbsp;IDE, board profiles, or libraries. Any computer that can use a&nbsp;USB drives can modify code.

In the **CIRCUITPY** root directory, open the **main.py** file in a text editing program. Copy and paste the code below into that text document. Save the file and close it. The GEMMA M0&nbsp;will automatically reboot and run the code. No upload button (say whaaat?!).

## Using TextEdit on Mac OS

If you're using this&nbsp;text editing app, I suggest you disable the&nbsp; **Spelling and Grammar** &nbsp;features to avoid "_auto-correcting_" any code. You'll want to turn this off before modifying any of the code. You can do so by right-clicking in the text&nbsp;document and unchecking the spelling & grammar options. These are normally enabled by default.

![3d_printing_textEditor-spelling-off.jpg](https://cdn-learn.adafruit.com/assets/assets/000/044/896/medium640/3d_printing_textEditor-spelling-off.jpg?1502046022)

```auto
import board
import neopixel

pixpin = board.D2
numpix = 7

pixels = neopixel.NeoPixel(pixpin, numpix, brightness=.3)

pixels[0] = (0,  50, 255)
pixels[1] = (60, 0, 0)
pixels[2] = (60, 0, 0)
pixels[3] = (60, 0, 0)
pixels[4] = (60, 0, 0)
pixels[5] = (60, 0, 0)
pixels[6] = (60, 0, 0)

pixels.write()
```

## CircuitPython NeoPixel Library

Want some more animation from the NeoPixel LEDs? There's a few demo's available that you may find more suitable for your project. Rainbow cycle pattern and color wipes sample code can be found in the [Adafruit GEMMA M0 learning guide](../../../../adafruit-gemma-m0). If you're a programmer and want to write your own code, the&nbsp;_circuitPython NeoPixel_ library documentation can be found in the [Adafruit Github Repository](https://github.com/adafruit/Adafruit_CircuitPython_NeoPixel).

## Rainbow Cycle

The infamous _rainbow cycle_ displays the NeoPixel like a vibrant rotating color wheel. The arrangement of the NeoPixels in the **NeoPixel Jewel** make&nbsp;the animation appear somewhat like the "beachball" loading curser in Mac OS.

```auto
# Gemma IO demo - NeoPixel

from digitalio import *
from board import *
import neopixel
import time

pixpin = D2
numpix = 7

led = DigitalInOut(D13)
led.direction = Direction.OUTPUT

strip = neopixel.NeoPixel(pixpin, numpix, brightness=0.3)


def wheel(pos):
    # Input a value 0 to 255 to get a color value.
    # The colours are a transition r - g - b - back to r.
    if (pos < 0):
        return [0, 0, 0]
    if (pos > 255):
        return [0, 0, 0]
    if (pos < 85):
        return [int(pos * 3), int(255 - (pos*3)), 0]
    elif (pos < 170):
        pos -= 85
        return [int(255 - pos*3), 0, int(pos*3)]
    else:
        pos -= 170
        return [0, int(pos*3), int(255 - pos*3)]

def rainbow_cycle(wait):
    for j in range(255):
        for i in range(len(strip)):
            idx = int ((i * 256 / len(strip)) + j)
            strip[i] = wheel(idx & 255)
        strip.write()
        time.sleep(wait)

while True:
    rainbow_cycle(0.001)
```

# Gemma M0 Sheikah Pendant

## JST Connectors

## Connector Clasps

These JST cables are handy for making quick connections.&nbsp;They're pretty solid and lock together nicely. The latch keeps the cable from coming apart easily. In this project, we'll use them to as a clasp for the necklace.&nbsp;

![3d_printing_jst-claps.jpg](https://cdn-learn.adafruit.com/assets/assets/000/044/952/medium640/3d_printing_jst-claps.jpg?1502069563)

## Shorten Cables

The cable set is fairy long, about 16cm long. You have the optional to use the full length of the cable, if you'd like. I'm my build, I cut them short so that I could hook up 30AWG wire, which is thinner and a bit more flexible. I measure both ends to be about&nbsp;35mm in length. Admittedly, I trimmed them down shorter near the end of the build to adjust the overall length of the necklace.

![3d_printing_jst-connectors.jpg](https://cdn-learn.adafruit.com/assets/assets/000/044/949/medium640/3d_printing_jst-connectors.jpg?1502069345)

## Prep JST Wires

Either way, you should strip the ends of the wires using wire strippers and tin the tips using a bit of solder – This will fuse all of the strands of wire preventing them from fraying. A pair of third helping hands can hold the cable steady and in place while soldering.&nbsp;

![3d_printing_jst-tinning.jpg](https://cdn-learn.adafruit.com/assets/assets/000/044/951/medium640/3d_printing_jst-tinning.jpg?1502069515)

# Gemma M0 Sheikah Pendant

## Wiring Jewel

## Measure Wires

We'll need to measure and cut some pieces of wire to form the necklace. I used four different colored [30AWG wires](https://www.adafruit.com/product/2051) to tell the connections apart. Each wire will be slightly a different length. Depending on your size&nbsp;preference, you'll need to&nbsp;come up with your lengths.&nbsp;Here's a list of the wires lengths I used in my build.

- 33cm GND&nbsp;(blue) JST&nbsp;connector & power
- 30cm GND&nbsp;NeoPixel Jewel to GEMMA M0&nbsp;(black)
- 31cm Data in NeoPixel&nbsp;Jewel to&nbsp;GEMMA M0

![3d_printing_wires-measured.jpg](https://cdn-learn.adafruit.com/assets/assets/000/044/901/medium640/3d_printing_wires-measured.jpg?1502049433)

![3d_printing_cutting-wires.jpg](https://cdn-learn.adafruit.com/assets/assets/000/044/902/medium640/3d_printing_cutting-wires.jpg?1502049678)

## Wire Stripping

A self adjusting wire stripper can speed things up. This thing can eat through a few wires at a time, which is a lot faster than having to strip each one!&nbsp;We'll want to remove only a bit of insulation from each wire. Getting ready to tin these up.

![3d_printing_wires-stripping.jpg](https://cdn-learn.adafruit.com/assets/assets/000/044/903/medium640/3d_printing_wires-stripping.jpg?1502049799)

## Tinning Wires

Adding a bit of solder to the exposed wire will fuse all those strands of wire making it easy for them to stick. A pair of third helping hands can hold up the wires and keep them steady while soldering. Be sure to clean and tin the tip of the soldering iron before use!

![3d_printing_wire-tinning.jpg](https://cdn-learn.adafruit.com/assets/assets/000/044/904/medium640/3d_printing_wire-tinning.jpg?1502049887)

## Wiring NeoPixel Jewel

The wires are soldered from the back of the PCB. First, I tinned the four pins with a bit of solder. The colors follow common wire connections, red for power, black and blue for ground and green for data. I used a panavise jr. to grip the PCB and hold&nbsp;it steady while I soldered them in.&nbsp;&nbsp;

![3d_printing_neopixel-jewel-wired.jpg](https://cdn-learn.adafruit.com/assets/assets/000/044/905/medium640/3d_printing_neopixel-jewel-wired.jpg?1502050013)

## Thread Beads

With the wires attached to the NeoPixel jewel, you can start adding beads to the wires, making two sets. One lace contains power and ground, while the other is data and the second ground. I meticulously threaded each bead through these wires. Consider the order and placement of the beads for a desired pattern.&nbsp;This is an optional step, so feel free to improvise and use your own materials.&nbsp;Perhaps&nbsp;some fabric sheathing or leather wrapping would work here?

![3d_printing_thead-beads.jpg](https://cdn-learn.adafruit.com/assets/assets/000/044/906/medium640/3d_printing_thead-beads.jpg?1502050325)

![3d_printing_beaded-wire-side.jpg](https://cdn-learn.adafruit.com/assets/assets/000/044/907/medium640/3d_printing_beaded-wire-side.jpg?1502050342)

## Power and Ground

The voltage and ground wires are wired to the male JST connector. You can follow the same polarity as shown in the photo. The wires on the connector are a single color, but one of the wires has a gray marking on the insulation. You&nbsp;can use that as an indicator to tell the connections&nbsp;apart. Don't forget to add pieces of heat shrink tubing to insulate the exposed the connections.

![3d_printing_jst-pwr-gnd.jpg](https://cdn-learn.adafruit.com/assets/assets/000/044/915/medium640/3d_printing_jst-pwr-gnd.jpg?1502064520)

![3d_printing_jst-shrink-tubing.jpg](https://cdn-learn.adafruit.com/assets/assets/000/044/916/medium640/3d_printing_jst-shrink-tubing.jpg?1502065656)

## Thread Beads (Continued)

Proceed to add beads to the second set of wires, the Data In and second ground. I follow the same pattern as the first set for consistency but you can make it asymmetrical if you'd like. The beads can slip out of the wires here, so be sure to temporarily tie them off. Next up, we'll&nbsp;hook up the wires to the Adafruit GEMMA M0.

![3d_printing_thread-beads-bwire.jpg](https://cdn-learn.adafruit.com/assets/assets/000/044/917/medium640/3d_printing_thread-beads-bwire.jpg?1502065673)

# Gemma M0 Sheikah Pendant

## Wiring Gemma

## Double Grounds

This project uses four wired connections even though we really only need three. I did this mainly for consistency so each side of the necklace is two wires. The NeoPixel Jewel features two grounds, so that&nbsp;works great here. I started by securing the GEMMA M0 to panavise jr and then attaching the ground wire. Then, I attached one end of the female JST connector to the ground ( **GND** ) pin and the other to voltage out ( **Vout** ). Be sure the polarity of the JST connectors are matching.

![3d_printing_gemma-gnd.jpg](https://cdn-learn.adafruit.com/assets/assets/000/044/924/medium640/3d_printing_gemma-gnd.jpg?1502066619)

## Voltage Out

Here&nbsp;I'm&nbsp;soldering the second wire from the JST cable&nbsp;to the voltage out pin. I made sure to tin the pins with a bit of solder, first. Notice the placement of the wires – This will make it a bit easier to lay out the&nbsp;necklace when mounting the GEMMA M0 to the enclosure.

![3d_printing_gemma-vout.jpg](https://cdn-learn.adafruit.com/assets/assets/000/044/925/medium640/3d_printing_gemma-vout.jpg?1502066697)

## NeoPixel Data&nbsp;to GEMMA M0

Lastly, we'll hook up the green data wire to pin D2 on the GEMMA M0. I ended up rewiring this so the&nbsp;connections are on are the opposite ends of each other. This allows the wires to feel more like a&nbsp;necklace. I have the GEMMA M0 secured to third helping hands so the connections can be seen more clearly.&nbsp;

![3d_printing_gemma-jewel-wired.jpg](https://cdn-learn.adafruit.com/assets/assets/000/044/927/medium640/3d_printing_gemma-jewel-wired.jpg?1502066961)

# Gemma M0 Sheikah Pendant

## Rewiring Battery

Danger: 

## Battery Cable

The battery cable is of decent length for most projects. Unfortunately, we need to cram things into&nbsp;very tight spaces. The stock cable is just too long to fit into the 3D printed case. So we'll desolder the cable from the battery, trim the wire short and&nbsp;rewire it back to the battery.&nbsp;

![3d_printing_lipo-battery.jpg](https://cdn-learn.adafruit.com/assets/assets/000/044/918/medium640/3d_printing_lipo-battery.jpg?1502065880)

## Rewiring Battery Cable

I started by carefully removing the layer of kapton tape that's over the voltage and ground pads on the battery. You can also peel back the tape if you'd like to preserve it. I added a fresh piece of [kapton tape](https://www.adafruit.com/product/3057)&nbsp;back over it but if you don't have any, go with the ladder. I&nbsp;secured the battery to my work surface using [blue mount tack](https://www.amazon.com/dp/B001F57ZPW/). Using the tip of the iron, I carefully&nbsp;heated up one pad (not both at the same time!) and slowly pulled the wire away. Then, repeated that process for the second wire. With the cable now free, I cut the wire down to 35mm in length. Strip and tin the two wires. I attached them back to the battery. Follow the **+** and **–** &nbsp;labeling on the battery for the voltage and ground connections. The cable is oriented to accommodate for the enclosure.

![3d_printing_battery-rewired.jpg](https://cdn-learn.adafruit.com/assets/assets/000/044/930/medium640/3d_printing_battery-rewired.jpg?1502067129)

## Kapton Tape

If you don't have any [kapton tape](https://www.adafruit.com/product/3057) on hand, I suggest getting some as they can be handy for future projects.&nbsp;I normally use it to insulate exposed pads on the bottom of PCBs. This helps prevent things from accidentally touching and shorting out.&nbsp;This stuff also handles high temperatures. It's used a lot in different applications like&nbsp;aircrafts, spacecrafts, and x-rays. You'll find this stuff &nbsp;in electronic manufacturing and 3D printing.

![3d_printing_kapton-tape.jpg](https://cdn-learn.adafruit.com/assets/assets/000/044/920/medium640/3d_printing_kapton-tape.jpg?1502066053)

## Seal Exposed Wire

Make sure to double check your wiring and ensure the solder joints are solid.

![3d_printing_battery-tape.jpg](https://cdn-learn.adafruit.com/assets/assets/000/044/921/medium640/3d_printing_battery-tape.jpg?1502066071)

## Connect Battery

Now we can&nbsp;plug in the battery to the GEMMA M0. Double check the polarity and make sure the connections are routing&nbsp;correctly – positive to positive, negative to negative. The GEMMA M0 has + and – symbols near the male JST connector.&nbsp;

![3d_printing_battery-connect-gemma.jpg](https://cdn-learn.adafruit.com/assets/assets/000/044/928/medium640/3d_printing_battery-connect-gemma.jpg?1502067014)

## Battery Position

The battery cable folds over and fits underneath the GEMMA M0. Notice the wires and solder pads are facing away from the PCB. The 150mAh battery is just the right size to fit under the GEMMA M0. This little package is now ready to install into the enclosure.&nbsp;

![3d_printing_battery-fold.jpg](https://cdn-learn.adafruit.com/assets/assets/000/044/929/medium640/3d_printing_battery-fold.jpg?1502067032)

# Gemma M0 Sheikah Pendant

## Assembly

## Case for GEMMA

We'll need two M2.5 or M3 (6mm long) machine screws to secure the GEMMA M0 to the 3D printed enclosure. You can use the [nylon screw set](https://www.adafruit.com/product/3299) from the shop or source your own. The nylon plastic screws are less likely to short anything out.

![3d_printing_gemma-case.jpg](https://cdn-learn.adafruit.com/assets/assets/000/044/931/medium640/3d_printing_gemma-case.jpg?1502067307)

## Install GEMMA M0

Place the GEMMA M0 and battery into the 3D printed case with the battery fitting in between the two standoffs. The microUSB port on the GEMMA M0 should be facing the cutout in the case. You'll have to adjust the PCB so the holes on the GEMMA M0 line up with the two standoffs. The case has slits on each side to accommodate for the wiring.

![3d_printing_gemma-install-case.jpg](https://cdn-learn.adafruit.com/assets/assets/000/044/932/medium640/3d_printing_gemma-install-case.jpg?1502067338)

## Secure GEMMA M0

Insert and fasten the two machine screws through the top of the GEMMA M0. Make sure the battery is not being punctured by the screw threads. You may want to hold the GEMMA M0 down and keep it steady while fastening.

![3d_printing_gemma-secure.jpg](https://cdn-learn.adafruit.com/assets/assets/000/044/933/medium640/3d_printing_gemma-secure.jpg?1502067394)

## GEMMA Cover Switch

Thoroughly inspect the GEMMA M0 and make sure it's installed correctly, with the PCB being flush with the standoffs. MicroUSB facing the cutout. Wiring neatly placed through the slits on the side. With the GEMMA M0 now installed to the case, we can get the switch extension and cover.

![3d_printing_gemma-cover-switch.jpg](https://cdn-learn.adafruit.com/assets/assets/000/044/955/medium640/3d_printing_gemma-cover-switch.jpg?1502069874)

## Install Switch Extension

This little switch extension piece fits on top of the switch actuator and basically allows access to it. It has a little hole on the bottom that fits over the on-board&nbsp;switch.&nbsp;

![3d_printing_gemma-switch-install.jpg](https://cdn-learn.adafruit.com/assets/assets/000/044/956/medium640/3d_printing_gemma-switch-install.jpg?1502069934)

## Install GEMMA Cover

With the switch extension installed, place the cover over the case and orient them so&nbsp;the holes line up with the cutouts. Firmly press down on the cover to snap it&nbsp;into the case. The JST is exposed to make this as slim as possible.&nbsp;

![3d_printing_gemma-cover-installed.jpg](https://cdn-learn.adafruit.com/assets/assets/000/044/957/medium640/3d_printing_gemma-cover-installed.jpg?1502070009)

## Mount for NeoPixel Jewel

Next up, we can work on securing the NeoPixel Jewel to the mounting plate. We'll need two more screws with accompanying hex nuts.

![3d_printing_jewel-mount.jpg](https://cdn-learn.adafruit.com/assets/assets/000/044/934/medium640/3d_printing_jewel-mount.jpg?1502067533)

## Installing NeoPixel Jewel

Slide the wires from the NeoPixel Jewel through the slit in the mounting plate.&nbsp;Make sure to follow the photo for installing this on the correct side. The wires&nbsp;placed through the center hole in the mounting plate.&nbsp;

![3d_printing_jewel-wire-mount.jpg](https://cdn-learn.adafruit.com/assets/assets/000/044/935/medium640/3d_printing_jewel-wire-mount.jpg?1502067710)

## NeoPixel Jewel Mounting Holes

Flip the mounting plate over and rotate until the mounting holes on the NeoPixel Jewel line up with the two holes in the plate. We'll secure the NeoPixel Jewel to the mounting plate with machine screws.

![3d_printing_jewel-holes.jpg](https://cdn-learn.adafruit.com/assets/assets/000/044/936/medium640/3d_printing_jewel-holes.jpg?1502067817)

## Mount Jewel

Insert and fasten the machine screws from the top of the NeoPixel Jewel while firmly holding the mounting plate&nbsp;flush with the PCB.&nbsp;

![3d_printing_jewel-screws.jpg](https://cdn-learn.adafruit.com/assets/assets/000/044/937/medium640/3d_printing_jewel-screws.jpg?1502067936)

## Secure Jewel

To keep the screws in place, we can use hex nuts to secure them in place. Flip the mounting plate back over and twist the nuts onto the screw threads.

![3d_printing_jewel-nuts.jpg](https://cdn-learn.adafruit.com/assets/assets/000/044/938/medium640/3d_printing_jewel-nuts.jpg?1502067962)

## Pendant Bezel

An additional bezel piece fits over the mounting plate and allows the pendant to fit on top. These two parts have mounting holes, so they're also secured together with machine screws.

![3d_printing_jewel-bezel.jpg](https://cdn-learn.adafruit.com/assets/assets/000/044/939/medium640/3d_printing_jewel-bezel.jpg?1502068066)

## Bezel Mounting Holes

Join the mounting plate and bezel together and rotate until the mounting holes are lined up. Follow the photos for the&nbsp;right placement / orientation.

![3d_printing_bezel-mount-holes.jpg](https://cdn-learn.adafruit.com/assets/assets/000/044/940/medium640/3d_printing_bezel-mount-holes.jpg?1502068205)

## Mount Bezel

While holding the two parts together, insert and fasten machine screws through the back of the mounting plate, going into the bezel. Fasten the screws until the screw heads are flush with the mounting plate.

![3d_printing_bezel-screws.jpg](https://cdn-learn.adafruit.com/assets/assets/000/044/941/medium640/3d_printing_bezel-screws.jpg?1502068307)

## Secured Bezel

Inspect the screws and double check to see if everything is tightly fastened. The assembly should resemble the photos, so make sure to reference them.

![3d_printing_bezel-secure.jpg](https://cdn-learn.adafruit.com/assets/assets/000/044/942/medium640/3d_printing_bezel-secure.jpg?1502068340)

## Jewel Wires

The back of the mounting plate has little&nbsp;notches cut on the sides. This is to allows the wires to fit over them.&nbsp;

![3d_printing_jewel-wire-placement.jpg](https://cdn-learn.adafruit.com/assets/assets/000/044/943/medium640/3d_printing_jewel-wire-placement.jpg?1502068458)

## Jewel Pendant Cover

This cover fits over the back of the mounting plate to hide the screws and wiring. It's not 100% necessary but it does keep&nbsp;the screws and wiring from getting caught on pieces of clothing. The cover has a lip with little notches that line up with the ones in the mounting plate. Place the cover over the mounting plate, rotate to line up the notches and firmly press down to snap the cover on.

![3d_printing_jewel-cover.jpg](https://cdn-learn.adafruit.com/assets/assets/000/044/944/medium640/3d_printing_jewel-cover.jpg?1502068546)

## Install Jewel&nbsp;Cover

The wires are placed through the little notches here. The back of the cover is pretty flat so it can attached to a number of different surfaces.

![3d_printing_jewel-cover-installed.jpg](https://cdn-learn.adafruit.com/assets/assets/000/044/945/medium640/3d_printing_jewel-cover-installed.jpg?1502068638)

## Install Sheikah Diffuser

Now we can install the Sheikah "stone" over the bezel to finish off the&nbsp;pendant. Make sure to orient the symbol so it's positioned upright with the necklace.&nbsp;

![3d_printing_pedant-install.jpg](https://cdn-learn.adafruit.com/assets/assets/000/044/946/medium640/3d_printing_pedant-install.jpg?1502068793)

## Secure Pedant

The Sheikah stone press fits into the bezel. You'll need to firmly press the two parts to connect them together.

![3d_printing_pendant-secure.jpg](https://cdn-learn.adafruit.com/assets/assets/000/044/947/medium640/3d_printing_pendant-secure.jpg?1502068932)

## Install Pendant&nbsp;Ring

The Sheikah stone has some extra thickness to accommodate for the outer ring. This piece also snap fits into place and secured with friction. The outer ring&nbsp;can be oriented&nbsp;however you like. If you find the snap fit pieces are a bit loose, you can permanently fix them in&nbsp;place with adhesives.&nbsp;

![3d_printing_pendant-bezel-secure.jpg](https://cdn-learn.adafruit.com/assets/assets/000/044/948/medium640/3d_printing_pendant-bezel-secure.jpg?1502069007)

# Gemma M0 Sheikah Pendant

## Wear It

## Connecting Lace

Try out the plugging JST connectors together&nbsp;and see if the the wire lengths are to your liking. You can always rewire them if you find it difficult to connect them. I found it much easier to connect these than&nbsp;regular metal claps like the ones found on traditional necklaces.&nbsp;

![3d_printing_jst-connecting.jpg](https://cdn-learn.adafruit.com/assets/assets/000/044/954/medium640/3d_printing_jst-connecting.jpg?1502069739)

## Final Adjustments

It's important to try it on, wear it and see how it feels. Is the pendant lopsided? Does it hang too low? With&nbsp;the main assembly setup, you can go back and trim the wires to fit your desired length.

![3d_printing_final-test.jpg](https://cdn-learn.adafruit.com/assets/assets/000/044/958/medium640/3d_printing_final-test.jpg?1502070082)

# Gemma M0 Sheikah Pendant

## Battery Recharging

## How To Recharge Battery

The 150mAh lithium ion polymer battery can be recharged using an [Adafruit Micro Lipo USB charger](https://www.adafruit.com/product/1304). Power off the GEMMA M0 before disconnecting the battery. Always grasp and pull&nbsp;the cable from the connector end. Never yank away from the battery.&nbsp;&nbsp;

You can connect the charger to your computers USB hub or use a [5V power supply](https://www.adafruit.com/product/501) to recharge the battery.

### Adafruit Micro Lipo - USB LiIon/LiPoly charger

[Adafruit Micro Lipo - USB LiIon/LiPoly charger](https://www.adafruit.com/product/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 3.7V/4.2V lithium polymer or lithium ion rechargeable battery into the JST plug on the other end. There are...

In Stock
[Buy Now](https://www.adafruit.com/product/1304)
[Related Guides to the Product](https://learn.adafruit.com/products/1304/guides)
![Top view of Adafruit Micro Lipo - USB LiIon/LiPoly charger - v1 above a 2-pin JST cable.](https://cdn-shop.adafruit.com/640x480/1304-06.jpg)


## Featured Products

### Adafruit GEMMA M0 - Miniature wearable electronic platform

[Adafruit GEMMA M0 - Miniature wearable electronic platform](https://www.adafruit.com/product/3501)
The **Adafruit Gemma M0** is a super small microcontroller board, with just enough built-in to create many simple projects. It may look small and cute: round, about the size of a quarter, with friendly alligator-clip sew pads. But do not be fooled! The Gemma M0 is incredibly...

In Stock
[Buy Now](https://www.adafruit.com/product/3501)
[Related Guides to the Product](https://learn.adafruit.com/products/3501/guides)
### NeoPixel Jewel - 7 x 5050 RGB LED with Integrated Drivers

[NeoPixel Jewel - 7 x 5050 RGB LED with Integrated Drivers](https://www.adafruit.com/product/2226)
Be the belle of the ball with the NeoPixel Jewel! &nbsp;We fit seven of our tiny&nbsp;5050 (5mm x 5mm) smart RGB LEDs onto a beautiful, round&nbsp;PCB with mounting holes and a chainable design to create what we think is our most elegant (and evening-wear appropriate) NeoPixel board...

Out of Stock
[Buy Now](https://www.adafruit.com/product/2226)
[Related Guides to the Product](https://learn.adafruit.com/products/2226/guides)
### Lithium Ion Polymer Battery - 3.7v 150mAh

[Lithium Ion Polymer Battery - 3.7v 150mAh](https://www.adafruit.com/product/1317)
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 has a capacity of 150mAh for a total of about 0.6 Wh. If you need a larger battery, <a...></a...>

In Stock
[Buy Now](https://www.adafruit.com/product/1317)
[Related Guides to the Product](https://learn.adafruit.com/products/1317/guides)
### 2-pin JST SM Plug + Receptacle Cable Set

[2-pin JST SM Plug + Receptacle Cable Set](https://www.adafruit.com/product/2880)
These 2-wire cables&nbsp;are 16cm long and come as a set. &nbsp;One side has a 2-pin JST SM type connector plug on the end. &nbsp;The other side has a matching 2-pin JST SM type receptacle connector. &nbsp;They are good for whenever you have 2 wires you want to be able to plug and unplug....

In Stock
[Buy Now](https://www.adafruit.com/product/2880)
[Related Guides to the Product](https://learn.adafruit.com/products/2880/guides)
### Adafruit Micro Lipo - USB LiIon/LiPoly charger

[Adafruit Micro Lipo - USB LiIon/LiPoly charger](https://www.adafruit.com/product/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 3.7V/4.2V lithium polymer or lithium ion rechargeable battery into the JST plug on the other end. There are...

In Stock
[Buy Now](https://www.adafruit.com/product/1304)
[Related Guides to the Product](https://learn.adafruit.com/products/1304/guides)
### Adafruit Micro-Lipo Charger for LiPo/LiIon Batt w/MicroUSB Jack

[Adafruit Micro-Lipo Charger for LiPo/LiIon Batt w/MicroUSB Jack](https://www.adafruit.com/product/1904)
Oh so handy, this little lipo charger is so small and easy to use you can keep it on your desk or mount it easily into any project! Simply plug it via any MicroUSB cable into a USB port and a 3.7V/4.2V lithium polymer or lithium ion rechargeable battery into the JST plug on the other end....

In Stock
[Buy Now](https://www.adafruit.com/product/1904)
[Related Guides to the Product](https://learn.adafruit.com/products/1904/guides)

## Related Guides

- [Interactive Gift Box](https://learn.adafruit.com/interactive-custom-gift-box.md)
- [Glowing Scale Armor](https://learn.adafruit.com/glowing-scale-armor.md)
- [Starduino: 8-Bit Super Mario Tree Topper](https://learn.adafruit.com/starduino-neopixel-8-bit-mario-star-tree-topper.md)
- [Neopixel Cosmic Turtle Necklace](https://learn.adafruit.com/neopixel-led-magnetic-pendant-necklace.md)
- [Trinket (& Gemma) Servo Control](https://learn.adafruit.com/trinket-gemma-servo-control.md)
- [How to Choose a Microcontroller](https://learn.adafruit.com/how-to-choose-a-microcontroller.md)
- [NeoPixel Basketball Hoop](https://learn.adafruit.com/neopixel-mini-basketball-hoop.md)
- [Battery Powering Wearable Electronics](https://learn.adafruit.com/battery-powering-wearable-electronics.md)
- [Bunny Ears with MakeCode](https://learn.adafruit.com/bunny-ears-with-makecode.md)
- [Superhero Power Plant](https://learn.adafruit.com/superhero-power-plant.md)
- [Jellyfish Umbrella with easy WLED WiFi Control](https://learn.adafruit.com/jellyfish-umbrella-with-easy-wled-wifi-control.md)
- [NeoPixel Spats with Gemma and MakeCode](https://learn.adafruit.com/neopixel-spats.md)
- [Simple and Beautiful NeoPixel Holiday Lights](https://learn.adafruit.com/simple-beautiful-color-changing-light-strand.md)
- [3D Printed Glowing Mace Prop](https://learn.adafruit.com/3d-printed-glowing-mace-prop.md)
- [Taz 4 1.75 filament upgrade](https://learn.adafruit.com/taz-4-1-dot-75-filament-upgrade.md)
