Ceci est une ancienne révision du document !
Projets Objets Connectés et Services (OCS)
Title of the Project : Fresh Vase
GROUP GR10
MAIN INFORMATIONS about the Project
MEMBERS
In the following, [OUHICHI Haykel] [Gharsalli Dalel] is the list of names of members of our group.
Name of the members of the Group
First Member | Second Member | |
---|---|---|
First Name | Haykel | Dalel |
Last Name | OUHICHI | GHARSALLI |
haykel.ouhichi@esprit.tn | dalel.gharsalli@esprit.tn | |
Cursus | IAM | IAM |
Scenario of the Project
The fragrance disperser « Fresh vase » contributes to a considerable touch by the scent which brings and the atmosphere which gives to a room and our project consists in realizing a connected vase diffuser of essential oil improving the ambient hygrometry .
Fresh Vase is a diffuser of autonomous smell ,working independently of its outside environment, but,can be remotely commanded via web services like SMS or Google Calender and under the effect of the ventilation (Motor) the diffuser releases the essential particles of oil which are spreaded in the air. Some usage scenarios are depicted here below :
Scenario 1 :
Michel is on his way to home,he is tired and wants to take some rest and relax so by a simple SMS he can command the lunch of his vase to start dissemination of good smells with specifying its state ,its intensity and its duration .and then stop it when ever he wants, it’s just enough to change its state in an other send sms.
Scenario 2 :
Marie normally returns home at 19:00, she has the possibility to create a new event called « go back home » on her google calender indicating just the time and her vase will start dissemination automatically at for exemple 30 minutes before her coming back (18:30).
In an other contexte she wakes up on the moring at 07:00 so according to her agenda the vase starts diffusion at 06 :45.
Connected Object Description
Specification
Our shell is divided into two big parts : A part for the arrangement of the equipment (Phidget SBC on 1073, DC Motor Controller).
An other part to place the motor and its propeller in front of the bowl where we are going to put the oil (DC Motor + to encode EMG30) and this part has as more of aeration to allow the distribution of parfume in the air.
3D - CAD description of the object
Here bellow is our design :
Here bellow is Reims'design (not a final one):
Sketch of the object
This is a link of what we sent to Reims university as a proposition :
Tender Specification(Reims university proposal)
This link presents the tender documents proposed by Reims university team :
Real image of the object
As long as there was a problem of delivery of the hull by Reims uniersity and as we didn't receive it yet,we are going just to put their last proposals in 3D and our simple equipement connection,until they settle and adjust this hindrance.
Hardware Specifications and Distribution of the connected Object
Hardware specifications
This is a list of all equipements,components and devices used in FreshVase.
Array of the purchases
Type | Reseller | Reference | Quantity | Unit Price | Link on the Web page of the product | Total Price |
Phidget SBC 1073 | gotronic | 25445 | 1 | 143,50€ | http://www.gotronic.fr/art-interface-8-8-8-hub-sbc1073-19807.htm | 143,50€ |
Wi-Fi USB Adapter 3703_2 for SBC1073 | gotronic | 25435 | 1 | 34,90€ | http://www.gotronic.fr/art-adaptateur-wifi-3703-0-pour-sbc1073-12055.htm | 34,90€ |
8mm Green LED L793GD | gotronic | 03043 | 6 | 0,25€ | http://www.gotronic.fr/art-led-8-mm-verte-l793gd-2079.htm | 1,50€ |
8mm Red LED L793GD | gotronic | 03040 | 2 | 0,25€ | http://www.gotronic.fr/art-led-8-mm-rouge-l793id-2077.htm | 0,50€ |
Pack of 10 connecting cables M / F BBJ9 | gotronic | 12313 | 1 | 1,95€ | http://www.gotronic.fr/art-pack-de-10-cables-de-connexion-m-f-bbj9-21930.htm | 1,95€ |
Pack of 10 connecting cables M/M BBJ8 | gotronic | 12319 | 1 | 1,95€ | http://www.gotronic.fr/art-pack-de-10-cables-de-connexion-m-m-bbj8-21929.htm | 1,95€ |
Quick mounting plate SD04N 400 contacts | gotronic | 12312 | 1 | 4,50€ | http://www.gotronic.fr/art-plaque-de-montage-rapide-19403.htm | 4,50€ |
DC Motor+ encoder EMG30 | gotronic | 01592 | 1 | 39,90€ | http://www.gotronic.fr/art-motoreducteur-encodeur-emg30-866.htm | 39,90€ |
Support for EMG30 | gotronic | 01593 | 1 | 4,90€ | http://www.gotronic.fr/art-support-pour-emg30-867.htm | 4,90€ |
DC Motor Controller | gotronic | 25462 | 1 | 71,90€ | http://www.gotronic.fr/art-commande-de-1-moteur-cc-phidgets-1065-17139.htm | 71,90€ |
Pack of 4 propeller C6086 | gotronic | 25115 | 1 | 10,50€ | http://www.gotronic.fr/art-jeu-de-4-helices-c6086-11870.htm | 10,50€ |
Batterie WP5-12 | gotronic | 09537 | 1 | 28,90€ | http://www.gotronic.fr/art-batterie-wp5-12-5667.htm | 28,90€ |
Chargeur VL12LA | gotronic | 09556 | 1 | 17,50€ | http://www.gotronic.fr/art-chargeur-vl12la-5682.htm | 17,50€ |
10 resistors 1/4W 1,0kΩ | gotronic | 04036 | 1 | 0,20€ | http://www.gotronic.fr/art-10-resistances-1-4w-1-0k-8486-2574.htm | 0,20€ |
Pousoir button black R1829N | gotronic | 07100 | 1 | 0,75€ | http://www.gotronic.fr/art-bp-noir-r1829n-4250.htm | 0,75€ |
TOTAL | 365,34€ |
Software Specifications and Distribution of the connected Object
Software Specifications of the connected Object
Web Service for Device Specifications
Phidget Container :
Here we put the Phidget container container implemented on wcomp, to generate later our UPnP device as a UPnP Proxy Wizard.
We have used:
Four BoolMethodProbe :
1- setLedLevel1 : to set motor level 1 led state (true or false).
2- setLedLevel2 : to set motor level 2 led state (true or false).
3- setLedLevel3 : to set motor level 3 led state (true or false).
4- setMotorState : to set motor state (true or false).
One StringMethodProbe :
1- stringSetVelocity : to set motor speed (from -100 to +100)
Two Beans :
1- StringToInt : Bean to convert any string value to an int value, used to convert speed gotten from stringSetVelocity to pass it to the motor controller bean.
2- MyMotorControlBean : Bean to communicate with motor ( load motor, stop motor, reset encoder, setVelocity, setAcceleration, setBraking, setBackEmfSensing,setRatiometric …
Software Distribution of the connected Object
Here, put all the files needed to build, to compile and to deploy all your software developments
- Embedded Software in the connected object
- All the instructions on what must be installed before deployment of the developed software :
- Binary distribution of the developed software for the object and how to install (ex. DLL of new beans and wcc of the WComp the assembly) :
- Sources distribution of the developed software and how to build the binary distribution (ex. sources of new beans for WComp):
including the list and the links for all prerequired software
- Mobile Phone Software
- The kind of smart phone that you chose (Reference, Android ? IoS ? Windows Phone X.X ?)
- Binary distribution of the developed software for the phone and how to install :
- Sources distribution of the developed software and how to build the binary distribution :
including the list and the links for all prerequired software
Software Specifications and Distribution of the high level service for the user
Software Specifications of the High Level Service for the user
In order to emphasize our project we have used two Web Services serving to remotely control the vase SMS(SMS Web Service,Google Calender).
WCOMP Container :
1- Button : to start system.
2- Timer : to start verification services processes every k=15 seconds.
3- FreshVaseGoogleCalendarServiceBean : Verify all user events in google calendar and decide if it should run the system or not.
4- FreshVaseWebServiceSMS : Verify if the user send a message to stop system or start it with specified parameters like speed, start time.
=⇒ SMS Web Service gives the user the possibility to manage its FreshVase via sending SMS and more explicitly it contains a set of events and methods implemented independetly in a bean.
Methods :
Void Get_SystemStateFromSms() : Get back the order sent by user via SMS Web Service and holds in account three variables (the speed, the hour, the state).
Void Set_Level1State(Boolean) :define the led level 1 state.
Void Set_level2state(Boolean) :define the led level 2 state.
Void Set _level3state(Boolean) :define the led level 3 state.
void Set_MyMotorState(Boolean) :define the motor state .
void SetMymotorVelocity(Int 32) : define the motor rotation speed.
Events :
ledLevel1StateChanged : event started when led1 state changed.
LedLevel2StateChanged : event started when led2 state changed.
LedLevel3StateChanged : event started when led3 state changed.
MotorStateChanged : event started when motor state changed.
MotorVelocityChanged : event activated when motor velocity state changed, the velocity is the ratio of the motor's unloaded RPM to the peak (not RMS) voltage on the wires connected to the coils.
5- ToString : to convert motor speed gotten as int to string.
6- FreshVaseDevice_Functional_0 : Fresh Vase Device which embedded all functionalities of device such as setLedLevel2 and setMotorState.
=⇒ Google Calender is a free time-management web application created by Google which allows to create an event in order to activate our FreshVase, Our bean contains :
Methods :
Void Get_FreshVaseStateFromGoogle() :Receive a decision to launch the system from events gotten from Google Calendar.
Void startVerificationProcess() : Start a thread program excecuting recuperation data process from Google Calender.
Void Set_freshVaseState(blooean).
Void Set_ledlevel1State(boolean).
Void Set_ledlevel2State(boolean).
Void Set_ledlevel3State(boolean).
Events :
FreshVaseStateChanged.
LedLevel1StateChanged.
LedLevel2StateChanged.
LedLevel3StateChanged.
Software Distribution of the High Level Service for the user
Here, put all the files needed to build, to compile and to deploy all your software developments for the high level service
- All the instructions on what must be installed before deployment of the developed software (ex. software stack and WComp):
- Binary distribution of the developed software for the object and how to install (ex. DLL of new beans and wcc of the WComp the assembly) :
- Sources distribution of the developed software and how to build the binary distribution (ex. sources of new beans in WComp):
VIDEO PICTURES and SCREENSHOTS
Here put all that can illustrate the results of your project with ..
VIDEO for demonstrations
PICTURES of the object looking like a finished one
SCREENSHOTS of sofware applications and developments
INSTRUCTIONS AND REMINDERS
INSTRUCTIONS :
- Warning : everything must be written in english ….
- Warning : every added file (ex. figures, picture, sources, binaries, video …) must be added through a web links on a Web repository. You can use such a syntax to integrate the link in this page :
[[http://example.com|Lien externe]]
- For more informations on DokuWiki syntax go to syntax dokuwiki