“King of Darkness” EVIL’s Hand
I made the King of Darkness EVIL’s hand. The way of lighting changes depending on the movement of the motion sensor.
“King of Darkness” EVIL is a professional wrestler in New Japan Professional Wrestling. He emits evil rays from his hand.
Darkness dominates the midsummer.It’s All evil!@ 151012evil #NJPWWorld “New Japan Pro Wrestling World” live all 19 tournaments!All 19 Events, LIVE with ENGLISH commentary!! ▷ Https://t.co/Tj7UBJ4PjP ticket information, t
ou
rnament dates, etc. Check #G128 Special site!▶ ︎ Https://t.co/hJkacj96MX Pic.twitter.com/BRJzOcQkeN— Njpwworld (@njpwworld) July 11, 2018
目次
Adopting knit Wiring
It’s the best. Pic.twitter.com/1UtmrcUr6y
— Homemadegarbage (@H0meMadeGarbage) September 1, 2018
It is a flexible wiring like rubber. Metal fibers and ordinary insulation fibers are knitted in knit form.
Configuration
Parts
- 3-wire type for the connection Neopixel knit wiring
- Microcontroller Arduino Pro Mini 5v 16MHz
- Tape led Neopixel used one at the fingertips
-
Neopixel Ring-12 consecutive full-color serial led hand placed in palm
-
Lithium-ion polymer battery 110mah
- 9-Axis Motion sensor BNO055
Arduino code
The z-axis (Gravity) acceleration of the motion sensor bno055 controls the emission of neopixel.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 |
#include <Wire.h> #include <Adafruit_Sensor.h> #include <Adafruit_BNO055.h> #include <utility/imumaths.h> #include <Adafruit_NeoPixel.h> /* Set the delay between fresh samples */ #define BNO055_SAMPLERATE_DELAY_MS (10) Adafruit_BNO055 bno = Adafruit_BNO055(); Adafruit_NeoPixel ring = Adafruit_NeoPixel(12, A2, NEO_GRB + NEO_KHZ800); Adafruit_NeoPixel strip = Adafruit_NeoPixel(1, A0, NEO_GRB + NEO_KHZ800); int z; int bright = 255; unsigned long time; void setup(void) { Serial.begin(9600); Serial.println("Orientation Sensor Raw Data Test"); Serial.println(""); /* Initialise the sensor */ if(!bno.begin()) { /* There was a problem detecting the BNO055 ... check your connections */ Serial.print("Ooops, no BNO055 detected ... Check your wiring or I2C ADDR!"); while(1); } delay(1000); bno.setExtCrystalUse(true); Serial.println("Calibration status values: 0=uncalibrated, 3=fully calibrated"); ring.begin(); strip.begin(); ring.show(); // Initialize all pixels to 'off' strip.show(); // Initialize all pixels to 'off' ring.setBrightness(bright); strip.setBrightness(bright); } /**************************************************************************/ /* Arduino loop function, called once 'setup' is complete (your own code should go here) */ /**************************************************************************/ void loop(void) { /* Get a new sensor event */ sensors_event_t event; bno.getEvent(&event); z = event.orientation.z; /* Display the floating point data Z*/ Serial.print("\tZ: "); Serial.println(z); if(abs(z) > 130){ time = millis(); strip.clear(); strip.show(); for(uint16_t i=0; i<ring.numPixels(); i++) { ring.setPixelColor(i, ring.Color(255, 0, 0)); } ring.show(); //手のひら赤く点灯 while(millis() - time < 4000){ Serial.println("RED Light"); bno.getEvent(&event); z = event.orientation.z; if(abs(z) < 130){ break; } } //手のひら赤く点滅 while(abs(z) > 130){ Serial.println("RED Flash"); for(uint16_t i=0; i<ring.numPixels(); i++) { ring.setPixelColor(i, ring.Color(255, 0, 0)); } ring.show(); delay(50); ring.clear(); ring.show(); delay(50); bno.getEvent(&event); z = event.orientation.z; } }else{ ring.clear(); ring.show(); //指先 緑点灯 for(uint16_t i=0; i<strip.numPixels(); i++) { strip.setPixelColor(i, strip.Color(0, 255, 0)); } strip.show(); } delay(BNO055_SAMPLERATE_DELAY_MS); } |
Basic behavior
When you turn the motion sensor bno055 upside down, the neopixel glows green and the neopixel ring glows red when you turn it down.If you turn down for a period of time (4 seconds), the ring flashes.
#neopixel #LED #モーションセンサ #BNO055 Pic.twitter.com/wAnHab08tW
— Homemadegarbage (@H0meMadeGarbage) October 7, 2018
I wonder if the dark light can be reproduced in a suspicious: evil:.
Glove Production
The LED, the microcomputer, and the motion sensor are put on the black glove.
Knit wiring Processing
Put the LED on the fingertips of the glove to emit green light.
Solder one neopixels to the tip of the knit wiring.
The signal line (middle line) of the back with the neopixels is disconnected.I don’t want to do short I/O.
The soldering part was painted and covered with glue for protection.
The official soldering method is as follows:
Http://www.gunze.co.jp/technology/about/pdf/gunze_knit_howto.pdf
I make five knit wiring connected with the neopixels and place it on the glove.The wire of the thumb is cut long and the other finger and the signal line are wired, and five neopixels are connected to the parallel.
I used the iron adhesive double-sided tape which I bought with the Daiso for knit wiring and the adhesion of the glove.By the way, I purchased a black glove with Daiso.
Neopixels Ring Processing
Put a ring-shaped neopixels in the palm of your hand to emit a red flash.
I put masking tape on the light emitting part of the neopixels to paint black.The masking tape was cut with a hole punch (4mm diameter) of the Daiso and pasted one at a
Matt Black Acrylic Spray to take the masking tape and glue it to the palm of the glove.The wiring is lead to the back side of the hand through the glove inside.
Microcomputer arrangement
The Arduino Pro Mini and sensor bno055 are wired and glued to the glove with powerful double-sided tape.
Glue the ring of the black plastic plate with a slide switch to the index finger.The wiring of the switch was soldered between the microcomputer and the Lipo battery of the back of the hand through the glove.Turn on/off the glove with this switch.
Evil Hand Making # Losingobernablesdejapon #njpwworld #neopixel #LED #ニット配線 pic.twitter.com/sxV9KUIIRx
— Homemadegarbage (@H0meMadeGarbage) October 8, 2018
When the back of the hand is peeled off, it emits a green flash from the fingertip, and the downward light glows red.
The neopixels of the knit wiring and the fingertip (the light emitting part masking) is painted black with acrylic paint and hides the microcomputer with a black cloth.The hidden cloth is removable with velcro.
Operation
The glove which emits light that cuts through the darkness was able to be made!Yay!!
The BGM of the video is Diamond Head ‘ Am i Evil? ‘ (I think the cover of Metallica is more famous).I tried to play it after a long time.
It’s me who controls tricks, or treats, to treat!Well, remember!