Ci-dessous, les différences entre deux révisions de la page.
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/23 23:30] 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 70: | Ligne 70: | ||
----------------------------------- | ----------------------------------- | ||
== 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 79: | 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 87: | 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 95: | 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 102: | 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 109: | 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 122: | 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 138: | 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 163: | Ligne 162: | ||
== Possible extension of the service on the Object == | == Possible extension of the service on the Object == | ||
----------------------------------------------------- | ----------------------------------------------------- | ||
- | *Controlling a 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 173: | 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. |