Skip to content

9. Wearables

Research and Ideation

This week is all about wearable garments, and I’m excited to explore lights, movements, and sound! Inspired by fireflies, I’m focusing on their shapes, colors, and fluid motions to create designs that mimic their magical glow and delicate flight, blending technology with nature’s beauty.

describe what you see in this image

Process and workflow

Flip Dot

we stared the week by exploring the flip dot

we started burning the thread to reach the copper thread inside and burn let's say the cover of the thread then we make sure that we burn enough by usig the mulimeter to check the RESISTANCE

Then we started wraping the thread to get the shape we want

After that we put it on a fabric and add a piece og magnetic inside the circle we made

we use 9v battery and place it on the two side of the thread then we do with opposite way

Nitinol Wire

LDR Sensor

LED

//
int LED1 = 2;          // LED Pin 2 (to indicate whether it's dark or bright)
int sensorPin = A2;    // Light sensor connected to analog pin A2
int value = 0;          // Variable to store light sensor reading

void setup() {
  Serial.begin(9600);   // Start the serial communication at 9600 baud rate
  pinMode(LED1, OUTPUT); // Set LED pin as an output
}

void loop() {
  value = analogRead(sensorPin);  // Read the value from the light sensor

  // Print the actual sensor value to the Serial Monitor for debugging
  Serial.print("The analog reading of LDR is ");
  Serial.println(value);  // Print the sensor value to Serial Monitor

  // Turn on LED if it's dark (light sensor value is low)
  if (value < 40) {  // Adjust this threshold based on your environment and the LDR
    digitalWrite(LED1, HIGH);  // LED on (dark)
  } else {
    digitalWrite(LED1, LOW);   // LED off (bright)
  }

  delay(1000);  // Small delay to avoid flooding the Serial Monitor
}

LED Strip (1)

// #include <Adafruit_NeoPixel.h>

#define LED_PIN 6      // Pin connected to the LED strip
#define NUM_LEDS 10    // Number of LEDs in the strip
#define LDR_PIN A0     // Analog pin connected to the photoresistor

Adafruit_NeoPixel strip(NUM_LEDS, LED_PIN, NEO_GRB + NEO_KHZ800);

void setup() {
  strip.begin();       // Initialize the LED strip
  strip.show();        // Turn off all LEDs initially
  Serial.begin(9600);  // For debugging the LDR readings
}

void loop() {
  int lightLevel = analogRead(LDR_PIN);  // Read the light level (0-1023)
  Serial.println(lightLevel);            // Print the value for debugging

  int threshold = 440; // Adjust this value based on your environment

  if (lightLevel > threshold) {
    // Room lights are ON, turn on LEDs
    for (int i = 0; i < NUM_LEDS; i++) {
      strip.setPixelColor(i, strip.Color(0, 255, 255, 50)); // White light
    }
  } else {
    // Room lights are OFF, turn off LEDs
    for (int i = 0; i < NUM_LEDS; i++) {
      strip.setPixelColor(i, strip.Color(0, 0, 0)); // Off
    }
  }

  strip.show(); // Update LED strip
  delay(100);   // Small delay for stability
}

LED Strip (2

)

Servo Motor

Use the three backticks to separate code.

// the setup function runs once when you press reset or power the board
void setup() {
  // initialize digital pin LED_BUILTIN as an output.
  pinMode(LED_BUILTIN, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(LED_BUILTIN, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);                       // wait for a second
  digitalWrite(LED_BUILTIN, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);                       // wait for a second
}

Fabrication files


  1. File: xxx 

  2. File: xxx