Outils pour utilisateurs

Outils du site


Panneau latéral

Accueil

Select other language :


Apprentissage

Enseignements

Enseignements Département Informatique SI5 et Master IFI

Enseignements Département Bâtiment Polytech'Nice

Autres Formations française et étrangère

Activités administratives, Ingénierie et Innovation Pédagogiques

Apprentissage Département Informatique SI5/Master 2 ingénierie informatique EUR DS4H


Recherche

Valorisation de la Recherche

Dépôts Logiciels à l’Agence de Protection des Programme (APP)

Valorisation des résultats de recherche et transfert

Diffusion de la Culture scientifique et Technologique

Communications de presse

Séminaire ENSI Tunis

Pédagogie Innovante

Relations industrielles et socio-économique

Organisation de Manifestations

  • Conférence sur les FabLabs, Alexandre Schneider, Professeur Agrégé en Génie Mécanique, Université de Reims Champagne-Ardenne Web
  • Journées UbiMob'14 Site Web

Animation de la Recherche

U-Santé

Privé

Outils

Sources d'Informations

projets:oc:oc_2013_2014:stress_detector

Smart Objects and Services

Project Presentation

Name :

StressDetector

Group Composition :

Bouhafa Nisrine

Fadi William Ghali ABDELMESSIH

Kharroubi Majdi

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.

Object Shape :


Name of the contact at Reims :

Babacar eddie Faye

Sketch of the Object from Reims :

We helped the student from Reims in the design of the object by sending him a description of work, sensors' mechanical drawing (folder) as well as a sketch file to determine the dimensions needed for our object and we mentioned that this isn't what we want as a final design but it's what we want as dimensions. The sketch was designed using SketchUp.

The software link: SketchUp download

As a final result, we obtained the following images and we thought that they do respect the mentioned dimensions.

Compact version of all the images in one image

 Object design compact image

Folder of the received images: Object design images folder

Picture of the Object without instruments and electronics :

Actually, the object was too bad to present in this report. Anyway, we are going to put an image of it and we must state that the object dimensions were too large than the specified in the description of work as well as the sketch file.

Compact version of all the images in one image

 Real object without electronics compact image

Folder of the images: Real object without electronics images folder

Picture of the Object with instruments and electronics outside on the same table :

In this section, we are going to put a link to an images folder that contains the images with some comments on top of them.

Folder of the images: Real object with electronics images folder

Picture of the finished Object (all is integrated):

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.

 Real object with electronics

Demonstration Video :

The link: Youtube video

Hardware specifications :


List :

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 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


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:


. wcc of the two containers (embedded and on the remote PC) :
Beans added for the embedded container (for the service on the object) ** (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)
Chesklist to install the embedded service on the object

  • Make sure SharpDevelop (as well as WComp add-on), Phidget Control Pannel, WinSCP, PuTTY and Device Spy are all installed.
  • Copy all beans (DLL files) into the folder Beans inside the folder where SharpDevelop is installed.
  • Power on Phidgets and connect it to the Ethernet wire of the PC.
  • Configure WiFi connection with the help of Phidget Control Pannel then unplug Ethernet Connection (this won’t be needed anymore).
  • Open WinSCP and connect to the Phidget by using the IP address and the appropriate username and password. (File protocol: SCP).
  • Copy all .wcc and .dll files on the phidget.
  • Open session in PuTTY then type the appropriate password.
  • 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 (but we should change the relative paths to absolute ones).
Chesklist to install the remote service/application on the PC

  • Instal MySQL.
  • Open Device Spy and copy the Device URL (The functional one).
  • Open SharpDevelop and create a new C# Container.
  • Import StressDetectorProxyContainer.wcc
  • Modify the UPnP Device Proxy's URL with the copied one (should witch from red to green now).
  • Connect to the database to watch the results.

Results of the relations with Reims


We have a negative feedback about the student of Reims, because we sent a detailed description of work that contains the design details to manufacture our communication object. Unfortunately, they delivered a product that don't respect the description of work as well as the dimensions mentioned in the sketch file or any logical approach.

Prospects :


Possible extensions of the object

  • Adding a webcam :
    • Detect the facial expression of the user.
  • Adding more sensors to detect more environmental data.
Possible extension of the service on the Object

  • 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

  • Use a CSV file located on the operating system of the SBC2 that contains all the captured data, it will be synchronized each hour to reduce the network traffic.
  • Develop an algorithm in collaboration with the doctors of this field to get a clear result about the degree of stress of the persons (i.e stressed or not).
  • Taking in consideration the ambient temperature and humidity that will may vary the algorithm that needs to be developed in collaboration with the doctors of this field because peoples do wear different clothes according to the weather.
Possible GUI for data visualization

  • 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.txt · Dernière modification: 2014/02/24 04:14 par etudiant_oc_2013_2014