Introduction: Box Suit DAMBOL

About: We are Family. Our hobby is D.I.Y. and to Live.

I made a robot costume with cardboard.

It is decorated with LED tape.

Step 1: Leg Making

Cut the cardboard and assemble it, fix the microcomputer, battery, switch inside with glue gun.

To increase the strength paint the surface with adhesive and dry. It gets transparent as it dries and looks like a varnish.


It is completed by covering old boots.

Step 2: Leg Circuit Configuration

Parts

  • Arduino Pro Mini 5V/16MHz
  • LED tape NeoPixel

  • Power switch

  • 9V battery

Step 3: Leg Arduino Code

LED shake brightness with random number, so that it blinks twinkle.

#include <adafruit_neopixel.h>
#ifdef __AVR__
  #include <avr power.h="">
#endif
 
#define PIN1 A3
#define PIN2 A2
 
Adafruit_NeoPixel strip1 = Adafruit_NeoPixel(30, PIN1, NEO_GRB + NEO_KHZ800);
Adafruit_NeoPixel strip2 = Adafruit_NeoPixel( 7, PIN2, NEO_GRB + NEO_KHZ800);
 
//Flickering LEDs with random numbers<br>int lumMin = 30;
float lum[30] = {1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 
                 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0};
unsigned long interval = 0;

 
void setup() {
  // This is for Trinket 5V 16MHz, you can remove these three lines if you are not using a Trinket
  #if defined (__AVR_ATtiny85__)
    if (F_CPU == 16000000) clock_prescale_set(clock_div_1);
  #endif
  // End of trinket special code
 
 
  strip1.begin();
  strip2.begin();
  strip1.setBrightness(45);
  strip2.setBrightness(45);
  strip1.show(); // Initialize all pixels to 'off'
  strip2.show();
}
 
void loop() {
  if (millis() - interval > 100) {
    interval = millis();
    for(int i=0; i < strip1.numPixels(); i++){
      lum[i] = (float)(random(lumMin, 101)/100.0);
    }
  }
  
  //LED ON
  for(int i=0; i < <strip1.numpixels(); i++){
    strip1.setpixelcolor(i, strip1.color(255 * lum[i], 0, 0));
    strip2.setPixelColor(i, strip1.Color(255 * lum[i], 255 * lum[i], 255 * lum[i]));
   }
   strip1.show();
   strip2.show();
}

Step 4: Arm Making

Make a box with a hole through which hands pass through with cardboard, fix the parts inside and complete the LED tape.

LED tapes can shine white.

Like the feet, apply the adhesive on the surface and dry it.

Step 5: Arm Circuit Configuration

Parts

  • Digispark
  • LED tape NeoPixel
  • Power switch
  • 9V battery

Step 6: Arm Arduino Code

I like to shoot my LEDs with random numbers as well as feet.

#include <adafruit_neopixel.h>
#ifdef __AVR__
  #include <avr power.h="">
#endif
 
#define PIN1 0
 
Adafruit_NeoPixel strip1 = Adafruit_NeoPixel(9, PIN1, NEO_GRB + NEO_KHZ800);
 
//Flickering LEDs with random numbers
int lumMin = 30;
float lum[9] = {1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0};
unsigned long interval = 0;


void setup() {
  // This is for Trinket 5V 16MHz, you can remove these three lines if you are not using a Trinket
  #if defined (__AVR_ATtiny85__)
    if (F_CPU == 16000000) clock_prescale_set(clock_div_1);
  #endif
  // End of trinket special code
 
  strip1.begin();
  strip1.setBrightness(45);
  strip1.show(); // Initialize all pixels to 'off'
}
 
void loop() {
  if (millis() - interval > 100) {
    interval = millis();
    for(int i=0; i < strip1.numPixels(); i++){
      lum[i] = (float)(random(lumMin, 101)/100.0);
    }
  }
  
  //LED ON
  for(int i=0; i < strip1.numPixels(); i++){
    strip1.setPixelColor(i, strip1.Color(255 * lum[i], 255 * lum[i], 255 * lum[i]));
  }
   strip1.show();
}

Step 7: Head Making

Cut off the creation with cardboard, fix the parts inside and assemble, paste the LED tape and wire it to the microcontroller.

For fixing to the head, fix the rubber string and transparent PVC hemisphere with glue gun.

Step 8: Head Circuit Configuration

Parts

  • Adafruit Trinket 3.3V
  • LED tape NeoPixel
  • Power switch
  • 9V battery
  • Transparent vinyl chloride hemisphere

Step 9: Head Arduino Code

I make the first and last five LED tapes of 14 cells white, and the middle four shine red.

#include <adafruit_neopixel.h>
#ifdef __AVR__
  #include <avr power.h="">
