louis roche april 14 th to june 26 th 2009 flavien rousset officers project : velesmoy tysso georg...

20
Louis Roche April 14 th to June 26 th 2009 Flavien Rousset Officers project : Velesmoy Tysso Georg Milvang

Upload: priscilla-strickland

Post on 14-Jan-2016

218 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Louis Roche April 14 th to June 26 th 2009 Flavien Rousset Officers project : Velesmoy Tysso Georg Milvang

Louis Roche April 14th to June 26th 2009 Flavien Rousset Officers project :Velesmoy TyssoGeorg Milvang

Page 2: Louis Roche April 14 th to June 26 th 2009 Flavien Rousset Officers project : Velesmoy Tysso Georg Milvang

Use of a component which become essential: accelerometer A project lead from start to finish

Page 3: Louis Roche April 14 th to June 26 th 2009 Flavien Rousset Officers project : Velesmoy Tysso Georg Milvang

Detect the person falling Prevent with LED and sound alarm Determine the position of the person on

the ground

Page 4: Louis Roche April 14 th to June 26 th 2009 Flavien Rousset Officers project : Velesmoy Tysso Georg Milvang

Lightness.Alarm sound audible to all.Fixing the final map on a clothe. Relatively small dimensions. Indoor use.Autonomy (cell board).

Page 5: Louis Roche April 14 th to June 26 th 2009 Flavien Rousset Officers project : Velesmoy Tysso Georg Milvang
Page 6: Louis Roche April 14 th to June 26 th 2009 Flavien Rousset Officers project : Velesmoy Tysso Georg Milvang

based on the fundamental law of dynamic-measurement : m/s² g (gravity)2 big families: bounded and non bounded

Applications:-Speed measurement-Displacement measurement-... in 3 big categories:-shock -vibration acceleration -mobiles acceleration

Page 7: Louis Roche April 14 th to June 26 th 2009 Flavien Rousset Officers project : Velesmoy Tysso Georg Milvang

Wiimote;HDD protection;Aviation;...

Page 8: Louis Roche April 14 th to June 26 th 2009 Flavien Rousset Officers project : Velesmoy Tysso Georg Milvang

Technology MEMS

New generation: NEMS

Page 9: Louis Roche April 14 th to June 26 th 2009 Flavien Rousset Officers project : Velesmoy Tysso Georg Milvang

Time (ms) 0 200 400 600 800 1000 1200 1400 1600

X value 20 18 24 18 19 -6 -26 -25 -24

Y value 25 25 21 17 8 -38 25 26 25

Z value 24 24 30 35 34 -60 19 9 12

G vector 40,01 39,05 43,78 42,87 39,76 71,27 40,77 37,18 36,67

Page 10: Louis Roche April 14 th to June 26 th 2009 Flavien Rousset Officers project : Velesmoy Tysso Georg Milvang
Page 11: Louis Roche April 14 th to June 26 th 2009 Flavien Rousset Officers project : Velesmoy Tysso Georg Milvang

Powering in 3.3VWrapping and soldering of different modulesThis assembly works

Page 12: Louis Roche April 14 th to June 26 th 2009 Flavien Rousset Officers project : Velesmoy Tysso Georg Milvang

One board with all componentsSelf-ruling thanks to 3V cellWirelessLittle space (just go in a pocket)

Page 13: Louis Roche April 14 th to June 26 th 2009 Flavien Rousset Officers project : Velesmoy Tysso Georg Milvang
Page 14: Louis Roche April 14 th to June 26 th 2009 Flavien Rousset Officers project : Velesmoy Tysso Georg Milvang

Input power for the speakerLongevity CPUIn order to protect the speaker

Page 15: Louis Roche April 14 th to June 26 th 2009 Flavien Rousset Officers project : Velesmoy Tysso Georg Milvang

Let to detect an accelerationUse secondary function

void loop() { firstg = calculated (valX,valY,valZ);

Serial.print("\n g= ");Serial.print(firstg);

delay (200);

lastg = calculated (valX,valY,valZ); angle (valX,valY);

Serial.print("\n g'= ");Serial.print(lastg); threshold = abs(lastg - firstg);

if (threshold >= 20)

{ digitalWrite(ledPin,HIGH);

delay (1000); position_information (valZ);

workSpeaker (Halfperiod,StartSpeaker);

} }

Page 16: Louis Roche April 14 th to June 26 th 2009 Flavien Rousset Officers project : Velesmoy Tysso Georg Milvang

Read the X,Y and Z valuesSubtract the middle level valueCalculate the G value

float calculated (long int valX,long int valY,long int valZ)

{ float result; valX = analogRead (xpin) - 235;

Serial.print("\n X= ");Serial.print(valX);

valY = analogRead (ypin) - 250;

Serial.print("\n Y= ");Serial.print(valY);

valZ = analogRead (zpin) -252;

Serial.print("\n Z= ");Serial.print(valZ);

result = sqrt((valX*valX) + (valY*valY) +

(valZ*valZ)); return result; }

Page 17: Louis Roche April 14 th to June 26 th 2009 Flavien Rousset Officers project : Velesmoy Tysso Georg Milvang

Trigger the speaker Built a 500 Hz carry signal frequency

void workSpeaker (int Halfperiod,int StartSpeaker)

{ StartSpeaker = 1; while (StartSpeaker == 1) { digitalWrite(speakerPin, HIGH); delayMicroseconds(Halfperiod); digitalWrite(speakerPin, LOW); delayMicroseconds(Halfperiod); } }

Page 18: Louis Roche April 14 th to June 26 th 2009 Flavien Rousset Officers project : Velesmoy Tysso Georg Milvang

It is important in order to have informations on the person position. Change radians to degrees.

void angle (long int valX,long int valY) { float Xangle; float Yangle; valX = analogRead (xpin) - 235;

valY = analogRead (ypin) - 250; Xangle = (180 / pi)*acos((valX) / (firstg)); Yangle = (180 / pi)*acos((valY) / (firstg)); Serial.print("\n Xangle=

");Serial.print(Xangle);Serial.print(" degrees");

Serial.print("\n Yangle= ");Serial.print(Yangle);Serial.print(" degrees");

}

Page 19: Louis Roche April 14 th to June 26 th 2009 Flavien Rousset Officers project : Velesmoy Tysso Georg Milvang

Project which works Learned to solder SMD componant An interesting development in the futur

(Send informtion via bluetooth)

Page 20: Louis Roche April 14 th to June 26 th 2009 Flavien Rousset Officers project : Velesmoy Tysso Georg Milvang

Louis Roche April 14th to June 26th 2009 Flavien Rousset Officers project :Velesmoy TyssoGeorg Milvang