The connected 'manchon'
Franck Dechavanne (SI5,IAM)
Nabil El Moussaid (SI5,IAM)
Nicolas Forget (SI5,IHM)
Etienne Strobbe (SI5,IAM)
Mister A. just ran at least 500 meters and feels dirty. He wants to take a shower. He enters the shower, slam dunks the shower body. Water starts flowing as if by magic.
After his well earned shower, he wants to see how much water he consumed over the last week. He interacts with the smart shower system and the display shows the relevant data : water consumption, mean water temperature, mean time spent in shower etc.
No objet received.
Because we did not received any box to integrate our component in it, there is no picture available.
sensor or actuator | links to datasheet or technical document |
Raspberry Pi | http://goo.gl/82d3w9 |
Phidget Interface Kit | http://www.phidgets.com/products.php?category=0&product_id=1018_2 |
Grove Pi | http://www.dexterindustries.com/grovepi/ |
Thermometer | http://goo.gl/EyokZp |
water flow sensor | http://www.seeedstudio.com/wiki/index.php?title=G1/2_Water_Flow_sensor |
Solenoid valve | http://www.conrad.com/ce/fr/product/583155/Electrovanne-22-voies-RPE-4105-NC-24VDC-24-VDC-G-38-1-pcs?ref=list |
RGB LED | http://www.phidgets.com/products.php?product_id=3610 |
Vibration sensor | http://www.phidgets.com/products.php?product_id=1104 |
LCD Display | http://goo.gl/1iL1Kg |
title | seller link | french reseller link | french reseller reference id | unit price TTC | Quantity | total price TTC |
DS18B20 waterproof temperature sensor | http://goo.gl/4CJyJz | 34030 | 8,25€ | 1 | 8,25€ | |
Phidgets 1104 vibration sensor | http://goo.gl/6zYYNJ | 25469 | 11.95€ | 1 | 11,95€ | |
Water flow sensor | http://goo.gl/AtJuxn | http://goo.gl/FYgzNS | 31320 | 10,90€ | 1 | 10,90€ |
Electrovanne | http://goo.gl/CGVRrz | 583155 - 62 | 20,95€ | 1 | 20,95€ | |
LCD Display | http://goo.gl/1iL1Kg | http://goo.gl/Eho1Az | 03398 | 15,90 € | 1 | 15,90 € |
SSR Relay Board | http://goo.gl/sEkKrJ | http://goo.gl/y4iV1a | 25496 | 16,50€ | 1 | 16,50€ |
Total Price | 84,45€ |
LEDs are a cheaper alternative to the LCD
Item | links to datasheet or technical document |
raccords alimentation eau (à définir) | http://goo.gl/dDg0OV |
robinet mélangeur | http://goo.gl/xVft6F |
flexible + pommeau de douche | http://goo.gl/QpBOjT |
We distinguish two types of services : exposed services that allows to perform actions on the object and exposed services to gather data on the usage of the object.
The services have been exposed through UPnP thanks to the PyUPnP library (https://github.com/fuzeman/PyUPnP)
Here's a list of the services we expose :
GetFlowRate : Returns the water flow rate in liters/min
GetTemperature : Returns the temperature in celsius
SetBackgroundColor: Set the background color of the lcd
SetText : Display information on the lcd
SetTextLine1 : Display information on the first row only
SetTextLine2 : Display information on the second row only
GetTouch : Returns a number corresponding to the button that has been pressed
OpenWater : Open or close the valve
Link to shared drive with Lycée des Eucalyptus : https://drive.google.com/drive/u/0/folders/0B69RH-TLSlXFZlh6d2pybHBGb1E
Implemented high value services :
- Closing the valve if the temperature goes above a certain threshold
- Closing the valve after a certain amount of time
- Sending emails if someone is spending too much time (meaning there could be a problem)
- Export of a csv file containing : date of the shower, time spent, water consumption and total price
A couple scenarios:
We can imagine using a web service that provides water prices to compute how much money is spent for a shower. Using this service, we could connect to a budget management service of the user to add money spent on showers.
Just for the sake of using the calendar service, we could after each shower, connect to the user calendar and store the shower as an event or monitor the time while in the shower to display the amount of time left based on the distance to the user workplace from google maps.
Figure on the orchestration between services on objects and information systems:
All files are in the zip archive, please read the README.txt
An actuator to control the water flow.
An or multiple actuators to control the temperature.
Put the timer as a service on the object instead as higher level service.
Google calendar services : we could after each shower, connect to the user calendar and store the shower as an event. At the beginning of the shower, we could connect to the calendar, check the next event and display or send a notification if there's not much time left.
Google Maps services : We could monitor the time spent while in the shower to display the amount of time left based on the distance to the user workplace from google maps.
Connection to other connected objects of the house
Web app to visualize all sorts of graph : temperature, time spent, water consumption etc.