Phone

    00852-6915 1330
  • Contents

This is a good day because kynix will share an interesting project with you -- Luminous Halloween Costume !

 

 

Halloween is coming soon and I know at least that some of you are still procrastinationg you costume build. That's ok,I would share a fun and easy luminous Halloween costume that

 

  1. takes almost no time to build

  2. still impresses the pants off your friends

  3. is appropriate for all ages

 

So at first,we should prepare some components as follow:

 

 

Next,let's start to make it.

 

The first step,I made the shirt which will represent the anode and cathode of the LED.Ake the electrical tape and cut it into two pieces. One should be about 2 inches shorter than your shirt, and the other about 4 inches shorter. On each piece cut one edge into a point. Then place them on the shirt parallel to each other, pointing downward from the collar. Set this aside.

 

The second step, place the hat on whoever will be wearing the costume — or someone with a head similar in size. Fold up the bottom to make a small lip. Starting in the back, hot glue the LED strip to the hat, wrapping it around the hat from the bottom and moving up. Cut the LED strip when there is about 1 to 2 inches of hat left at the top.

 

Next,take the hat off and count the number of LEDs on it.

 

After that,we need to use the program provided below to program Qduino.You will need to make two small edits. First, update numPix variable to the number of LEDs on your hat. Then find the four colorWipe commands in the loop function. You will notice that I have included red, green, blue and white. Comment out the lines that are not the same color as your hat. If you have not already, you will need to install Adafruit’s Neopixel Library and the Qduino board into your board manager in Arduino. For more instructions on how to do this, please visit this Qduino Hookup Guide and our Arduino Library Installation tutorial. Upload your program using the code below:

//Melissa Felderman for SparkFun Electronics. Functions have been taken from the adafruit neopixel library example code. 

 

#include <Adafruit_NeoPixel.h>

 

#define PIN 2

 

int numPix=150;

 

Adafruit_NeoPixel strip = Adafruit_NeoPixel(numPix, PIN, NEO_GRB + NEO_KHZ800);

 

void setup() {

 

strip.begin();

  strip.show(); // Initialize all pixels to 'off'

}

 

void loop() {

  // comment out all lines except the color you want on your hat.

  colorWipe(strip.Color(255, 0, 0), 50); // Red

  colorWipe(strip.Color(0, 255, 0), 50); // Green

  colorWipe(strip.Color(0, 0, 255), 50); // Blue

  colorWipe(strip.Color(0, 0, 0), 50); // White

 

}

 

// Fill the dots one after the other with a color

void colorWipe(uint32_t c, uint8_t wait) {

  for(uint16_t i=0; i<strip.numPixels(); i++) {

    strip.setPixelColor(i, c);

    strip.show();

    delay(wait);

  }

}

 

Finally,Solder the LED strip’s leads to the Qduino. The DIN lead should go to D2 on the Qduino, VCC to VCC, and GND to GND. Pop in a LiPo battery to your Qduino and turn on to test.

 

 

Put on the black shirt and then the hat. Fold the bottom edge over again to make a lip. 

Hide the Qduino and LiPo inside, and then turn it on. Now you are a luminous human!

 

Kynix

Kynix was founded in 2008, specializing in the electronic components distribution business. We adhere to honesty and ethics as our business philosophy and have gradually established an excellent reputation and credibility in our international business. With the accurate quotation, excellent credit, reasonable price, reliable quality, fast delivery, and authentic service, we have won the praise of the majority of customers.

Join our mailing list!

Be the first to know about new products, special offers, and more.

Leave a Reply

We'd love to hear from you! Feel free to share your thoughts and comments below. Rest assured, your email address will remain private.

Name *
Email *
Captcha *
Rating:

Kynix

  • How to purchase

  • Order
  • Search & Inquiry
  • Shipping & Tracking
  • Payment Methods
  • Contact Us

  • Tel: 00852-6915 1330
  • Email: info@kynix.com
  • Follow Us

authentication

Kynix

© 2008-2026 kynix.com all rights reserved.