oh blog

Icon

i rant cherish and archive my memories here

[project_gratitude] fabrication step1

i started making a pouch for the thermistor module so that i can start carrying around to measure my day!
it’s made in spandex so that it can give some extra support to the module.

image3.jpg

image4.jpgimage5.jpg


Now it needs an armband to be attached so that i can wear it on my upper arm.

Filed under: Computers for Rest of you

[project_gratitude] thermistor arduino code ver1.3

/*
Send out the data only when the difference between two thers get large enough(>60)

*/
int tempPin1 = 1; // select the input pin for the thermistor

int tempPin2 = 2;

int ledPin = 13; // select the pin for the LED

int temp1 = 0; // variable to store the value coming from the sensor

int temp2 = 0;
void setup() {

pinMode(ledPin, OUTPUT); // declare the ledPin as an OUTPUT

Serial.begin(9600); // use the serial port to send the values back to the computer

}
void loop() {

temp1 = analogRead(tempPin1);

temp2 = analogRead(tempPin2); // read the value from the sensor

/* Serial.print(”temp1:”);

Serial.println(temp1, DEC); // print the value to the serial port

Serial.print(”temp2:”);

Serial.println(temp2, DEC);

delay(200);

*/

if (temp1 – temp2 > 60){ //when there’s a signicant change, blink and send serial

digitalWrite(ledPin, HIGH);

delay(200);

digitalWrite(ledPin, LOW);
//Serial.print(”ON:”); // print the value to the serial port

Serial.print(temp1, DEC);

Serial.print(44, BYTE); //comma

Serial.print(temp2, DEC);

delay(1000);

// Serial.println(”I’m blushing”);

Serial.print(13, BYTE); //carriage return

}

else{

digitalWrite(ledPin, LOW);

}
}

Filed under: Computers for Rest of you

[project_gratitude] two thermistor with a blinkie & serial feed

- mounted a shielding board(borrowed from Rob for a meantime..) onto the arduino to make it more carriable.

- tested TWO THERMISTORs to compare the temperature from back of my ear(close to my face) and from the exposed part of my body.

- 22k ohm resistors used (connected to ground, with an input pin)

- another leg of thermistor to 5V power

- the values from thermistors vary between 650-750

image1.jpg

Filed under: Computers for Rest of you

[project_gratitude] data logging & uploading to server

source: http://itp.nyu.edu/~dbo3/RestOfYou/
1. install CellConnectivity.jar on Nokia N80 -> creates Logger(and BTterminal) on cell
2. Now able to bluetooth data to cell phone and log the data
a. Logger -> Create New Log -> Choose a bluetooth Device -> Set Interval(set to 0. should control with delay in Arduino) -> Start Logging -> End Logging
3 . To upload the data, create a folder named ‘up’ and put ap.php file into my account.
4. When upload, set UploadStyle as Group to save time, and select UploadHTTP. server address as itp.nyu.edu/~jo595/ap.php xxx.log
then, it should have created xxx.log file into ‘up’ folder.
image2.jpg
<logging data example>
: need to fix the inconsistency with a number of values(sometimes one, sometimes two)
: put java to translate timestamp
1159839632959,1159839643341,733,672

1159839644811,

1159839646011,740

1159839647234,739

1159839648436,743

1159839649636,747

1159839650834,745

1159839654811,749

1159839666611,754

1159839668985,756

1159839671636,755

1159839687436,757

1159841118326,1159841125073,79

1159841130939,789,728

1159841138887,

1159841142112,777

1159841162913,791

1159841170712,797

1159841246039,794

1159841328440,787

1159841329765,778

1159841335690,787

1159841337040,788

1159841338964,778

1159841344138,779

1159841364563,788

1159841365963,788

Filed under: Computers for Rest of you

[Mobile Presence] final concept

Objectives:

Observe your presence in physical places

: read your biometric data and comprehend it within a context of locations

: personal observation on self

.

Inspirations:

: personal tracking on self like diary but more certered toward inner reaction/unconcious level of experience

: diary of the rest of me

.

Plan:

- input:

biometric data = heart rate

- output:

A. screen-based visual mapping

B. physical feed back with wearable technology

- route:

biometric sensor <-> mobile phone <-> python <-> database

.

Process:

