Outils pour utilisateurs

Outils du site


projets:oc:oc_2013_2014:stress_detector

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
projets:oc:oc_2013_2014:stress_detector [2014/02/22 04:02]
etudiant_oc_2013_2014 [Object Shape :]
projets:oc:oc_2013_2014:stress_detector [2014/02/24 04:14] (Version actuelle)
etudiant_oc_2013_2014 [Project Files:]
Ligne 19: Ligne 19:
 ==== Scenario : ==== ==== Scenario : ====
 -------------------- --------------------
-The idea of the project is to determine the presence of the users using a motion sensor. If the users are present, we will detect (the temperature and humidity using a single sensor) and the luminosity. Using a web service, we can instantly retrieve the information of the outside temperature and humidity. Using all of these information,​ we are going to register in a database the conditions in which the persons co-existed. So finally in the database, we are going to have the date, the time in which any person entered the room, the time in which everybody left the room, the average temperature,​ humidity and lightness of the whole period as well as the outside temperature and humidity. So now, we have all the data that we need to determine the degree of stress of the persons working in a certain ​Place. Actually, it was difficult to put an algorithm to have a final answer about the status of the persons (i.e. stressed or not) because we are not doctors and the ideal approach to develop such an algorithm is by discussing the doctors of this domain.+The idea of the project is to determine the presence of the users using a motion sensor. If the users are present, we will detect (the temperature and humidity using a single sensor) and the luminosity. Using a web service, we can instantly retrieve the information of the outside temperature and humidity. Using all of these information,​ we are going to register in a database the conditions in which the persons co-existed. So finally in the database, we are going to have the date, the time in which any person entered the room, the time in which everybody left the room, the average temperature,​ humidity and lightness of the whole period as well as the outside temperature and humidity. So now, we have all the data that we need to determine the degree of stress of the persons working in a certain ​place. Actually, it was difficult to put an algorithm to have a final answer about the status of the persons (i.e. stressed or not) because we are not doctors and the ideal approach to develop such an algorithm is by discussing the doctors of this domain.
 ==== Object Shape : ==== ==== Object Shape : ====
 ------------------------ ------------------------
Ligne 59: Ligne 59:
 == Picture of the finished Object (all is integrated): ​ == == Picture of the finished Object (all is integrated): ​ ==
 ---------------------------------------------------------- ----------------------------------------------------------
