# GEMMA M0 Case

## Overview

![](https://cdn-learn.adafruit.com/assets/assets/000/045/282/medium800/3d_printing_gemma-pixels.jpg?1502823954)

## 3D Printed Case for GEMMA M0

If you're working on a project using the **Adafruit GEMMA M0** , you may want&nbsp;a case to protect it. This simple two piece enclosure can house the PCB and a 150mAh lithium ion polymer battery.&nbsp;

## Portable GEMMA M0

The&nbsp;PCB is secured to two standoffs with M2.5 (6mm long) screws. We have a nice assortment of M2.5 sized nylon screws and nuts that will work well. The case allows access to the microUSB port for powering and programming. A slide switch extension allows you to power the GEMMA M0 on and off. To keep the case (relatively) slim, an opening on the cover lets the JST connector poke through the top. &nbsp;

![](https://cdn-learn.adafruit.com/assets/assets/000/045/280/medium800/3d_printing_switch-turned-on.jpg?1502823225)

## Snap Fit Cover

The cover features a "snap fit" lip that locks onto the case, making a fairly durable connection. No screws needed. The cover can be modified to completely cover the GEMMA M0 –&nbsp;So you have the option to remove all of the holes and openings.

![](https://cdn-learn.adafruit.com/assets/assets/000/045/281/medium800/3d_printing_side-holes-wires.jpg?1502823393)

## Wire Access

On the sides of the case are two "slits" that&nbsp;allow wires to pass through. If you're wiring sensors, NeoPixels or other components, you can fit the wires into the slits and close the cover. These slits can be removed, or add more. &nbsp;

### 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)
![Pink polished fingers holding a Adafruit GEMMA M0 - Miniature wearable electronic platform. ](https://cdn-shop.adafruit.com/product-videos/640x480/3501-05.jpg)

### 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)
![Angle Shot of Lithium Ion Polymer Battery 3.7v 150mAh with JST 2-PH connector](https://cdn-shop.adafruit.com/640x480/1317-03.jpg)

### Black Nylon Machine Screw and Stand-off Set – M2.5 Thread

[Black Nylon Machine Screw and Stand-off Set – M2.5 Thread](https://www.adafruit.com/product/3299)
Totaling 380 pieces, this **M2.5 Screw Set** &nbsp;is a must-have for your workstation.&nbsp;You'll have enough screws, nuts, and hex standoffs to fuel your maker tendencies&nbsp;for days on end! M2.5 size screws fit almost all of the Adafruit breakout/dev board mounting holes...

In Stock
[Buy Now](https://www.adafruit.com/product/3299)
[Related Guides to the Product](https://learn.adafruit.com/products/3299/guides)
![Black Nylon Screw and Stand-off Set with M2.5 Threads, kit box](https://cdn-shop.adafruit.com/640x480/3299-00.jpg)

# GEMMA M0 Case

## 3D Printing

![](https://cdn-learn.adafruit.com/assets/assets/000/045/283/medium800/3d_printing_parts.jpg?1502824059)

## What If I Don't Have A 3D Printer?

Not to worry! You can use a 3D printing service such as&nbsp;[3DHubs](https://www.3dhubs.com/)&nbsp;or&nbsp;[MakeXYZ](https://www.makexyz.com/)&nbsp;to have a local 3D printer operator 3D print and ship you parts to you. This is a great way to get your&nbsp;parts 3D printed by local makers. You could also try checking out your local Library or search for a Maker Space.

### Filament for 3D Printers in Various Colors and Types

[Filament for 3D Printers in Various Colors and Types](https://www.adafruit.com/product/2080)
Having a 3D printer without filament is sort of like having a regular printer without paper or ink. &nbsp;And while a lot of printers come with some filament there's a good chance you've been printing up a storm and need something new. &nbsp;That's why we've started carrying a...

Out of Stock
[Buy Now](https://www.adafruit.com/product/2080)
[Related Guides to the Product](https://learn.adafruit.com/products/2080/guides)
![Filament for 3D printers in various colors and types stacked together.](https://cdn-shop.adafruit.com/640x480/2080-07.jpg)

## Materials, Materials

PLA is the defacto of 3D printing for it's ease of use, low cost and generally most widely used filament. However, if you want something stronger there's lots of options. PETG, Nylon, CPE, ABS, etc, etc. It's important to note, this design was tested only with PLA filament.

## Tolerances&nbsp;

Generally tolerances will vary from printer to printer, slicer to slicer and material to material. If things don't quite&nbsp;fit right, you may need to adjust your slice settings.

## Slicer Settings

CURA and Simplify3D are the most common slicing software for 3D printers. Depending on your printer, you'll need to adjust your settings accordingly. Below is a list of general settings we used to test this design. No supports are necessary. Use a raft or brim if necessary.&nbsp;

- 0.4mm nozzel
- 0.48mm extrusion width
- 2 shells
- 0.2 layer height
- 220c extruder temperature
- 65c for heated beds
- 20% infill

[Download STLs](https://www.thingiverse.com/thing:2485208)
[Download CURA for FREE](https://ultimaker.com/en/products/cura-software)
[Buy Simplify3D](https://www.simplify3d.com/buy-now/)
![](https://cdn-learn.adafruit.com/assets/assets/000/045/284/medium800/3d_printing_gemma-case.jpg?1502825037)

## Modify, Adjust & Tweak

The design source files are available to download if you're interested in making adjustments. The enclosure was designed in Autodesk Fusion 360.&nbsp;Use the public shared link below to access the design source. You can download the solids in your preferred CAD format (Fusion 360 Archive, STEP, SAT, IGS, etc.) by clicking on the dropdown labeled as download in the upper top right of the design source page.

[Download Autodesk Fusion360 Source](http://a360.co/2ulEpKz)
# GEMMA M0 Case

## Assembly

## 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_batteries-cable-shorten.jpg](https://cdn-learn.adafruit.com/assets/assets/000/045/285/medium640/3d_printing_batteries-cable-shorten.jpg?1502825314)

[How to Rewire Battery](https://learn.adafruit.com/gemma-m0-sheikah-pendant/rewiring-battery)
## Case for GEMMA

We'll need two M2.5 (6mm long) machine screws to secure the GEMMA M0 to the 3D printed enclosure. You can use the&nbsp;[nylon screw set](https://www.adafruit.com/product/3299)&nbsp;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/045/286/medium640/3d_printing_gemma-case.jpg?1502825389)

## 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/045/287/medium640/3d_printing_gemma-install-case.jpg?1502825452)

## 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/045/288/medium640/3d_printing_gemma-secure.jpg?1502825509)

## 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/045/290/medium640/3d_printing_gemma-cover-switch.jpg?1502825611)

## 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/045/289/medium640/3d_printing_gemma-switch-install.jpg?1502825547)

## 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/045/291/medium640/3d_printing_gemma-cover-installed.jpg?1502825654)

## Using The Case

Depending on your project, you may need to make additional tweaks. The bottom of the case is flat so it can be attached to different surfaces using double sided tape, velcro or any number of&nbsp;adhesives.&nbsp;

## How Big Is It?

The enclosure with the cover come out to: **~36mm x 36mm x 12mm**

![](https://cdn-learn.adafruit.com/assets/assets/000/045/292/medium800/3d_printing_case-hand.jpg?1502825690)


## 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)
### 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)
### Black Nylon Machine Screw and Stand-off Set – M2.5 Thread

[Black Nylon Machine Screw and Stand-off Set – M2.5 Thread](https://www.adafruit.com/product/3299)
Totaling 380 pieces, this **M2.5 Screw Set** &nbsp;is a must-have for your workstation.&nbsp;You'll have enough screws, nuts, and hex standoffs to fuel your maker tendencies&nbsp;for days on end! M2.5 size screws fit almost all of the Adafruit breakout/dev board mounting holes...

In Stock
[Buy Now](https://www.adafruit.com/product/3299)
[Related Guides to the Product](https://learn.adafruit.com/products/3299/guides)
### Ultimaker 3 - 3D Printer

[Ultimaker 3 - 3D Printer](https://www.adafruit.com/product/3300)
The **Ultimaker 3** &nbsp;is one of our favorite 3D printers on the market. It's a well-built open-source compact machine with an excellent UX.&nbsp;Every inch of the Ultimaker 3&nbsp;is designed to create the most effortless and reliable 3D printing experience ever!&nbsp;<a...></a...>

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/3300)
[Related Guides to the Product](https://learn.adafruit.com/products/3300/guides)
### Type A Machines Series 1 Pro 3D Printer

[Type A Machines Series 1 Pro 3D Printer](https://www.adafruit.com/product/2412)
Built to last&nbsp;and better than ever. The **Series&nbsp;1&nbsp;Pro 3D** printers&nbsp;from Type A Machines offer&nbsp;durability, modularity and one of the largest build volumes in their&nbsp;class.

Featuring a streamlined aluminum and acrylic body, a glass build surface...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/2412)
[Related Guides to the Product](https://learn.adafruit.com/products/2412/guides)
### BCN3D Sigma 3D Printer

[BCN3D Sigma 3D Printer](https://www.adafruit.com/product/3528)
This is quite the snazzy lookin' 3D printer – and it comes all the way from beautiful Barcelona. It's the **BCN3D Sigma 3D Printer**!

It has a unique, Independent Dual Extruder system that allows you to print two (2!) different materials or colors while...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/3528)
[Related Guides to the Product](https://learn.adafruit.com/products/3528/guides)
### Ultimaker 2+ 3D Printer

[Ultimaker 2+ 3D Printer](https://www.adafruit.com/product/2673)
The **Ultimaker 2+** is one of our favorite 3D printers on the market. It's a well-built open-source compact machine with an excellent UX.&nbsp;Every inch of the Ultimaker 2+ is designed to create the most effortless and reliable 3D printing experience ever!&nbsp;<a...></a...>

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

[Flashforge Creator PRO](https://www.adafruit.com/product/2742)
The **Flashforge Creator Pro** is the latest addition to FlashForge’s Creator family, built upon an open source platform.

Based on proven design of the Creator X chassis, the Pro is now enclosed so you can print ABS better and more efficient than ever. The upgraded...

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

## Related Guides

- [Faderwave Synthesizer](https://learn.adafruit.com/faderwave-synthesizer.md)
- [PicoDVI Adafruit IO Feed Dashboard](https://learn.adafruit.com/dvi-io.md)
- [Feather TFT STEMMA Case](https://learn.adafruit.com/feather-tft-stemma-case.md)
- [CircuitPython MIDI to CV Skull](https://learn.adafruit.com/circuitpython-midi-to-cv-skull.md)
- [Esenciales para CircuitPython](https://learn.adafruit.com/esenciales-para-circuitpython.md)
- [USB Host to BLE Keyboard Adapter](https://learn.adafruit.com/esp32-s3-usb-to-ble-keyboard-adapter.md)
- [Trinket “Question Block” Sound Jewelry](https://learn.adafruit.com/trinket-question-block-sound-jewelry.md)
- [CircuitPython Powered Sip & Puff with ST LPS33HW Pressure Sensor](https://learn.adafruit.com/st-lps33-and-circuitpython-sip-and-puff.md)
- [Larsio Paint Music](https://learn.adafruit.com/larsio-paint-music.md)
- [Cyberpunk Spikes](https://learn.adafruit.com/cyberpunk-spikes.md)
- [Circle of Fifths Euclidean Synth with synthio and CircuitPython](https://learn.adafruit.com/circle-of-fifths-euclidean-synth-with-synthio-and-circuitpython.md)
- [Best Beginner Boards for Teachers](https://learn.adafruit.com/best-beginner-boards-for-teachers.md)
- [Mini Pinball Table with Gemma M0](https://learn.adafruit.com/mini-pinball-table-with-gemma-m0.md)
- [Gemma M0 Vibration Sensor Motion Alarm](https://learn.adafruit.com/motion-alarm.md)
- [PyPortal Titano Weather Station](https://learn.adafruit.com/pyportal-titano-weather-station.md)
