As computing becomes more ubiquitous in our objects, designers need to be more aware of how to design meaningful interactions into electronically enhanced objects. At the University of Washington, a class of junior Interaction Design majors is exploring this question. These pages chronicle their efforts.

Thursday, December 12, 2019

LightUp



Team Members:

Jiayi Tang & Wendy Gui


Description:

LightUp is a lamp in the shape of a tree jewelry stand. The lights on each branch will lighten up when people hang every piece of jewelry on it. The light will be brighter as people put more and more jewelry on it. In the end, as more jewelry being hung upon it, LightUp will gradually turn into a beautiful lamp, which brings people a little warmth and relaxation. 

Its targeted audience is women who are busy with working. One possible context is: In a woman’s dressing room or living room when the woman comes home from work, she feels exhausted by working the whole day. She walks straight to the dressing table, takes off her jewelry, and puts them on the LightUp. The light makes her warmhearted and reminds her of her past stories. She becomes energetic and hopeful again.

According to the Leverage Principle, the structure of the branches protruding from the trunk allows the force sensors(Adafruit Round Force-Sensitive Resistor) to detect a minimal range of force changes. These force sensors are positioned under the end of each branch, where branches connect with the trunk. When a small force is added on the branch, the end of the branch will touch the sensor. The light will light up if the detected force is large enough for the sensor to detect. 





Video:


Components:

  • White LED 
  • F-M Dupont Wire 
  • Breadboard Jumper Wire 
  • Adafruit Round Force-Sensitive Resistor (FAR)
  • 10kohm Resistor
  • 220kohm Resistor
  • Force Sensor...
  • Breadboard
  • AC Adapter
  • Laser Cut Birch 
  • Cardboard
  • Acrylic Paint


Code:

(link to Libraries: https://learn.adafruit.com/force-sensitive-resistor-fsr/using-an-fsr)


//No.1
int fsrAnalogPin = 0; // FSR is connected to analog 0
int LEDpin = 11;      // connect Red LED to pin 11 (PWM pin)
int fsrReading;      // the analog reading from the FSR resistor divider
int LEDbrightness ;

//No.2
int LEDpinTwo = 10;
int fsrAnalogPinTwo = 1;
int fsrReadingTwo;
int LEDbrightnessTwo;

//No.3
int LEDpinThree = 9;
int fsrAnalogPinThree = 2;
int fsrReadingThree;
int LEDbrightnessThree;

//No.4
int LEDpinFour = 8;
int fsrAnalogPinFour = 3;
int fsrReadingFour;
int LEDbrightnessFour;


//No.5
int LEDpinFive = 7;
int fsrAnalogPinFive = 4;
int fsrReadingFive;
int LEDbrightnessFive;


void setup(void) {
  Serial.begin(9600);   // We'll send debugging information via the Serial monitor
  pinMode(LEDpin, OUTPUT);
  pinMode(LEDpinTwo, OUTPUT);
  pinMode(LEDpinThree, OUTPUT);
}


void loop(void) {
//No.1
  fsrReading = analogRead(fsrAnalogPin);
  Serial.print("Analog reading = ");
  Serial.println(fsrReading);

  // we'll need to change the range from the analog reading (0-1023) down to the range
  // used by analogWrite (0-255) with map!
  // LED gets brighter the harder you press

  LEDbrightness = map(fsrReading, 0, 1023, 0,255);

  analogWrite(LEDpin, LEDbrightness);
  //delay(100);


//No.2
   fsrReadingTwo = analogRead(fsrAnalogPinTwo);
  Serial.print("Analog reading Two = ");
  Serial.println(fsrReadingTwo);

  LEDbrightnessTwo = map(fsrReadingTwo, 0, 1023, 0,255);

  analogWrite(LEDpinTwo, LEDbrightnessTwo);
  //delay(100);  

  
//No.3
  fsrReadingThree = analogRead(fsrAnalogPinThree);
  Serial.print("Analog reading Three = ");
  Serial.println(fsrReadingThree);

  LEDbrightnessThree = map(fsrReadingThree, 0, 1023, 0,255);

  analogWrite(LEDpinThree, LEDbrightnessThree);
  //delay(100);  

//No.4
  fsrReadingFour = analogRead(fsrAnalogPinFour);
  Serial.print("Analog reading Four = ");
  Serial.println(fsrReadingFour);

  LEDbrightnessFour = map(fsrReadingFour, 0, 1023, 0,255);

  analogWrite(LEDpinFour, LEDbrightnessFour);
  //delay(100); 

//No.5
  fsrReadingFive = analogRead(fsrAnalogPinFive);
  Serial.print("Analog reading Five = ");
  Serial.println(fsrReadingFive);

  LEDbrightnessFive = map(fsrReadingFive, 0, 1023, 0,255);

  analogWrite(LEDpinFive, LEDbrightnessFive);
  //delay(100); 
}


Process:


The first prototype using cardboard
Step up circuit connection 

Construct the branches and the trunk
Put the wooden box and the body together


No comments:

Post a Comment