1. Log the data from a heart rate sensor, and get the pattern with a time stamp and a location information(cell tower + GPS)

: assumption

- repetitive pattern should indicate personal experience of the context at the location
.
2. Accumulate the data and show it on the map or even more personalized layout with time and location indicator
map

.

3. Send a signal to the trigger that develops behaviors regarding the context

: heater module

: vibration

mobile

Filed under: Computers for Rest of you

[project_Gratitude] Thermistors viz

 time-based visualization with thermistor comparison

time

map-based visualization with thermistor comparison

map

Filed under: Computers for Rest of you

[project_Gratitude] final Thermistors arduino code

/* two thermistor comparison

Jane Oh

10/23/06

*/
#define t 30  //smooth time – get rid of the noise
int tempPin1 = 1;    // select the input pin for the thermistor
int tempPin2 = 2;
int ledPin = 13;   // select the pin for the LED
int temp1[t];       // variable to store the value coming from the sensor
int temp2[t];
int avgTemp1 = 0;
int avgTemp2 = 0;
long current = millis();
//variables for threshold set up
int thre = 0;
int thre1 = 0;
int thre2 = 0;
//int threT = 100;
int sensitivity = 25;

void setup() {
pinMode(ledPin, OUTPUT);  // declare the ledPin as an OUTPUT
digitalWrite(ledPin, HIGH);
delay(200);
digitalWrite(ledPin, LOW);
delay(200);
digitalWrite(ledPin, HIGH);
delay(200);
digitalWrite(ledPin, LOW);
delay(200);
Serial.begin(19200);        // use the serial port to send the values back to the computer
}

void loop() {
temp1[t] = analogRead(tempPin1);
temp2[t] = analogRead(tempPin2);    // read the value from the

//set the threshold
if(current <= 5000){
//for (int i=0; i <= current; i++){
thre1 += temp1[current];
thre2 += temp2[current];
thre1 = thre1 / current;
thre2 = thre2 / current;
thre = abs(thre1 – thre2) + sensitivity;
//}
}

for (int counter=0; counter <= t; counter++){
avgTemp1 += temp1[counter];
avgTemp2 += temp2[counter];
}
avgTemp1 = avgTemp1 / t;
avgTemp2 = avgTemp2 / t;

/*
Serial.print(avgTemp1, DEC);
Serial.print(44, BYTE);    //comma
Serial.print(avgTemp2, DEC);
Serial.print(13, BYTE);    //comma
delay(100);
*/

if (abs(avgTemp1 – avgTemp2) >= thre){    //when there’s a signicant change, blink and send serial
//    Serial.print(thre, DEC);
//    Serial.print(44,BYTE);
Serial.print(abs(avgTemp1-avgTemp2), DEC);
Serial.print(44, BYTE);    //comma
}

/*else{
digitalWrite(ledPin, LOW);
}*/

}

Filed under: Computers for Rest of you, pcomp

[project_Gratitude] final pouch for the module

it is designed to be worn on the upper arm where i figured the most reasonable to place the sensors around the arm and to the ear, and also comfortable to wear during the day.

i will try to put angled headers for bluetooth so that it erects upward rather than sticking horizontaly like now.

Filed under: Computers for Rest of you, pcomp

[project_Gratitude] two Thers & one GSR

built a board with two thermistors and one GSR(Galvanic Skin Response) sensor.

for GSR sensors, referenced Chris Kairalla’s wiki(http://www.funnydata.com/gsr) and research page(http://www.plazaearth.com/usr/gasperi/gsr.htm). Used velcros as suggested for a convenience of mobility.

and for thermistors, attched one to earing holder so that it can stay on the back of a ear when worn. for another one, am considering a wristband if it gets to be worn around wrist as planned before, but still considering some other spots as well.

and the board with sockets for secure connection of sensors.

also changed wires to ribbon cable wires to give comfortable flexibility when worn.

Filed under: Computers for Rest of you, pcomp

[project_Gratitude] pouch for the module

i started making a pouch for the thermistor module so that i can start carrying around to measure my day!

it’s made in spandex so that it can give some extra support to the module.

pouch in process

pouch in process
pouch in process

Now it needs an armband to be attached so that i can wear it on my upper arm.

Filed under: Computers for Rest of you

Twitter updates

del.icio.us