loading

I made this color-changing crystal staff for my cosplay at C2E2 2017.

Step 1: Create the Faux wood staff

Build the staff out of 1/2 inch PVC about 4.5 feet long.

Ruffed up the surface using a coarse sandpaper and a rasp. Stain the staff a walnut brown using Rust-oleum fast drying wood stain.

Step 2: Create the color changing crystal

Use an arduino nano, three resistors, and two RGB LEDs to make a random color generator.

Attach the LEDs so they shine into a quartz crystal and attach to one end of the staff.

Step 3: Add power source

Attach the + power cable to a stack of rechargeable AA batteries using a rare earth magnet.

Attach 8 batteries together using rare earth magnets between them.

Attach the - power cable to the end of the stack of AA batteries using a final rare earth magnet.

Seal the end using a rubber stopper.

The staff continues to work for many hours.

Step 1: Create Faux Wood Staff

Create the faux wood staff using the technique: https://www.instructables.com/id/Make-PVC-Look-Lik...

Instead of using Artisian oil, you can use Rust-oleum wood stain, dark Walnut

Step 2: Create Color Changing Crystal

Add an Arduino Nano, three 220 ohm resistors, and two RGB LEDs as shown in the figure.

Upload the following code:

int red = 11; //this sets the red led pin
int green = 10; //this sets the green led pin
int blue = 9; //this sets the blue led pin

int redNow;
int blueNow;
int greenNow;
int redNew;
int blueNew;
int greenNew;

void setup()
{ //this sets the output pins
  pinMode(red, OUTPUT);
  pinMode(green, OUTPUT);
  pinMode(blue, OUTPUT);
  redNow = random(255);
  blueNow = random(255);
  greenNow = random(255);
  redNew = redNow;
  blueNew = blueNow;
  greenNew = greenNow;
}

#define fade(x,y) if (x>y) x--; else if (x<y) x++;

void loop()
{
  analogWrite(blue, blueNow);
  analogWrite(red, redNow);
  analogWrite(green, greenNow);
  redNew = random(255);
  blueNew = random(255);
  greenNew = random(255);
  // fade to new colors
  while ((redNow != redNew) ||
    (blueNow != blueNew) ||
    (greenNow != greenNew))
  {
    fade(redNow,redNew)
    fade(blueNow,blueNew)
    fade(greenNow,greenNew)
    analogWrite(blue, blueNow);
    analogWrite(red, redNow);
    analogWrite(green, greenNow);
    delay(100);
  }
}

Insert the NANO into the staff and hot-glue the LEDs to a quartz crystal (and the crystal tot he staff) and add decorative twine.

Here are a few places to purchase the quartz crystal:

https://www.amazon.com/Charminer-160-180MM-6-3-7-1-Healing-Crystals/dp/B01K7PXQWQ/ref=pd_sim_121_6?_encoding=UTF8&pd_rd_i=B01K7PXQWQ&pd_rd_r=2VH13HHG140QF4PMQ2YD&pd_rd_w=ysXBf&pd_rd_wg=uuyIw&psc=1&refRID=2VH13HHG140QF4PMQ2YD

https://www.amazon.com/gp/product/B00K95EO62/ref=oh_aui_search_detailpage?ie=UTF8&psc=1

Be sure to attach long wires to the power leads since we will power the device using batteries in the next step.

The staff will change colors randomly once power is applied. The imperfections of the crystal allow colorful shafts of light to shine through. Some of the random colors are shown.

Step 3: Add Power Source

To power the Arduino and Crystal, use 8 rechargeable batteries connected to the + and - pins shown in the previous Step.

Attach a length of fishing line to the '+' wire so you can pull the stack of battery back out of the staff when you need to recharge the batteries.

Connect the '+' Positive wire to the first battery by using the rare earth magnet to connect the wire to the Positive end of the battery.

Add a rare earth magnet to connect and hold each subsequent battery in place as you press the 'battery train' into the staff.

Connect the '-' Negative wire to the bottom of the last battery also using a rare earth magnet.

You should see the crystal light up.

Press the batteries into the staff and secure the bottom using a rubber stopper. Be sure to allow a small length of the fishing wire to protrude so you can remove the batteries when needed.

This set up worked well for me at C2E2 2017 and powers the staff for at least 24 hours straight.

Best Wishes.

<p>LOVE THIS!! If you're savvy with molds, you could cast a crystal from resin, however it would not have all the natural matrix inclusions that real quartz has. Great job on the PVC wood!!</p>
<p>Thanks. I spoke with someone at the convention who asked if I had grown the crystal myself. I hadn't. Apparently it is possible, though when I was looking for DIY crystals I didn't find anything that had the look I was hoping for, so I purchased the stone. The PVC wood stain I used seems to be holding up to fairly well, although I now notice a few tiny dings in the 'wood' probably from hitting it accidentally as I walked around with it. A sealer coat probably should have been used. Thanks again for your instructible!</p>
<p>You're welcome. I'm just floored that people are using it to make awesome things, like crystal staffs and what-not!! </p>

About This Instructable

479views

27favorites

License:

Bio: I'm an aerospace engineer by trade but am interested in astronomy, robotics, CNC machines, Arduinos, you name it.
More by maewert:Color Changing Crystal Staff for Cosplay Advent Calendar Box Internet Island 
Add instructable to: