Skip to content

9. Wearables

Research

from top to bottom,Amanda Jarvis, how to get what you want, MIT


References & Inspiration

My heart on my dress, dB Jacket, Artificial Intelligence and its False Lies

TOOLS FOR DOCUMENTATION

TOOLS FOR DESIGN & CODING

PROCESS

LED STRIP

  • DANI'S CLASS

This schematic 1 was obtained by..


CODE

#include <Adafruit_NeoPixel.h>
#define ONBOARD_NEOPIXEL 8
#define STRIP_LENGTH 4
#define STRIP_PIN 9

Adafruit_NeoPixel strip = Adafruit_NeoPixel(STRIP_LENGTH, STRIP_PIN, NEO_RGB);
Adafruit_NeoPixel onboard = Adafruit_NeoPixel(1, ONBOARD_NEOPIXEL, NEO_GRB); 
//different manufactors so we switch the order so its always RGB

void setup() {
  // put your setup code here, to run once:
  onboard.begin();
  onboard.setBrightness(10);
  onboard.show();
  strip.begin();
  strip.show();
  strip.setBrightness(40);

}

void loop() {
  // put your main code here, to run repeatedly:
  onboard.setPixelColor(0, onboard.Color(100, 230, 200));
  onboard.show();


  strip.setPixelColor(0, strip.Color(0, 0, 255));
  strip.setPixelColor(1, strip.Color(230, 30, 255));
  strip.setPixelColor(2, strip.Color(0, 0, 255));
  strip.setPixelColor(3, strip.Color(230, 30, 255));
  strip.show();
  delay(500);

  strip.setPixelColor(3, strip.Color(0, 0, 255));
  strip.setPixelColor(2, strip.Color(230, 30, 255));
  strip.setPixelColor(1, strip.Color(0, 0, 255));
  strip.setPixelColor(0, strip.Color(230, 30, 255));
  strip.show();
  delay(500);

  strip.setPixelColor(2, strip.Color(0, 0, 255));
  strip.setPixelColor(1, strip.Color(230, 30, 255));
  strip.setPixelColor(0, strip.Color(0, 0, 255));
  strip.setPixelColor(3, strip.Color(230, 30, 255));
  strip.show();
  delay(500);

  strip.setPixelColor(1, strip.Color(0, 0, 255));
  strip.setPixelColor(0, strip.Color(230, 30, 255));
  strip.setPixelColor(3, strip.Color(0, 0, 255));
  strip.setPixelColor(2, strip.Color(230, 30, 255));
  strip.show();
  delay(500);

}

RESULT LED STRIP

THERMOCHROMIC INK

TOOLS FOR THERMOCHROMIC INK

  • Pots
  • Color base
  • Spoon
  • Thermochromic Ink
  • Screen Printing frames
  • Scoop Coater

MOTION!!!


CODE

const int tempSensorPin = A7; 
const int electromagnetPin = 9; 
const float thresholdTemp = 29.0; 

void setup() {
  pinMode(electromagnetPin, OUTPUT); 
  pinMode(tempSensorPin, INPUT); 
  digitalWrite(electromagnetPin, LOW); 
  Serial.begin(9600); 
}

void loop() {
  int sensorValue = analogRead(tempSensorPin);
  Serial.println(sensorValue);
  float temperature = sensorValue * (-0.333) + 83.0;

  Serial.print("Temperature: ");
  Serial.print(temperature);
  Serial.println(" °C");

  if (temperature > thresholdTemp) {
    digitalWrite(electromagnetPin, HIGH); 
    Serial.println("Electromagnet ON");
  } else {
    digitalWrite(electromagnetPin, LOW); 
    Serial.println("Electromagnet OFF");
  }

  delay(200); 
}

Fabrication files


  1. File: xxx 

  2. File: xxx