Smart Objects and Services
Project Presentation
Name :
Group Composition :
ABDALLA Omar
ISMAIL Tarek
SABET Ahmed
SWEYLLAM Lotus
Scenario :
Analyse_pH_Express targets all cautious parents who wish to integrate a quick easy medical checkup into a daily ordinary activity. The object, being a children’s potty chair for urinating. However it is no ordinary object! The Analyse_pH_Express monitors your children’s urine’s pH level and offer a medical opinion by comparing it to the expected ordinary healthy level.
Let’s imagine an example of what could happen: parent takes the child to the toilets and the child urinates in the object. Then, the parent empties the object in the adult WC and cleans it with soapy water like any other potty.
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 :
Sketch of the Object from Reims :
NONE - Object was not delivered since we are in Egypt.
However, we offered him a Description of Work which contains all required details (in French)
We also sent him a sketch done on SketchUp
Demonstration Video :
Hardware specifications:
List:
PHIDGETS
Phidgets SBC1072
Seller | Code 25446 | 212,90 € TTC
-
-
-
-
pH ADAPTER
pH/ORP Adapter 1130
Seller| Code 25497 | 27,90€ TTC
-
-
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
The high added value service consists of a 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:
. 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 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
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)
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 :
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
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
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