Outils pour utilisateurs

Outils du site


projets:oc:oc_2013_2014:analyse_ph_express

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:analyse_ph_express [2014/02/19 02:55]
etudiant_oc_2013_2014 [Scenario :]
projets:oc:oc_2013_2014:analyse_ph_express [2014/02/20 19:11] (Version actuelle)
etudiant_oc_2013_2014 [Object Shape :]
Ligne 19: Ligne 19:
  
 The pH is measured instantly and sent to the medical service which output the following: Date/​Time/​pH/​Result. ​ The result could either be OK if the measured value is considered healthy and could also be NOT OK if an abnormal pH was detected. This could offer also a daily review of the daily/​weekly use of WC. The pH is measured instantly and sent to the medical service which output the following: Date/​Time/​pH/​Result. ​ The result could either be OK if the measured value is considered healthy and could also be NOT OK if an abnormal pH was detected. This could offer also a daily review of the daily/​weekly use of WC.
 +
 +This healthy value highly depends on the time of the day. For example:
 +     * 6.8 up to 7.2 Before Breakfast (6h – 10h)
 +     * 4.6 up to 6.8 Before Lunch/After Breakfast (10h – 12h)
 +     * 6.8 up to 7.2 Before Dinner/​After Lunch (12h – 20h)
 +     * 4.6 up to 6.8 during the night (20h – 6h)
 ==== Object Shape : ==== ==== Object Shape : ====
    
Ligne 32: Ligne 38:
  
 == Demonstration Video : == == Demonstration Video : ==
 +  * [[https://​www.youtube.com/​watch?​v=cD2fDQk70BU&​feature=youtu.be|Watch Demo Online on Youtube]]
 +  * [[https://​www.dropbox.com/​s/​4xeza1thgdsfads/​Demo%20Anaylse_pH_Express.wmv|Download Demo]]
 ==== Hardware specifications:​ ==== ==== Hardware specifications:​ ====
  
Ligne 63: Ligne 71:
      * [[http://​www.phidgets.com/​documentation/​Phidgets/​1130_0_Mechanical.pdf|Mechanical Drawings]]      * [[http://​www.phidgets.com/​documentation/​Phidgets/​1130_0_Mechanical.pdf|Mechanical Drawings]]
 ==== Specifications and interface of the service on the object ​ ==== ==== Specifications and interface of the service on the object ​ ====
 +A pH sensor located beneath the toilet potty chair is connected to a pH/ORP adapter which returns a numerical value of the pH when it varies. The system takes this measure and processes it through an equation to get an understandable measure of pH (on a scale of 0-14). Afterwards, these measures are sent through the UPnP network and saved on the device.
 ==== Specifications of the interface of high added value service ==== ==== Specifications of the interface of high added value service ====
-Note : (including ​figure on the orchestration between services on objects ​and information systems) +The high added value service consists of medical service that receives ​the pH data sent from our object. The service compares the measured pH with the standard healthy pH value according to the current time. Finally, the service logs this data with the current date/time, pH measured value and the analysis result. ​  
 ==== 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/​clt02xpxq6f0i3l/​Analyse_pH_Express_SBC.wcc|Embedded Container]]
 +     * [[https://​www.dropbox.com/​s/​m6ayg0ownac9fpk/​Analyse_pH_Express_PC.wcc|Remote Container]]
  
 ==  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/​zuni0sp4m9dsr2k/​Embedded%20Bean%20DLL.zip|Embedded Bean DLL]]
 +     * [[https://​www.dropbox.com/​s/​hd8qgxqeitzv8bb/​Embedded%20Bean%20Source%20Code.zip|Embedded Bean 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/​k0ge9qa7u3x5ph2/​Remote%20Bean%20DLL.zip|Remote Bean DLL]]
 +     * [[https://​www.dropbox.com/​s/​2wh4yqwtyysgri5/​Remote%20Bean%20Source%20Code.zip|Remote Bean Source Code]]
  
 == Chesklist to install the embedded service on the object ​ == == 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 Analyse_pH_Express_SBC.wcc –n Analyse_pH_Express
 +     * You can now see Analyse_pH_Express in Device Spy with the 2 probes (Threshold & pH sensor values)
  
 == Chesklist to install the remote service/​application on the PC == == Chesklist to install the remote service/​application on the PC ==
 +     * Open Device Spy and copy the Device URL 
 +     * Open SharpDevelop and create a new C# Container 
 +     * Import Analyse_pH_Express_PC.wcc 
 +     * Modify the UPnP Device URL with the copied with one (should become green now) 
 +     * Subscribe to Events if you wish to view pH Values through Device Spy 
 +     * Open the generated XML Log named "​Analyse_pH_Express_Report.xml"​ found in the folder where SharpDevelop is installed
 ==== Results of the relations with Reims (being factual without personal opinion) ==== ==== Results of the relations with Reims (being factual without personal opinion) ====
 +We can't really offer any positive/​negative feedback since we were in another country (in Egypt). The only interaction we had was when we were asked to deliver a Description of Work. Then we got a positive feedback from him indicating that the document contains all required information and the object could be manufactured without any problems.
  
 ==== Prospects : ==== ==== Prospects : ====
 == Possible extensions of the object == == Possible extensions of the object ==
 +     * User's Temperature Detection could also be interesting to analyse for medical purposes.
 +     * Room's Temperature Detection could also be used for activating a seat warmer mechanism. ​
 +     * Room's Light Detection could also be added for activating light glowing figures on the object to improve user's vision.
 == Possible extension of the service on the Object == == Possible extension of the service on the Object ==
 +     * Adding an internal Log that guarantees persistence
 +     * Adding Temperature/​Light sensors
 +     * Adding Vibration sensor to enhance the detection of usage
 == Possible extension of the high added value Service == == Possible extension of the high added value Service ==
 +     * Using Google Calendar for detecting the holidays which influence the food/drinks consumed by the user. Therefore, it could affect the urine'​s pH.
 +     * Comparing csv logs with current xml ones to determine which is most suitable.
 == Possible GUI for data visualization == == Possible GUI for data visualization ==
 +     * A graph that illustrates the user's pH evolution during the day/​week/​month.
projets/oc/oc_2013_2014/analyse_ph_express.1392774911.txt.gz · Dernière modification: 2014/02/19 02:55 par etudiant_oc_2013_2014