# Prop-Maker Lightsaber

## Overview

https://www.youtube.com/watch?v=wh7ffQa6bsM

## The Path to Prop Maker&nbsp;

Use your maker skills and become the Jedi you were meant to be! Construct your own lightsaber using 3D printed parts and electronics from Adafruit. This advanced prop uses an accelerometer to detect swings and hits to trigger super bright NeoPixels with full sound FX!

![3d_printing_hero-hilt-on.jpg](https://cdn-learn.adafruit.com/assets/assets/000/064/719/medium640/3d_printing_hero-hilt-on.jpg?1540656738)

## 3D Printed Props

Designed to be 3D printed with multi-material setups for creating custom color combinations. This prop is released as an open source design. Built-in access to the Adafruit Prop-Maker FeatherWing and made to be taken apart and reassembled. It's not just for show, we engineered it to take _heavy hits_\*! Will you join the **light side** or the **dark side**?

![](https://cdn-learn.adafruit.com/assets/assets/000/064/724/medium800/3d_printing_hero-propmaker.jpg?1540660759)

Our previous prop builds required wiring many boards together to get what essentially is a Prop-Maker FeatherWing. For example, our [Ray Gun project](https://learn.adafruit.com/ray-gun-blaster/circuit-diagram) employed a micro-controller, audio amp, sound effects board, accelerometer, usb lipo charger, laser module and a perf-board to put it all together. Thats a-lot of wiring!&nbsp;

## Prop-Maker FeatherWing

We think the _Adafruit Feather_ form factor is the perfect size for building props. With the _FeatherWing_ ecosystem, you can easily add-on new features! The Prop-Maker FeatherWing is designed for creating advanced props using motion, lights and sound. The _LIS3DH_ accelerometer can detect steps, swings and hits. It has an on-board _class-D audio_ amp for blasting sound effects. For creating stunning lighting effects, the built-in _NeoPixel_ driver and _3W RGB LED_ driver are essential.

![3d_printing_feather-propmaker-wing.jpg](https://cdn-learn.adafruit.com/assets/assets/000/064/718/medium640/3d_printing_feather-propmaker-wing.jpg?1540652760)

## Hilt Buttons

The hilt design features two buttons for controlling the blade. The clamp allows for any **16mm diameter** panel mounted buttons. The length of the buttons are limited to the inner diameter of the hilt (40mm) which accommodates any of [these buttons](https://www.adafruit.com/?q=16mm).

![3d_printing_hilt-final-test.jpg](https://cdn-learn.adafruit.com/assets/assets/000/064/722/medium640/3d_printing_hilt-final-test.jpg?1540658735)

![](https://cdn-learn.adafruit.com/assets/assets/000/064/570/medium800/3d_printing_parts-electronics-crop.jpg?1540573849)

## Parts List

- [Adafruit Feather M4 Express](https://www.adafruit.com/product/3857)
- [Adafruit Prop-Maker FeatherWing](https://www.adafruit.com/product/3988)
- [Short Feather Male Headers (12-pin 16-pin)](https://www.adafruit.com/product/3002)
- [Short Feather Female Headers (12-pin 16-pin)](https://www.adafruit.com/product/2940)
- [Speaker 4 ohm 3W, 40mm diameter](https://www.adafruit.com/product/3968)
- [4400mAh lithium polymer battery](https://www.adafruit.com/product/354) or [2200mAh battery](https://www.adafruit.com/product/1781) (lighter and can fit easier)
- [Adafruit Mini Skinny NeoPixel Strip - 144 LED/m - 1m WHITE](https://www.adafruit.com/product/2969)
- [Metal Pushbutton – RGB (16mm diameter)](https://www.adafruit.com/product/3350)
- [16mm On/Off Button](https://www.adafruit.com/?q=16mm%20On%2FOff)
- [Momentary Pushbutton – Red (16mm diameter)](https://www.adafruit.com/product/1445)
- [microUSB breakout](https://www.adafruit.com/product/1833)
- [microUSB cable – 3 ft](https://www.adafruit.com/product/592)
- [3-pin JST cable](https://www.adafruit.com/product/3893)
- 2x [2-pin JST extension](https://www.adafruit.com/product/1131)
- [4-pin JST cable](https://www.adafruit.com/product/3950)
- [molex Pico blade cable](https://www.adafruit.com/product/3922)
- [Heat shrink tubing – multi-color](https://www.adafruit.com/product/1649)
- [Silicone cover 28AWG stranded ribbon cable](https://www.adafruit.com/product/3891)

## Non-Adafruit Parts

- Polycarbonate Tubes – 1" OD
  - [Ultrasaber Blades](https://ultrasabers.com/product-category/parts/blades/)
  - [24" Ultra Edge Heavy Grade](https://ultrasabers.com/product/24-ultraedge-heavy-grade-initiate-blade/)
  - [The Custom Saber Shop blades](https://www.thecustomsabershop.com/1-OD-Thick-Walled-C91.aspx)
  - [40" PolyC TransWhite (thick walled)](https://www.thecustomsabershop.com/1-Thick-walled-Trans-White-PolyC-40-long-P528.aspx)

- Coroplast / Plastic Corrugated Sheet – 20in x 30in – 4mm
- [Nitto Double-sided Tape](https://www.amazon.com/gp/product/B000QKL08K/)
- Clear Tape
- Parchment Paper Roll
- [JST PH connector Kit](https://www.amazon.com/gp/product/B0731MZCGF/)

## Hardware Supplies

- 1x [M3 x 16mm Pan Head Machine Screw](https://www.albanycountyfasteners.com/Phillips-Pan-Head-Machine-Screw-M3-x-5-p/1066-1008.htm)
  - Hilt Clamp

- 1x [M3 nylon lock nut](https://www.albanycountyfasteners.com/Metric-Nylon-Insert-Lock-Nuts-A2-Stainless-Steel-p/5570000.htm)
  - Hilt Clamp

- 6x [M2.5 x 8mm Flat Head Machine Screw](https://www.albanycountyfasteners.com/2-5-MM-x-45-Phillips-Flat-Head-Machine-Screw-p/1011-1002.htm)
  - 2x Feather M4
  - 2x Prop-Maker FeatherWing
  - 2x microUSB breakout

- 4x [M2.5 x 4mm 3.5mm Threaded Insert](https://www.amazon.com/gp/product/B01N3ZFIIL/)
  - 2x Feather M4
  - 2x Prop-Maker FeatherWing

## Tools

List of handy things to assist in any project.

- [Wire Strippers](https://www.adafruit.com/product/527)
- [Wire Cutters](https://www.adafruit.com/product/152)
- [Soldering Iron](https://www.adafruit.com/product/180)
- [Solder Wire](https://www.adafruit.com/product/734)
- [Panavise Jr.](https://www.adafruit.com/product/151)
- [Third Helping Hands](https://www.adafruit.com/product/291)
- [Monoprice Inventor II](https://www.adafruit.com/product/3897)

https://www.youtube.com/watch?v=IO37B5G3oFE

![](https://cdn-learn.adafruit.com/assets/assets/000/064/725/medium800/3d_printing_hero-saber-hold.jpg?1540667731)

## Prerequisite Guides

If you're new to Adafruit Feather M4 Express, CircuitPython or soldering, take a moment to walk through the following guides to get you started.

- [Adafruit Feather M4 Express Intro](https://learn.adafruit.com/adafruit-feather-m4-express-atsamd51)
- [Adafruit Prop-Maker FeatherWing Intro](https://www.adafruit.com/product/3988)
- [Welcome to Circuit Python](https://learn.adafruit.com/welcome-to-circuitpython)
- [Adafruit's Guide to Excellent Soldering](https://learn.adafruit.com/adafruit-guide-excellent-soldering?view=all)

![](https://cdn-learn.adafruit.com/assets/assets/000/064/726/medium800/3d_printing_hero-hilt-hold.jpg?1540667771)

We designed the hilt to be 3D printed with multi-material extrusion but we also offer parts for single extruders. One of the main goals for the hilt was to have the ability to access the electronics via door or hatch. The Prop-Maker FeatherWing is accessible through an opening on the side of the barrel. This allows for adjusting volume, accessing the reset button and any of the on-board components.

![](https://cdn-learn.adafruit.com/assets/assets/000/064/727/medium800/3d_printing_hero-pommel.jpg?1540667791)

With all of the components the saber weights about 1.5lbs (0.68 kg). Removing the blade from the hilt allows for transporting – So it's great for taking to cons and events!

So who's crazy enough to design build their own lightsaber? A _Maker_, of course! We hope to see both software engineers and mechanical designers use the Adafruit Feather and Prop-Maker FeatherWing to build their own props. Please use our guide as a reference.

# Prop-Maker Lightsaber

## Circuit Diagram

## 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. This diagrams was created using [Fritzing software](http://fritzing.org/download/).

![](https://cdn-learn.adafruit.com/assets/assets/000/064/616/medium800/3d_printing_circuit-diagram-v3.jpg?1540578057)

## Wired Connections

The Prop-Maker FeatherWing is fitted on top of Adafruit Feather M4 Express via short female/male headers. The RGB LED metal pushbutton uses several connections that are wired to the FeatherWing. The speaker is connected via a molex pico blade connector. The battery uses a JST PH connection that plugs in directly to the Adafruit Feather.

## On/Off Switch or Button

Tying the **enable** and **ground** pins on the Feather will essentially shut off the power – Use a 16mm pushbutton with on/off latch. If you'd like to keep the two buttons in the hilt as momentary push buttons, you can optionally solder a [slide switch](https://www.adafruit.com/product/805) directly onto the Prop-Maker FeatherWing.

## **RGB LED Button Connections**

- **SWITCH** pin on Prop-Maker FeatherWing to signal on Switch
- **GND** pin on Prop-Maker FeatherWing to ground on Switch&nbsp;
- **RED** pin on Prop-Maker FeatherWing&nbsp;to RGB LED red cathode
- **GREEN** pin on Prop-Maker FeatherWing&nbsp;to RGB LED green cathode
- **BLUE** pin on Prop-Maker FeatherWing to RGB LED blue cathode
- **V+** pin on Prop-Maker FeatherWing to RGB LED common anode

## **NeoPixel Connections**

- **NEOPIX** &nbsp;pin on Prop-Maker FeatherWing to **Data-In** on NeoPixel Strip
- **GND** &nbsp;pin on Prop-Maker FeatherWing to **GND** on NeoPixel Strip
- **V+&nbsp;** pin on Prop-Maker FeatherWing to **+5V** on&nbsp;NeoPixel Strip

## Powering

The Adafruit Feather M4 Express can be powered via USB or JST using a 3.7v lipo battery. In this project, a 4400mAh lipo battery is used. The lipo battery is rechargeable via the USB port on the Adafruit Feather.

# Prop-Maker Lightsaber

## Software

![](https://cdn-learn.adafruit.com/assets/assets/000/064/723/medium800/3d_printing_laptop-banner.jpg?1540660580)

## Setup Adafruit Feather M4 for CircuitPython

Your Feather M4 should already come with CircuitPython but maybe there's a new version, or you overwrote your board with Arduino code! In that case, see the below for how to reinstall or update CircuitPython. Otherwise you can skip this and proceed with the build.

[Adafruit Circuit Python Guide for Feather M4 Express](https://learn.adafruit.com/adafruit-feather-m4-express-atsamd51/circuitpython)
## CircuitPython Libraries

Install the necessary Adafruit CircuitPython libraries by downloading the latest bundle. Unzip the file and locate the needed libraries. Drop the libraries into a folder named " **lib**" on the **CIRCUITPY** drive.

For non-express boards like the Trinket M0 or Gemma M0, you'll need to manually install the necessary libraries from the bundle.

Required CircuitPython Libraries:

- **neopixel**
- **adafruit\_lis3dh**
- **adafruit\_bus\_device**

Before continuing make sure your board's lib folder or root filesystem has the&nbsp; **neopixel, adafruit\_lis3dh** ,&nbsp;and **&nbsp;adafruit\_bus\_device**** &nbsp; **files and folders** &nbsp;**copied over.

## Sound Effects

The code was written to call on five different sound effects depending on the actions. You can make your own audio files or use the royalty-free ones we've provided. Be sure to create a new folder named&nbsp; " **sounds**" at the top level of the **CIRCUITPY** drive and drop in the audio files.

Adafruit CircuitPython supports **16-bit, Mono, 22.050kHz .wav** audio format.&nbsp; Additionally, the looping sample **idle.wav** should be a multiple of 512 samples long.

- Power on – **on.wav**
- Idle humming – **idle.wav**
- Swing whoosh – **swing.wav**
- Crash strike – **hit.wav**
- Power off – **off.wav**

## Upload The Code

Download a zip of the project by clicking 'Download: Project Zip' in the preview of **code.py** below.

Copy **code.py** to the **CIRCUITPY** drive and copy the **.wav** files to the top-level **sounds** directory in the **CIRCUITPY** drive.

Once the files has been uploaded to the drive, the board will automatically reboot and run the code.

https://github.com/adafruit/Adafruit_Learning_System_Guides/blob/main/PropMaker_Lightsaber/code.py

# Prop-Maker Lightsaber

## 3D Printing

## Saber Hilt Parts

Parts are designed to be 3D printed with FDM based machines. STL files are oriented to print "as is". Machines with dual extrusion or single extrusion setups are listed below with parts name and description. Parts require tight tolerances that might need adjusting slice setting. Reference the suggested settings below.

![3d_printing_3d-parts-upright.jpg](https://cdn-learn.adafruit.com/assets/assets/000/064/571/medium640/3d_printing_3d-parts-upright.jpg?1540573951)

## Hilt Dimensions

Use these numbers to reference if these parts will fit on your 3D printer.

- Inner Diameter: 40mm
- Outer Diameter: ~50-60mm
- Full Length/Tall: 12in (30.4cm)
- Build Volume: 50mm x 60mm&nbsp;x 90mm

![3d_printing_3d-dryfit.jpg](https://cdn-learn.adafruit.com/assets/assets/000/064/597/medium640/3d_printing_3d-dryfit.jpg?1540575513)

[Download CAD Files](https://www.thingiverse.com/thing:3186737)
## Dual Extrusion Parts

Parts that can be printed with multi-material setups are labeled with an "A" and "B" suffix. Machines with multi-material setups will need to be configured using their own software tools for slicing parts. The parts in this project were 3D printed with Ultimaker 3 and sliced with Ultimaker CURA 3.X.&nbsp;

## Single Extrusion Parts

Single extrusion parts are labeled with "single" as the suffix. These parts were merged for 3D printing with a single extrusion machine. Additional post-processing can be done after printing.

## Additional 3D Parts

These pare are separate from the hilt and can be 3D printed with any extrusion setup.&nbsp;

## Parts Assembly

This animation demonstrations how all of the pieces are assembled to form the hilt. The emitter screws onto the barrel. The clamp attached onto the barrel and power cell. Pommel screws onto the bottom of the power cell. An M3 x 16mm screw and nylon lock nut is inserted into the clamp and secures the assembly.

![3d_printing_saber_assembly.gif](https://cdn-learn.adafruit.com/assets/assets/000/064/594/medium640thumb/3d_printing_saber_assembly.jpg?1540575184)

## Slice Settings

Use these settings as reference. Values listed were used in [Ultimaker's CURA 3.X](https://ultimaker.com/en/products/ultimaker-cura-software) slicing software.

- 0.2mm Layer Height / 0.4mm nozzle
- 0.38mm Line Width (inner & outer widths)
- 60mm/s printing speed
- 20% infill

![3d_printing_slice-settings.jpg](https://cdn-learn.adafruit.com/assets/assets/000/064/606/medium640/3d_printing_slice-settings.jpg?1540576525)

## Glitter Infused Filament from Fillamentum

The material used to print the parts in this project are from [Fillamentum](https://fillamentum.com/). From the [PLA Extrafill](https://fillamentum.com/collections/pla-extrafill) line of filaments, Vertigo Galaxy PLA,&nbsp; Rapunzel Silver PLA, and Vertigo Gery were used. Material comes in 2.85mm and 1.75mm diameters.&nbsp;

![3d_printing_3dd-parts-rand.jpg](https://cdn-learn.adafruit.com/assets/assets/000/064/595/medium640/3d_printing_3dd-parts-rand.jpg?1540575928)

## Dry Fit Parts

The pommel and emitter parts feature threads that tend to have tight tolerances straight off the 3D printer. These parts may need to be dry fitted a few times to loosen up the tolerances. Gradually fasten the parts by twisting them together. If needed, a filing tool can help smooth out the edges.

## 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.

# Prop-Maker Lightsaber

## FeatherWing

## Short Female/Male Headers

The Adafruit FeatherWings uses 12-pin and 16-pin headers. The short female/male headers are designed to be low-profile and works best in this project. In this arrangement, the male headers are soldered to the FeatherWing while the female headers are soldered to the Feather.

![3d_printing_headers.jpg](https://cdn-learn.adafruit.com/assets/assets/000/064/619/medium640/3d_printing_headers.jpg?1540580696)

## Solder Prop-Maker FeatherWing Headers

Start by inserting the short 12-pin and 16-pin male headers into the Prop-Maker. We suggest using a [half-size breadboard](https://www.adafruit.com/product/64) to hold the headers in place while soldering. Solder all of the header pins to the Prop-Maker.

## Install Female Headers

The female headers need to be solder to the Adafruit Feather. Soldering female headers can be a little tricky, so here's a little technique: Insert the _female_ headers onto the _male_ pins (the ones we soldered onto the FeatherWing). Then, Install the Feather to the _female_ headers by laying it on top of the pins, bottom side up (reference the photo). Use a PCB vise to hold the board in place while soldering.

## Soldered FeatherWing

Double check your work and ensure there are no cold solder joints. The Feather and FeatherWing should be able to be pulled apart.&nbsp;

![3d_printing_prop-feather-soldered.jpg](https://cdn-learn.adafruit.com/assets/assets/000/064/635/medium640/3d_printing_prop-feather-soldered.jpg?1540582853)

# Prop-Maker Lightsaber

## Buttons Wiring

## Wiring Buttons

The RGB LED push button will be connected to the Prop-Maker FeatherWing. To make assembly more efficient, we suggest using JST-PH connectors – These allow quick connections of components. Pre-made cables are available and linked the overview page. The RGB LED buttons require a total of six wired connections, so a 4-pin and 2-pin JST connector can be used. We suggest using a wire length of **62mm (2.4in)** for each connection.

![3d_printing_button-wires.jpg](https://cdn-learn.adafruit.com/assets/assets/000/064/636/medium640/3d_printing_button-wires.jpg?1540583068)

Info: 

## Silicone Cover Stranded Wire

Pre-made JST cables are convenient but making durable connections can be achieved using silicone cover stranded wire. This [28AWG ribbon cable](https://www.adafruit.com/product/3891) is really nice wire that is flexible and won't easily break. Using this wire and a [JST-PH connector kit](https://www.amazon.com/gp/product/B0731MZCGF/), you can create custom JST-PH cables.

![3d_printing_jst-connector-wires.jpg](https://cdn-learn.adafruit.com/assets/assets/000/064/637/medium640/3d_printing_jst-connector-wires.jpg?1540583387)

## JST-PH Cables

Take a moment to plan which wires you'd like to use for the buttons. Colored heat shrink tubing can be used to differentiate the connections. Each wire is about 62mm in length (124mm / 4.8in total length).&nbsp;

![3d_printing_buttons-wired.jpg](https://cdn-learn.adafruit.com/assets/assets/000/064/638/medium640/3d_printing_buttons-wired.jpg?1540583638)

## Solder Wires to RGB LED Button

Pins of the RGB LED button are labeled on the bottom of the plastic body. Reference these labels to match the wires with the RGB LED pins on the Prop-Maker FeatherWing. The polarity will need to match.

![3d_printing_rgb-button-wiring.jpg](https://cdn-learn.adafruit.com/assets/assets/000/064/639/medium640/3d_printing_rgb-button-wiring.jpg?1540583922)

## Solder Wires to Pushbutton

A 16mm panel mounted button doesn't require matching polarity, so this can be soldered to which ever pin. These can connect to an available GPIO pin on the Prop-Maker FeatherWing.

&nbsp;

![3d_printing_pushbutton-wiring.jpg](https://cdn-learn.adafruit.com/assets/assets/000/064/640/medium640/3d_printing_pushbutton-wiring.jpg?1540584047)

Danger: 

## Wired Buttons

Double check the wiring to ensure the buttons have solid connections. Now is a good time to check the wire lengths and trim any excess. The tips of the wires can be tinned with a bit of solder to make attaching them to the pins easier.

![3d_printing_buttons-jst-wired.jpg](https://cdn-learn.adafruit.com/assets/assets/000/064/641/medium640/3d_printing_buttons-jst-wired.jpg?1540584209)

## Switch Wire

To make assembly more efficient, the switch wire is soldered to the bottom of the Prop-Maker FeatherWing. Reference the labels and solder a 2-pin JST cable to the **SWITCH** and **GND** pins.

![3d_printing_switch-wire-solder.jpg](https://cdn-learn.adafruit.com/assets/assets/000/064/642/medium640/3d_printing_switch-wire-solder.jpg?1540584443)

## RGB LED Button Wire

Reference the RGB labels and solder a 4-pin JST cable to the Red, Green, Blue, and V+ pins on the FeatherWIng.

![3d_printing_rgb-wire-solder.jpg](https://cdn-learn.adafruit.com/assets/assets/000/064/643/medium640/3d_printing_rgb-wire-solder.jpg?1540584682)

## Extra Button

If you plan to write the second button, use an available digital pin, **NOT the IRQ pin** (it's used for the accelerometer to talk to the Feather M4).

![3d_printing_extra-wire-solder.jpg](https://cdn-learn.adafruit.com/assets/assets/000/064/644/medium640/3d_printing_extra-wire-solder.jpg?1540584808)

## Wired Prop-Maker FeatherWing

Double check your soldering to ensure the connections are solid.

![3d_printing_buttons-wire-propwing.jpg](https://cdn-learn.adafruit.com/assets/assets/000/064/645/medium640/3d_printing_buttons-wire-propwing.jpg?1540585067)

# Prop-Maker Lightsaber

## Speaker Wiring

## Wiring Speaker

The Prop-Maker FeatherWing features an on-board molex pico blade connector for audio output. The speaker will require a longer wire, so you will need to extend the cable using additional wires.

Suggested Wire Length: 250mm (9.8in)

Featured
### Molex PicoBlade 2-pin Cable - 200mm

[Molex PicoBlade 2-pin Cable - 200mm](https://www.adafruit.com/product/3922)
When 0.1" is too big, and JST PH's too chunky, the ultra-slim "PicoBlade" is a reliable alternative. These are only 1.25mm pitch, but have a nice clicky connection.

This cable is nice and long, 200mm in fact. It's got both small form factor (won't take up a lot...

In Stock
[Buy Now](https://www.adafruit.com/product/3922)
[Related Guides to the Product](https://learn.adafruit.com/products/3922/guides)
![Molex Pico Blade 2-pin Cable pigtail ](https://cdn-shop.adafruit.com/640x480/3922-05.jpg)

# Prop-Maker Lightsaber

## Testing Components

## Circuit Test

With the buttons and speaker now wired to the Prop-Maker FeatherWing, we can power up the circuit to test them out. The code and libraries should be uploaded to the Adafruit Feather. Connect all of the components before plugging in the battery.&nbsp;

![3d_printing_test-comps.jpg](https://cdn-learn.adafruit.com/assets/assets/000/064/652/medium640/3d_printing_test-comps.jpg?1540588320)

## Trouble Shooting

The on-board NeoPixel will light up green if the code, wave files and libraries are good. If something isn't quite right, the NeoPixel will flash blue, yellow or red. Here are some common things to look for.

- Required Libraries:&nbsp;
  - **adafruit\_LIS3HD**
  - **adafruit\_bus\_device**
  - **neopixel**

# Prop-Maker Lightsaber

## Blade Construction

## Blade Construction

The blade is made from a thick 1in OD polycarbonate tube and an Adafruit mini skinny NeoPixel strip (1-meter, 144 pixels). The amount of pixels will be determined by the desired blade length. We suggest using sourcing a good quality tube from online shops like [UltraSabers.com](https://ultrasabers.com) and [TheCustomSaberShop.com](https://thecustomsabershop.com).&nbsp;

![3d_printing_blade-parts-B.jpg](https://cdn-learn.adafruit.com/assets/assets/000/064/653/medium640/3d_printing_blade-parts-B.jpg?1540588741)

## Polycarbonate Tubing

The tubes from UltraSabers.com are available in medium and heavy grade polycarbonate. These ship with press-fitted resin casted tips and include an inner plastic light diffuser. They're available in different lengths that are pre-cut.

Tubes from _TheCustomSaberShop.com_ are less expensive but bare. These require DIY inner diffuser and tip. They're not as thick as the heavy grade polycarbonate tubes from _UltraSabers.com_. These can be pre-cut in size of your choosing, up to 40in length.&nbsp;

![3d_printing_blade-tube-inner.jpg](https://cdn-learn.adafruit.com/assets/assets/000/064/654/medium640/3d_printing_blade-tube-inner.jpg?1540593833)

## Mini Skinny Pixels

The **Adafruit Mini Skinny NeoPixel** strips use NeoPixel Mini[**3535 RGB LEDs**](https://www.adafruit.com/product/2659) on a flexible PCB. We found these smaller NeoPixel LEDs can fully illuminate the tube and evenly diffuse light. These do not require a second strip! We see benefits in using Mini Skinnys because you save cost on parts, less wiring work and longer battery life! Standard size [RGB LED strips](https://www.adafruit.com/product/1507) can be used but may require two strips to fully illuminate the polycarbonate tube.

Featured
### Adafruit Mini Skinny NeoPixel Digital RGB LED Strip - 144 LED/m

[Adafruit Mini Skinny NeoPixel Digital RGB LED Strip - 144 LED/m](https://www.adafruit.com/product/2969)
So thin. So mini. So teeeeeeny-tiny. It's the 'skinny' version of our classic NeoPixel strips!

These NeoPixel strips have 144 digitally-addressable pixel Mini LEDs per meter and are very affordable and are only 7.5 mm wide (0.3")&nbsp;if you remove the strip from the...

In Stock
[Buy Now](https://www.adafruit.com/product/2969)
[Related Guides to the Product](https://learn.adafruit.com/products/2969/guides)
![Adafruit NeoPixel Digital RGB LED Strip with all the LEDs in a rainbow](https://cdn-shop.adafruit.com/product-videos/640x480/2969-04.jpg)

## Plastic Sticks

A strip of **corrugated plastic sheet** , sometimes referred to as _Coroplast_, is used to create a backing for the LED strip. This will make the strip more ridged and easier to insert into the polycarbonate tubing.

We used a 20in x 30in semi-translucent sheet that was 4mm thick with 4mm wide corrugations. To fit within the inner diameter of the polycarbonate tube, you will need to measure and cut the sheet down to two strips. These strips will need to be the length of your desired blade. For longer blades, use clear tape to join multiple strips together.

![3d_printing_coroplast-sticks.jpg](https://cdn-learn.adafruit.com/assets/assets/000/064/670/medium640/3d_printing_coroplast-sticks.jpg?1540597869)

## Stripping The Strip

Most NeoPixel strips ship with pre-soldered wires and a weather protective sheathing. The wires and sheathing will need to be removed in order to fit the LED strip into the polycarbonate tubing. Carefully use a box cutter knife to remove the hot glued tips from both ends of the the flexible PCB strip. Use a soldering iron to remove the wires, we'll replace them with a 3-pin JST-PH cable.

![3d_printing_strip-remove.jpg](https://cdn-learn.adafruit.com/assets/assets/000/064/658/medium640/3d_printing_strip-remove.jpg?1540595237)

## Solder 3-pin JST Cable

Connect the wires from the 3-pin JST cable to the end of the NeoPixel strip with data in (as noted by the arrow goin to the right direction). Reference the labels on the strip and photos for matching polarity. We suggest using a set of third helping hands to assist in holding wires in place while soldering. _5V (red)&nbsp;_is on the left, _Data-In (white)_ middle, _Ground (black)_ on the right.

## Strain Relief

Pulling and twisting the cable will eventually wear about the strands of wire. To reduce the amount of stress from excessive handling, use hot glue or a silicone-based adhesive over the solder pads.&nbsp;

## Test NeoPixel LED Strip

Double check your wiring to ensure the polarities are correct. The 3-pin JST connector can be plugged directly into the NeoPixel port on the Prop-Maker FeatherWing. Power the Adafruit Feather on by plugging in the lipo battery. Use the button switch to activate the NeoPixel strip.&nbsp;

![3d_printing_strip-test.jpg](https://cdn-learn.adafruit.com/assets/assets/000/064/665/medium640/3d_printing_strip-test.jpg?1540596018)

## Cut Strip

The number of pixels and length of strip is dependent on your desired blade length. We created a 24in and 32in blade in our builds. The numbers below are from a [144/meter Mini Skinny NeoPixel Strip](https://www.adafruit.com/product/2969). Use flush cutters to cut in between the copper pads on the flexible PCB.

- 24in – 85 x NeoPixel LEDs
- 32in – 114 x NeoPixel LEDs

![3d_printing_strip-cut.jpg](https://cdn-learn.adafruit.com/assets/assets/000/064/666/medium640/3d_printing_strip-cut.jpg?1540596730)

## Strip Stick Sandwich

We'll sandwich the Mini Shinny NeoPixel strip in between two strips of corrugated plastic. I suggest using double-sided nitto tape to secure the LED strip to one of the plastic sticks and then wrapping the second stick on top with clear tape. The second stick provides stability and light diffusion necessary for even illumination.&nbsp;&nbsp;

![3d_printing_strip-sticks.jpg](https://cdn-learn.adafruit.com/assets/assets/000/064/667/medium640/3d_printing_strip-sticks.jpg?1540597052)

## Nitto Tape

Double-sided nitto tape has a strong adhesive that is good for sticking things together. Cut several strips and spaced them out. Evenly distribute the strips of tape across the length of the plastic strip.&nbsp;

![3d_printing_strip-nitto.jpg](https://cdn-learn.adafruit.com/assets/assets/000/064/668/medium640/3d_printing_strip-nitto.jpg?1540597439)

## Peel & Stick

Carefully remove the protective film from the top layer of each strip. Position the LED strip over the plastic stick and slowly lower onto the tape. Inch the strip onto the tape by pressing it down. Try to keep the strip straight and true.

![3d_printing_strip-nitto-taped.jpg](https://cdn-learn.adafruit.com/assets/assets/000/064/669/medium640/3d_printing_strip-nitto-taped.jpg?1540597593)

## Tape Sticks

Place the second plastic strip over the LED strip and wrap clear tape around to secure them together. Hold the two strips together while apply the tape. Try to keep the edges straight and true.&nbsp;

## Test Strip

Power on the circuit to test out the LED strip. The connections should be capable of hand handing and a bit of movement but take care and treat it delicately.&nbsp;

![3d_printing_strip-lit-top.jpg](https://cdn-learn.adafruit.com/assets/assets/000/064/672/medium640/3d_printing_strip-lit-top.jpg?1540598567)

## Install LED Strip

Insert the LED strip assembly into the polycarbonate tubing. The light source is thin enough for it to wrap around the other side and illuminate the tubing. There is a slight variation in the brightness at close inspection but looks fully lit for the most part.

![3d_printing_strip-stick-install.gif](https://cdn-learn.adafruit.com/assets/assets/000/064/671/medium640thumb/3d_printing_strip-stick-install.jpg?1540598291)

## Plug The Tube

The LED strip assembly needs to be secured to the tube or else it will fall out. To keep it in place, use clear tape or hot glue to seal the bottom of the tube. A bit of light leaking near the bottom tube is fine and will actually add a slight lighting effect to the FeatherWing.

## Install Blade to Emitter

The polycarbonate tubing is press fitted into the blade emitter. Insert the 3-pin JST cable through the top opening of the emitter and carefully press the tubing. Firmly grasp the tubing and emitter while forcing them together. You may use... the force to do this (couldn't resist!).

![3d_printing_emitter-tube-install.gif](https://cdn-learn.adafruit.com/assets/assets/000/064/678/medium640thumb/3d_printing_emitter-tube-install.jpg?1540599455)

## Constructed NeoPixel Blade

At this point we can test out the LED strip again. Take a moment to make tweaks if necessary. I found the light diffusion in the blade construction to be interesting. Originally I used two strips of high density, [5050 NeoPixel strips](https://www.adafruit.com/product/1507). I was surprised to find a single [Mini Skinny NeoPixel strip](https://www.adafruit.com/product/2969) could decently diffuse the tubing. There is a slight variation in brightness on the backside but it's not that noticeable. Feel free to experiment with different strips, [DotStar LEDs](https://www.adafruit.com/product/2242) even! I constructed two blades with different lengths and can swap between the two!&nbsp;

![3d_printing_emitter-test.jpg](https://cdn-learn.adafruit.com/assets/assets/000/064/679/medium640/3d_printing_emitter-test.jpg?1540599705)

# Prop-Maker Lightsaber

## Board Assembly

## PCBs, Hardware, and Mounts

The Adafruit Feather and Prop-Maker FeatherWing PCBs are secured to separate mounting brackets. When the boards snap together they form a retainer that slides into the barrel of the hilt. Use the following suggested hardware to secure the PCBs.

![3d_printing_pcb-screws.jpg](https://cdn-learn.adafruit.com/assets/assets/000/064/680/medium640/3d_printing_pcb-screws.jpg?1540600266)

Info: 

## Hardware Supplies

- 4x [M2.5 x 8mm Flat Head Machine Screw](https://www.albanycountyfasteners.com/2-5-MM-x-45-Phillips-Flat-Head-Machine-Screw-p/1011-1002.htm)
  - 2x Feather M4
  - 2x Prop-Maker FeatherWing

- 4x [M2.5 x 4mm 3.5mm Threaded Insert](https://www.amazon.com/-/dp/B07R7LPT1C/)
  - 2x Feather M4
  - 2x Prop-Maker FeatherWing

## Secure Adafruit Feather

Hold the PCB and mounting bracket together while inserting a machine screw through one of the mounting holes. Use a screw driver to fasten the screws into the brackets. Fasten the threaded inserts to the screws tightly to secure the parts together. Reference the photos for correct orientation.

## Secure Adafruit Prop-Maker

Repeat the same process to secure the Prop-Maker FeatherWing to the mounting bracket. I used needle nose pliers to tightly fasten the threaded inserts. I found hex jam nuts to be too big for them to sit beside the headers.

## MicroUSB Extension

The orientation of the Feather PCB and Prop-Maker FeatherWing are in a way where the micro USB connector isn't easily accessible in the hilt. Use a micro USB cable and micro USB breakout board to create an extension. The microUSB breakout PCB features two mounting holes that can be used to secure the PCB to the Feather mounting bracket. To create this, I cut a micro USB cable (one with data wires!)&nbsp; and soldered it to the pins on the breakout.

## Install Feather to Prop-Maker

Orient the two PCBs so the headers and pins match. Carefully connect them by firmly pressing them together. The wiring and cables should be kink free with enough wiggle room.&nbsp;

## Install + Connect MicroUSB

Use 2x M2.5 x 8mm flat head machine screws to secure the micro USB breakout to the 3d printed mounting bracket for the feather. Plug in the microUSB cable to the Adafruit Feather with the cable inside the bracket. Double check your wiring for solid connections.

# Prop-Maker Lightsaber

## Final Assembly

## Install RGB LED Button

Insert the JST cables from the button through one of the holes in the clamp. Press the body of the button through the hole until it's flush. If needed, use a filing tool or hobby knife to open up the hole to loosen the tolerance.

![3d_printing_install-metal-button.gif](https://cdn-learn.adafruit.com/assets/assets/000/064/691/medium640thumb/3d_printing_install-metal-button.jpg?1540601912)

## Secure RGB LED Button

Insert the hex nut through the JST cable and fasten onto the thread of the button housing. Tightly fasten the hex nut to secure the button in place. Needle nose pliers can help assist in grasping the hex nut. The clamp is symmetrical so the buttons can be positioned in either direction.&nbsp;

![3d_printing_secure-metal-button.gif](https://cdn-learn.adafruit.com/assets/assets/000/064/692/medium640thumb/3d_printing_secure-metal-button.jpg?1540602054)

## Install Second Button

Repeat the same process to install the second push button. Most 16mm panel mounted buttons should fit within the clamp. Its about 40mm diameter internal, so as long as the length of the button does not exceed it should fit. Wiring can be adjusted and repositioned for more&nbsp; clearance.

![3d_printing_install-button-two.gif](https://cdn-learn.adafruit.com/assets/assets/000/064/693/medium640thumb/3d_printing_install-button-two.jpg?1540602283)

## Install Speaker to Pommel

Place the 40mm speaker into the pommel with the magnet driver facing up. The body of the speaker resides in the pommel with little wiggle room. It doesn't necessary "snap in". Instead, the battery will keep the speaker in place once installed.

![3d_printing_install-speaker-pommel.gif](https://cdn-learn.adafruit.com/assets/assets/000/064/695/medium640thumb/3d_printing_install-speaker-pommel.jpg?1540602605)

## Install Battery

Grab the power cell part and insert the 4400mAh lipo battery through the opening. The battery can only be inserted to one side (the one with the threads). The other side will prevent the battery from being inserted all the way through the part. The JST cable from the battery should be coming out through the top (the side with no threads).

![3d_printing_install-battery.gif](https://cdn-learn.adafruit.com/assets/assets/000/064/753/medium640thumb/3d_printing_install-battery.jpg?1540754554)

## Install Speaker Wiring

The molex pico connector is threaded through a cutout on the inside of the powercell. Pass the cable through and pull through the top of the powercell part. There's two available cutouts to allow the cable to pass through.

![3d_printing_speaker-wire-isntall.jpg](https://cdn-learn.adafruit.com/assets/assets/000/064/697/medium640/3d_printing_speaker-wire-isntall.jpg?1540603223)

## Powercell and Pommel

The orientation of the battery matters and needs to be installed with the JST cable facing the non-threaded opening. Be sure the side of the powercell with threads are close to the pommel. These two will be joined by twisting them together. Threads!

![3d_printing_speaker-battery.jpg](https://cdn-learn.adafruit.com/assets/assets/000/064/698/medium640/3d_printing_speaker-battery.jpg?1540603393)

## Install Pommel to Powercell

Place the pommel over the end of the powercell with the threading and begin to screw it on. Fasten the pommel until it's fully tightened. Be cautious of the wiring as it could be damaged by excessive twisting.

![3d_printing_speaker-pommel.gif](https://cdn-learn.adafruit.com/assets/assets/000/064/699/medium640thumb/3d_printing_speaker-pommel.jpg?1540603516)

## Install PCB mount&nbsp;

Grab the PCB assembly and begin to insert it through the barrel. The cables should go through first. Slowly work the PCB assembly into the barrel by carefully pressing it trough. It the tolerances are too tight, use a filing tool to sand the edges.

![3d_printing_install-pcb-mount.gif](https://cdn-learn.adafruit.com/assets/assets/000/064/700/medium640thumb/3d_printing_install-pcb-mount.jpg?1540607041)

## Barrel USB Wires

The micro USB breakout is accessible from the top of the barrel. Use this port to program the Adafruit Feather, change sounds, code, etc. Pull the wires through the bottom opening of the barrel. The bottom of the barrel will not allow the PCB assembly to pass all the way through.

## Install Clamp to Powercell

Grab the clamp and orient it with the Powercell. Insert the speaker and battery cables up through the clamp. Bring them together and press the clamp over the powercell. Line up the groves and twist to lock them together.&nbsp;

![3d_printing_clam-barrel-install.gif](https://cdn-learn.adafruit.com/assets/assets/000/064/703/medium640thumb/3d_printing_clam-barrel-install.jpg?1540607502)

## Connect Cables

Grab the JST connectors from the wiring assembly and check everything is accounted for. Bring the barrel close and plug in the JST connectors. Take a moment to thoroughly inspect the wiring and ensure the connections and polarities are matching.

## Connect Pico

Pull the pico connector from the speaker through the opening in barrel. Rotate the PCB assembly to better access the speaker port on the Prop-Maker FeatherWing. Plug in the connector to the speaker port.

![3d_printing_pico-connect.jpg](https://cdn-learn.adafruit.com/assets/assets/000/064/707/medium640/3d_printing_pico-connect.jpg?1540608259)

## Install Clamp to Barrel

Use your thumb to pull apart the clamp and insert the barrel. Twist the parts until they the notches line up and lock into place. Make sure not to dislodge the clamp from the powercell.&nbsp;

![3d_printing_clamp-barrel-connect.gif](https://cdn-learn.adafruit.com/assets/assets/000/064/708/medium640thumb/3d_printing_clamp-barrel-connect.jpg?1540608661)

## Connect Battery to Feather

Pull the JST cable from the battery through the opening in the barrel and connect it to the battery port on the Adafruit Feather. You may need to adjust the PCB retainer by turning it to one side to better access the port. If the PCB retainer gets stuck, you can use a file tool to loosen the tolerances by sanding the edges.

## Secure Clamp

Insert a M3 x 16mm long machine screw through the hole in tab of the clap. Press it all the way trough and insert a nylon lock nut onto the thread of the screw. Use a screwdriver and pliers to securely fasten together.

![3d_printing_fasten-hilt.gif](https://cdn-learn.adafruit.com/assets/assets/000/064/713/medium640thumb/3d_printing_fasten-hilt.jpg?1540609294)

## Connect NeoPixel Blade

Grab the 3-pin JST cable from the blade and insert it it into the NeoPixel port on the Prop-Maker FeatherWing. The PCB retainer may need to be adjusted to better access the JST port. Wrap the wiring inside of the barrel and begin to twist the emitter onto the barrel. The screw threads mate together and are fastened tightly.

## Threaded Emitter

The Emitter is designed to be removed by unscrewing it from the barrel. The micro USB port is accessible with the emitter removed for recharging the battery or programming the Adafruit Feather.

![3d_printing_hilt-emitter-fasten.gif](https://cdn-learn.adafruit.com/assets/assets/000/064/714/medium640thumb/3d_printing_hilt-emitter-fasten.jpg?1540609763)

## Test, tweak and Saber!

Give your saber a test by winging it around (careful not to knock anything over!). The durability of your saber lies in your construction. Take the time to true up any edges, shorten or adjust wires and cables.&nbsp;

![](https://cdn-learn.adafruit.com/assets/assets/000/064/717/medium800/3d_printing_hilt-final-test.jpg?1540609932)

# Prop-Maker Lightsaber

## Maintenance

## Recharging Battery

The Adafruit Feather series has a built-in battery charger with the microUSB port. However, it only has a charging rate of 100mAh – That means it would take 44 hours to fully recharge a 4400mAh battery!

For a faster charge, we recommend using the [Adafruit Micro-Lipo Charger](https://www.adafruit.com/product/1904)&nbsp;– This has a charging rate of 500mAh (0.5A jumper must be soldered) so it only takes 8 hours to fully recharge a 4400mAh battery.

Featured
### 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)
![Adafruit Micro-Lipo Charger for LiPo/LiIon Batt w/MicroUSB Jack connected to battery. ](https://cdn-shop.adafruit.com/640x480/1904-06.jpg)

Danger: 

## Reprogramming

The Adafruit Feather and Prop-Maker FeatherWing are accessible by unscrewing the blade emitter. Use the microUSB breakout extension to update code, flash new firmware or recharge the battery (although slowly!). Depending on how the Feather and FeatherWing are oriented, the opening in the hilt allows access to the RESET button, audio volume trim pot, and JST connectors for the speaker and battery.

![](https://cdn-learn.adafruit.com/assets/assets/000/064/752/medium800/3d_printing_laptop.jpg?1540748459)


## Guide Products

### Molex PicoBlade 2-pin Cable - 200mm

[Molex PicoBlade 2-pin Cable - 200mm](https://www.adafruit.com/product/3922)
When 0.1" is too big, and JST PH's too chunky, the ultra-slim "PicoBlade" is a reliable alternative. These are only 1.25mm pitch, but have a nice clicky connection.

This cable is nice and long, 200mm in fact. It's got both small form factor (won't take up a lot...

In Stock
[Buy Now](https://www.adafruit.com/product/3922)
[Related Guides to the Product](https://learn.adafruit.com/products/3922/guides)
### Adafruit Mini Skinny NeoPixel Digital RGB LED Strip - 144 LED/m

[Adafruit Mini Skinny NeoPixel Digital RGB LED Strip - 144 LED/m](https://www.adafruit.com/product/2969)
So thin. So mini. So teeeeeeny-tiny. It's the 'skinny' version of our classic NeoPixel strips!

These NeoPixel strips have 144 digitally-addressable pixel Mini LEDs per meter and are very affordable and are only 7.5 mm wide (0.3")&nbsp;if you remove the strip from the...

In Stock
[Buy Now](https://www.adafruit.com/product/2969)
[Related Guides to the Product](https://learn.adafruit.com/products/2969/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

- [Make a Zelda Master Sword with the RP2040 Prop-Maker Feather](https://learn.adafruit.com/master-sword-rp2040.md)
- [Color Mixing QT Py Cuff Bracelet](https://learn.adafruit.com/color-mixing-qt-py-cuff.md)
- [NeoPixel Run LED Arcade Game](https://learn.adafruit.com/pixel-chase-game.md)
- [Guardian Shield+ Zelda Breath of the Wild](https://learn.adafruit.com/guardian-shield-zelda-breath-of-the-wild.md)
- [LED Matrix Alarm Clock](https://learn.adafruit.com/led-matrix-alarm-clock.md)
- [Cartoon Character Clock](https://learn.adafruit.com/cartoon-character-clock.md)
- [NeoPixel Mini VU Meter](https://learn.adafruit.com/neopixel-mini-vu-meter.md)
- [3D Print Ratcatcher 2 Controller Device](https://learn.adafruit.com/3d-print-ratcatcher-2-controller-device-wand.md)
- [No-Solder LED Disco Tie with Bluetooth](https://learn.adafruit.com/no-solder-circuit-playground-bluetooth-disco-tie.md)
- [Light-Up Reactive Ukulele](https://learn.adafruit.com/light-up-reactive-ukulele.md)
- [Lightsaber Prop-Maker RP2040](https://learn.adafruit.com/lightsaber-rp2040.md)
- [PyPortal Alarm Clock](https://learn.adafruit.com/pyportal-alarm-clock.md)
- [Adafruit Circuit Playground Express](https://learn.adafruit.com/adafruit-circuit-playground-express.md)
- [LED Emerald with Circuit Playground Bluefruit](https://learn.adafruit.com/led-emerald-with-circuit-playground.md)
- [CircuitPython BLE Controlled NeoPixel Hat](https://learn.adafruit.com/circuitpython-feather-ble-neopixel-hat.md)
