12. Skin Electronics#

Research#

my project of the week#

This week I would like to test the technique of creating a mask with electronical components and liquid latex.

While waiting of the delivery of my electronical components (gemma board and neoPixels), I start to create the base of my mask with the Lasercutter.

Therefore I created a file for the lasercutter. Here you can download the file: Illustrator file for lasercutter

And as in my very first weekly task, I chose my beloved SnapPap as material. A great material to laser and sew.

After lasering the mask we soldered the cables between Gemma Board and the neopixels. There I had the great help of our Jonas.

Code NeoPixel GEMMA Mask#

#include <Adafruit_NeoPixel.h>

#define NUM_LEDS 5 // Number of NeoPixels
#define PIN 1      // DIGITAL pin # where NeoPixels are connected

// IMPORTANT: Avoid connecting on a live circuit...
// if you must, connect GND first.

Adafruit_NeoPixel strip = Adafruit_NeoPixel(NUM_LEDS, PIN);

void setup() {
  strip.begin();
  strip.setBrightness(100); // 100/255 brightness (about 40%)
  strip.show();             // Initialize all pixels to 'off'
}

void loop() {
  for(int j=0; j<256; j++) {
    for(int i=0; i<NUM_LEDS; i++) {
      strip.setPixelColor(i, Wheel((i * 8 + j) & 255));
    }
    strip.show();
    delay(20);
  }
}

// Input a value 0 to 255 to get a color value.
// The colours are a transition r - g - b - back to r.
uint32_t Wheel(byte WheelPos) {
  if(WheelPos < 85) {
    return strip.Color(WheelPos * 3, 255 - WheelPos * 3, 0);
  } else if(WheelPos < 170) {
    WheelPos -= 85;
    return strip.Color(255 - WheelPos * 3, 0, WheelPos * 3);
  } else {
    WheelPos -= 170;
    return strip.Color(0, WheelPos * 3, 255 - WheelPos * 3);
  }
}

The soldered neopixels glow in different colors. Simply connected to the programmed Gemmaboard. After the sketch was loaded onto the board, the connection to the computer was interrupted and a power bank was plugged in as power source.

Video#

via GIPHY

via GIPHY

My colleague Isabel wears this wonderful luminous mask here. :)

via GIPHY

via GIPHY