Hackster is hosting Hackster Holidays, Ep. 7: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Friday!Stream Hackster Holidays, Ep. 7 on Friday!
Amie DD
Published © GPL3+

Zelda Princess Hilda LED Staff Powered by Arduino

Arduino Gemma and Neopixel LEDs to give some life to my 3D Printed Princess Hilda Staff: Zelda Link Between Worlds.

IntermediateShowcase (no instructions)5,807
Zelda Princess Hilda LED Staff Powered by Arduino

Things used in this project

Hardware components

NeoPixel Ring: WS2812 5050 RGB LED
Adafruit NeoPixel Ring: WS2812 5050 RGB LED
Neopixel Ring 12 for the lower part of the staff
×1
Arduino Gemma
Arduino Gemma
×2
Adafruit Li-Ion Battery 150mAh
×1
Adafruit Neopixel Stick
NeoPixel Sticks for the Triforce
×2

Software apps and online services

Arduino IDE
Arduino IDE

Hand tools and fabrication machines

Soldering iron (generic)
Soldering iron (generic)

Story

Read more

Schematics

Princess Hilda Staff

Princess Hilda Staff Neopixel Ring (Lower part)

Princess Hilda Staff Schematic

Princess Hilda Staff Schematic (lower part of staff)

Princess Hilda Staff Triforce

Princess Hilda Staff Triforce LED Neopixels and Gemma

Princess Hilda Staff Triforce Schematic

Princess Hilda Staff Triforce LED Neopixels and Gemma

Code

Zelda Link Between Worlds: Princess Hilda Staff LEDs

Arduino
RING LED (Lower Par of Staff) Princess Hilda LEDs for Neopixel Ring powered by Arduino Gemma
// Amie DD www.amiedd.com
// Princess Hilda Staff LED Ring 12
// 12/1/2016
// released under the GPLv3 license to match the rest of the AdaFruit NeoPixel library
// NeoPixel Ring simple sketch (c) 2013 Shae Erisson

#include <Adafruit_NeoPixel.h>
#ifdef __AVR__
  #include <avr/power.h>
#endif

//PIN 1 on Arduino Gemma
#define PIN            1

// 12 Ring Neopixel LED
#define NUMPIXELS      12

Adafruit_NeoPixel pixels = Adafruit_NeoPixel(NUMPIXELS, PIN, NEO_GRB + NEO_KHZ800);

int delayval = 500; // delay for half a second

void setup() {

  pixels.begin(); // This initializes the NeoPixel library.
}

void loop() {

  // For a set of NeoPixels the first NeoPixel is 0, second is 1, all the way up to the count of pixels minus one.

  for(int i=0;i<NUMPIXELS;i++){

    // pixels.Color takes RGB values, from 0,0,0 up to 255,255,255
    pixels.setPixelColor(i, pixels.Color(0, 220, 0)); // Princess Hilda Green Glow for Staff and Triforce

    pixels.show(); // 

    delay(delayval); // Delay for a period of time (in milliseconds).

  }
}

Princess Hilda Staff Triforce

Arduino
Princess Hilda Staff Triforce Neopixel sticks
// Amie DD www.amiedd.com
// Princess Hilda Staff LED Triforce
// 12/1/2016
// released under the GPLv3 license to match the rest of the AdaFruit NeoPixel library
// NeoPixel Ring simple sketch (c) 2013 Shae Erisson

#include <Adafruit_NeoPixel.h>
#ifdef __AVR__
  #include <avr/power.h>
#endif

//PIN 1 on Arduino Gemma
#define PIN            1

// 2 Neopixel LED Sticks (8 each)
#define NUMPIXELS      16

Adafruit_NeoPixel pixels = Adafruit_NeoPixel(NUMPIXELS, PIN, NEO_GRB + NEO_KHZ800);

int delayval = 500; // delay for half a second

void setup() {

  pixels.begin(); // This initializes the NeoPixel library.
}

void loop() {

  // For a set of NeoPixels the first NeoPixel is 0, second is 1, all the way up to the count of pixels minus one.

  for(int i=0;i<NUMPIXELS;i++){

    // pixels.Color takes RGB values, from 0,0,0 up to 255,255,255
    pixels.setPixelColor(i, pixels.Color(0, 220, 0)); // Princess Hilda Green Glow for Staff and Triforce

    pixels.show(); // 

    delay(delayval); // Delay for a period of time (in milliseconds).

  }
}

Credits

Amie DD
8 projects • 76 followers
Maker of Things

Comments