halloween Related Articles
Stay Ahead with Expert Electronics Insights,
Industry Trends, and Innovative Tips
- Electronic Components
- News Room
- General electronic semiconductor
- Components Guide
- Sort by
- Robots
- Transmitters
- Capacitors
- IC Chips
- PCBs
- Connectors
- Amplifiers
- Memory
- LED
- Diodes
- Transistors
- Battery
- Oscillators
- Resistors
- Transceiver
- RFID
- FPGA
- Mosfets
- Sensor
- Motors, Solenoids, Driver Boards/Modules
- Relays
- Optoelectronics
- Power
- Transformer
- Fuse
- Thyristor
- potentiometer
- Development Boards
- RF/IF
- Semiconductor Information
- Sensors
- PCB
- transistor
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 takes almost no time to buildstill impresses the pants off your friendsis appropriate for all ages So at first,we should prepare some components as follow: Knit Hat in Red, Green, Blue or White,etcBlack T-shirtElectrical TapeHot Glue Gun and GlueSoldering IronSolderQduino Mini Dev BoardWS2812 LED StripLiPo Battery 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 colorvoid 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 On 2017-10-25
Join our mailing list!
Be the first to know about new products, special offers, and more.
Feature Posts
How Resistors Work: From Basic Principles to Advanced Applications2025-07-30
DC Switching Regulators: Principles, Selection, and Applications2025-05-30
FPGA vs CPLD: In-depth Analysis of Architecture, Performance and Application2025-05-07
MOSFET Technology: Essential Guide to Working Principles & Applications2025-05-04
SMD Resistor: Types, Applications, and Selection Guide2025-04-30