-The following photo of our object with the electronics (All is integrated). Logically, this object can't be used as a pen pot so we used it to put some electronics parts.+The following photo is our object with the electronics (All is integrated). Logically, this object can't be used as a pen pot so we used it to put some electronics parts.
  
 {{ http://​i.imgur.com/​Icd5NL4.jpg?​600 | Real object with electronics }} {{ http://​i.imgur.com/​Icd5NL4.jpg?​600 | Real object with electronics }}
Ligne 65: Ligne 65:
 == Demonstration Video : == == Demonstration Video : ==
 --------------------------- ---------------------------
-Actually, the quality of the video on Youtube isn't the best... So we are going also to put the source ​ videos in the linked folder. 
- 
-[[ http://​youtu.be/​zulMnVVU8TQ | Youtube video ]] 
  
 +The link:[[ http://​youtu.be/​zulMnVVU8TQ | Youtube video ]]
 ==== Hardware specifications : ==== ==== Hardware specifications : ====
 ----------------------------------- -----------------------------------
 == List : == == List : ==
-   ***PHIDGETS** +   ***Phidgets Single Board Computer** 
-     ​* ​Phidgets ​SBC1072+     ​* ​Single Board Computer ​SBC1072
      * [[http://​www.gotronic.fr/​art-interface-8-8-8-hub-sbc1072-12065.htm|Seller]] | Code 25446 | 212,90 € TTC      * [[http://​www.gotronic.fr/​art-interface-8-8-8-hub-sbc1072-12065.htm|Seller]] | Code 25446 | 212,90 € TTC
      * [[http://​www.phidgets.com/​docs/​1072_User_Guide|User Guide]]      * [[http://​www.phidgets.com/​docs/​1072_User_Guide|User Guide]]
Ligne 81: Ligne 79:
  
  
-   ***WIFI ADAPTER**+   ***Phidgets Wi-Fi Adapter**
      * WiFi USB Adapter 802.11b/g - 3702 for SBC1072 ​      * WiFi USB Adapter 802.11b/g - 3702 for SBC1072 ​
      * [[http://​www.gotronic.fr/​art-adaptateur-wifi-3702-pour-sbc1072-12066.htm|Seller]] | Code 25447 | 24,80 € TTC      * [[http://​www.gotronic.fr/​art-adaptateur-wifi-3702-pour-sbc1072-12066.htm|Seller]] | Code 25447 | 24,80 € TTC
Ligne 89: Ligne 87:
  
  
- +   ***Phidgets ​Temperature and humidity sensor**
-   ***Temperature and humidity sensor**+
      ​*Temperature and humidity sensor 1125      ​*Temperature and humidity sensor 1125
      ​*[[http://​www.gotronic.fr/​art-capteur-de-temperature-et-humidite-1125-12099.htm|Seller]] | Code 25484 | 49,90 € TTC      ​*[[http://​www.gotronic.fr/​art-capteur-de-temperature-et-humidite-1125-12099.htm|Seller]] | Code 25484 | 49,90 € TTC
Ligne 97: Ligne 94:
  
  
-  ***Light sensor precision**+  ***Phidgets ​Light sensor precision**
     *Light sensor precision 1127     *Light sensor precision 1127
     *[[http://​www.gotronic.fr/​art-capteur-de-lumiere-de-precision-1127-12101.htm|Seller]] | Code 25486 | 10,30 € TTC     *[[http://​www.gotronic.fr/​art-capteur-de-lumiere-de-precision-1127-12101.htm|Seller]] | Code 25486 | 10,30 € TTC
Ligne 104: Ligne 101:
  
  
-  ***Motion detector**+  ***Phidgets ​Motion detector**
     *Motion detector 1111     *Motion detector 1111
     *[[http://​www.gotronic.fr/​art-detecteur-de-mouvement-1111-12089.htm|Seller]] | Code 25474 | 41,75 € TTC     *[[http://​www.gotronic.fr/​art-detecteur-de-mouvement-1111-12089.htm|Seller]] | Code 25474 | 41,75 € TTC
Ligne 111: Ligne 108:
 ==== Specifications and interface of the service on the object ​ ==== ==== Specifications and interface of the service on the object ​ ====
 -------------------------------------------------------------------- --------------------------------------------------------------------
-A light and motion sensor located in the front of a transparent part adapted to return a numeric value for the light and boolean value for motion. A temperature and humidity sensor placed into the object that do returns numeric values. The system takes these measures and processes it through ​an equation ​to get an understandable measure of the temperature,​ humidity, motion, and light. Afterwards, these measures are sent through the UPnP network and saved to the database.+A light and motion sensor located in the front of a transparent part adapted to return a numeric value for the light and boolean value for motion. A temperature and humidity sensor placed into the object that do returns numeric values. The system takes these measures and processes it through ​some equations ​to get an understandable measure of the temperature,​ humidity, motion, and light. Afterwards, these measures are sent through the UPnP network and saved to the database.
 ==== Specifications of the interface of high added value service ==== ==== Specifications of the interface of high added value service ====
 --------------------------------------------------------------------- ---------------------------------------------------------------------
-The high added value service consists of a medical service that receives the data sent from our object. Then stock it into a database. Finally, it will be used by a doctor to analyse the work conditions of the users.+The high added value service consists of a medical service that receives the data sent from our object. Then stock it into a database. Finally, it will be used by a doctor to analyse the work conditions of the users. Actually, an algorithm need to be developed in collaboration with the doctors of this domain to get a final result (i.e. If a person is stressed or not)
  
 ==== Project Files: ==== ==== Project Files: ====
 ------------------------ ------------------------
 == . wcc of the two containers (embedded and on the remote PC) : ==  == . wcc of the two containers (embedded and on the remote PC) : == 
 +-------------------------------------------------------------------
      * [[https://​www.dropbox.com/​s/​661gkcqjxlm36d4/​StressDetectorBroadcastData.wcc|Embedded Container]]      * [[https://​www.dropbox.com/​s/​661gkcqjxlm36d4/​StressDetectorBroadcastData.wcc|Embedded Container]]
      * [[https://​www.dropbox.com/​s/​4hs1rankr0q99ao/​StressDetectorProxyContainer.wcc|Remote Container]]      * [[https://​www.dropbox.com/​s/​4hs1rankr0q99ao/​StressDetectorProxyContainer.wcc|Remote Container]]
Ligne 124: Ligne 122:
 ==  Beans added for the embedded container (for the service on the object) ** (DLL and Source code for each of them) == ==  Beans added for the embedded container (for the service on the object) ** (DLL and Source code for each of them) ==
 ------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------
-     * [[https://​www.dropbox.com/​s/​2yh2cbw94l5mr0s/embedded%20container.7z|Embedded Bean DLL & Source Code]]+     * [[https://​www.dropbox.com/​s/​a1p69rasdvpdzbf/Embedded%20Container.zip|Embedded Bean DLL & Source Code]]
  
 == Beans added for the remote PC container (for the high added value service on the PC) ** (DLL and Source code for each of them) == == Beans added for the remote PC container (for the high added value service on the PC) ** (DLL and Source code for each of them) ==
 ------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------
-     * [[https://​www.dropbox.com/​s/​kesmngq6rlm4leo/​Remote%20PC%20container.7z|remote PC Bean DLL & Source Code]]+     * [[https://​www.dropbox.com/​s/​ry6u1xtcvowh00b/​Remote%20PC%20Container.zip|remote PC Bean DLL & Source Code]]
  
 == Chesklist to install the embedded service on the object ​ == == Chesklist to install the embedded service on the object ​ ==
Ligne 140: Ligne 138:
      * Open session in PuTTY then type the appropriate password.      * Open session in PuTTY then type the appropriate password.
      * Launch the service : mono Container.exe –r ../Beans –l StressDetectorBroadcastData.wcc –n StressDetectorUPnP      * Launch the service : mono Container.exe –r ../Beans –l StressDetectorBroadcastData.wcc –n StressDetectorUPnP
-     * We can also add the last command in the .bashrc to launch the service automatically.+     * We can also add the last command in the .bashrc to launch the service automatically ​(but we should change the relative paths to absolute ones).
  
 == Chesklist to install the remote service/​application on the PC == == Chesklist to install the remote service/​application on the PC ==
 ------------------------------------------------------------------- -------------------------------------------------------------------
      * Instal MySQL.      * Instal MySQL.
-     * [[https://​www.dropbox.com/​s/​zmcskp7ztgdw7u9/​StressDetector_DB.sql |Import database]] +     * [[https://​www.dropbox.com/​s/​zmcskp7ztgdw7u9/​StressDetector_DB.sql |Import database ​using this SQL file]] 
-     * Open Device Spy and copy the Device URL.+     * Open Device Spy and copy the Device URL (The functional one).
      * Open SharpDevelop and create a new C# Container.      * Open SharpDevelop and create a new C# Container.
      * Import StressDetectorProxyContainer.wcc      * Import StressDetectorProxyContainer.wcc
-     * Modify the UPnP Device URL with the copied one (should witch from red to green now). +     * Modify the UPnP Device ​Proxy'​s ​URL with the copied one (should witch from red to green now). 
-     ​* ​connect ​to database to watch the results. +     ​* ​Connect ​to the database to watch the results. ​
- +
 ==== Results of the relations with Reims ==== ==== Results of the relations with Reims ====
 --------------------------------------------- ---------------------------------------------
Ligne 165: Ligne 162:
 == Possible extension of the service on the Object == == Possible extension of the service on the Object ==
 ----------------------------------------------------- -----------------------------------------------------
-  *Controlling ​the room lightness ​that sits on the UPnP network ​or the air conditioning of the room according to data received.+  *Controlling the room lightness or the air conditioning of the room using the services that sits on the UPnP network ​according to data received.
  
 == Possible extension of the high added value Service == == Possible extension of the high added value Service ==
Ligne 175: Ligne 172:
 == Possible GUI for data visualization == == Possible GUI for data visualization ==
 ----------------------------------------- -----------------------------------------
-  *A graph that illustrates the user'​s ​work conditions (temperature,​ humidity, light)during the work as well as the ambient temperature and humidity.+  *A graph that illustrates the users work conditions (temperature,​ humidity, light)during the work as well as the ambient temperature and humidity.
projets/oc/oc_2013_2014/stress_detector.1393038178.txt.gz · Dernière modification: 2014/02/22 04:02 par etudiant_oc_2013_2014