#endif
 
#define PIN1 0
 
Adafruit_NeoPixel strip1 = Adafruit_NeoPixel(14, PIN1, NEO_GRB + NEO_KHZ800);
 
//Flickering LEDs with random numbers
int lumMin = 30;
float lum[14] = {1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0};
unsigned long interval = 0;


void setup() {
  // This is for Trinket 5V 16MHz, you can remove these three lines if you are not using a Trinket
  #if defined (__AVR_ATtiny85__)
    if (F_CPU == 16000000) clock_prescale_set(clock_div_1);
  #endif
  // End of trinket special code
 
  strip1.begin();
  strip1.setBrightness(45);
  strip1.show(); // Initialize all pixels to 'off'
}
 
void loop() {
  if (millis() - interval > 100) {
    interval = millis();
    for(int i=0; i < strip1.numpixels(); i++){
      lum[i]="(float)(random(lumMin," 101)="" 100.0);
    }
  }

  //LED ON
  for(int i = 0; i < strip1.numpixels(); i++){
    strip1.setPixelColor(i,strip1.color(255 * lum[i], 255 * lum[i], 255 * lum[i]));
  }

  for(int i = 5; i < 9; i++){
    strip1.setPixelColor(i, strip1.Color(255 * lum[i], 0, 0));
  }

  strip1.show();
}

Step 10: Body Making

I made it with cardboard as well.

The upper part was opened so we could fix the Velcro with the shoulder.

Step 11: Body Circuit Configuration

Parts

  • Adafruit Pro Trinket 3V/12MHz
  • LED tape NeoPixel
  • Power switch
  • 9V battery

Step 12: Body Arduino Code

#include <adafruit_neopixel.h>
#ifdef __AVR__
  #include <avr power.h="">
#endif

#define PIN1 A5
#define PIN2 A4
#define PIN3 A3
#define PIN4 A2

Adafruit_NeoPixel strip1 = Adafruit_NeoPixel(36, PIN1, NEO_GRB + NEO_KHZ800);
Adafruit_NeoPixel strip2 = Adafruit_NeoPixel( 10, PIN2, NEO_GRB + NEO_KHZ800);
Adafruit_NeoPixel strip3 = Adafruit_NeoPixel( 15, PIN3, NEO_GRB + NEO_KHZ800);
Adafruit_NeoPixel strip4 = Adafruit_NeoPixel( 18, PIN4, NEO_GRB + NEO_KHZ800);

//Flickering LEDs with random numbers
int lumMin = 30;
float lum[36] = {1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 
                 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0,
                 1.0, 1.0, 1.0, 1.0, 1.0, 1.0};
unsigned long interval = 0;


void setup() {
  // This is for Trinket 5V 16MHz, you can remove these three lines if you are not using a Trinket
  #if defined (__AVR_ATtiny85__)
    if (F_CPU == 16000000) clock_prescale_set(clock_div_1);
  #endif
  // End of trinket special code</p><p>  strip1.begin();

  strip2.begin();
  strip3.begin();
  strip4.begin();
  strip1.setBrightness(45);
  strip2.setBrightness(45);
  strip3.setBrightness(45);
  strip4.setBrightness(45);
  strip1.show();
  strip2.show(); // Initialize all pixels to 'off'
  strip3.show();
  strip4.show();
}

void loop() {
  if (millis() - interval > 100) {
    interval = millis();
    for(int i=0; i<strip1.numpixels(); i++){
      lum[i] = (float)(random(lumMin, 101)/100.0);
    }
  }

  //LED ON
  for(int i = 0; i < strip1.numpixels(); i++){
    strip1.setpixelcolor(i, strip1.color(255 * lum[i], 0, 0));
  }
  for(int i=14; i<22; i++){
    strip1.setPixelColor(i, strip1.Color(255 * lum[i], 255 * lum[i], 0));
  }
  for(int i = 0; i<strip2.numpixels(); i++){
    strip2.setPixelColor(i, strip1.Color(255 * lum[i], 255 * lum[i], 0));
  }
  for(int i=0; i < <strip3.numpixels(); i++){
    strip3.setpixelcolor(i, strip1.color(0, 0, 255 * lum[i]));
  }
  for(int i=0; i < strip4.numPixels(); i++){
    strip4.setPixelColor(i, strip1.Color(0, 0, 255 * lum[i]));
  }
  for(int i=7; i<11; i++){
    strip4.setPixelColor(i, strip1.Color(255 * lum[i], 255 * lum[i], 0));
  }
  strip1.show();
  strip2.show();
  strip3.show();
  strip4.show();
}
Halloween Contest 2018

Participated in the
Halloween Contest 2018