W2

For this week’s in-class assignment, Ken and I used the velostat and the conductive fabric to build a sensor similar to the function of a potentiometer, which is to control the resistance and current by pressing to determine the length of the connected conductive fabric. But I do think it’s not an easy task, at least for me to substitute Arduino Uno with Lilypad, traditional sensors with fabric-made sensors. I have some difficulty trying to imagine what the circuit looks like in my mind. I believe with more hands-on experiences, I will gradually get used to it.

This is the video demonstrating how we utilize the self-made potentiometer to control the sound of the buzzer.


 

And then we connect the additional resistor and the LED to the circuit, trying to use the sensor to control its brightness. We simplify the code a lot because all we need to do right now is to find out the right thresholds to map the sensor value range to the brightness of the LED. This is a process easier to be done by trying instead of thinking.

//exercise 2 - Interactive Fashion
int LEDPin = 9; //0 if you are using ATtiny
int sensorPin = A2; // Analog pin 3 if you are using ATtiny
int sensorValue = 0;
int brightness;

void setup() {
  pinMode(LEDPin, OUTPUT);
  Serial.begin(9600); //Serial Comm doesn't work with ATtiny
}

void loop() {
  sensorValue = analogRead(sensorPin);
  if (sensorValue < 300) {
    sensorValue = 300;
  } else {
    sensorValue = sensorValue;
  }
  brightness = map(sensorValue, 300, 500, 0, 255);

  Serial.println(brightness);  //Serial Comm doesn't work with ATtiny
  analogWrite(LEDPin, brightness);
}

And this is the video demonstrating how it works.

For the wearable device part, we build a pair of glasses. We get our inspiration mainly from 2 incidents. The first one is that the intention we wear glasses. We wear them because our eyes cannot see things clearly. But in reality, living in a world where so many people tell lies about right and wrong because of the temptation of fame and wealth and snob, how can we even claim that we see things clearly? Or, in other words, is what we see that matters most, or what believe or what we feel matter more? By altering our visual perception, this pair of glasses twist reality into a world only made of light and abstract lines as it blurs visual senses to make people reflect and feel the world with their hearts.

As for the appearance of these glasses, we are inspired by how other people portray a man wearing glasses. Almost 90% of them give a visual description containing a pair of black glasses. So we want to make it unique and eye-catching so that people will remember it at the first glance. To do it, we add a feather, which normally stands for a woman figure element and its contrast with the man figure will leave a deeper impression on others how they perceive the man wearing this.

Leave a Reply

Your email address will not be published. Required fields are marked *