Ci-dessous, les différences entre deux révisions de la page.
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:smartlight [2014/02/21 00:35] etudiant_oc_2013_2014 [Project Files:] |
projets:oc:oc_2013_2014:smartlight [2014/02/21 02:14] (Version actuelle) etudiant_oc_2013_2014 [Project Files:] |
||
---|---|---|---|
Ligne 16: | Ligne 16: | ||
==== Scenario :==== | ==== Scenario :==== | ||
- | When the lamp detects the change of light or the presence of the user, it sends raw data to the remote PC services. | + | * When the lamp SmartLight detects the change of light or the presence of the user, it sends raw data to the remote PC services. |
- | When the remote PC Service receiv'd data, it turns into states: bright and not bright, present or not, and transform these states as Json to send the second remote pc services. | + | * When the Remote PC Service received data, it turns into states: bright or not bright, present or not, and transform these states as Json forma to send to the second remote PC services. |
- | 2nd serve remote pc receive Json, stores it in a local fichie and upload it to the dropbox. | + | * The 2nd Remote PC Service receive the Json. It stores the Json into a local file, and user can check it. In addition the service uploads this file on internet, into the doctor's dropbox. Then the doctor can treating a patient remotely. |
==== Object Shape : ==== | ==== Object Shape : ==== | ||
Ligne 25: | Ligne 25: | ||
**arnaud BILLAUDEL** | **arnaud BILLAUDEL** | ||
== Sketch of the Object from Reims : == | == Sketch of the Object from Reims : == | ||
- | {{http://i.imgur.com/BsJVqY9.png?650}} | + | {{http://i.imgur.com/BsJVqY9.png?450}} |
== Picture of the Object without instruments and electronics :== | == Picture of the Object without instruments and electronics :== | ||
- | {{http://i.imgur.com/sYgacj2.jpg?650}} | + | {{http://i.imgur.com/sYgacj2.jpg?300}} |
== Picture of the Object with instruments and electronics outside on the same table (put some circles and arrows on the picture to show where you're going to integrate all of these) : == | == Picture of the Object with instruments and electronics outside on the same table (put some circles and arrows on the picture to show where you're going to integrate all of these) : == | ||
- | {{http://i.imgur.com/4LBc9zj.jpg?650}} | + | {{http://i.imgur.com/4LBc9zj.jpg?400}} |
== Picture of the finished Object (all is integrated): == | == Picture of the finished Object (all is integrated): == | ||
- | {{http://i.imgur.com/lkMQkaJ.jpg?650}} | + | {{http://i.imgur.com/lkMQkaJ.jpg?350}} |
== Demonstration Video : == | == Demonstration Video : == | ||
- | [[http://youtu.be/wQjXlvnyo-0|Youtube Video]] | + | [[http://youtu.be/wQjXlvnyo-0|Youtube SmartLight Video]] |
+ | |||
==== Hardware specifications : ==== | ==== Hardware specifications : ==== | ||
Ligne 46: | Ligne 48: | ||
==== Specifications and interface of the service on the object ==== | ==== Specifications and interface of the service on the object ==== | ||
- | There are two services on the object | + | There are two services on the object: |
- | one service is to capture the raw datas from the distance sensor and tranform the datas to real distance whose unit is cm. The other service is the value from light sensor, which presents the level of brightness. These two services are sent with a specified frequency via upnp (to avoid the problem of overrun on the embedded card phidget). | + | * One service is to capture the raw datas from the distance sensor and tranform the datas to real distance whose unit is cm. |
+ | * The other service is the value from light sensor, which presents the level of brightness. These two services are sent with a specified frequency via upnp (to avoid the problem of overrun on the embedded card phidget). | ||
{{http://i.imgur.com/9XAohSX.png?650}} | {{http://i.imgur.com/9XAohSX.png?650}} | ||
==== Specifications of the interface of high added value service ==== | ==== Specifications of the interface of high added value service ==== | ||
Ligne 76: | Ligne 79: | ||
*[[https://www.dropbox.com/s/utedymi5wour8ob/PC_SourceCodes.zip | source code]] | *[[https://www.dropbox.com/s/utedymi5wour8ob/PC_SourceCodes.zip | source code]] | ||
== Chesklist to install the embedded service on the object == | == Chesklist to install the embedded service on the object == | ||
- | * Copy SmartLight.wcc and ConvertToDistance.dll and NoiseFilter.dll on the phidget | + | * Copy SmartLight.wcc, ConvertToDistance.dll and NoiseFilter.dll on the phidget |
- | * Open session in PuTTY then type the appropriate password | + | * When the SmartLight device is turned on, the embedded service will be started automatically, by modify the script /etc/rc.local (to add mono Container.exe –r ../Beans –l smartLight2.wcc –n SmartLight) |
- | * Launch the service : mono Container.exe –r ../Beans –l smartLight2.wcc –n SmartLight | + | (N.B. As there is a bug from Wcomp for our embedded service, this step is not necessary for us.) |
== Chesklist to install the remote service/application on the PC == | == Chesklist to install the remote service/application on the PC == | ||
* Copy the CheckBrillantState.dll, CheckPresentState.dll and StateController.dll into the directory Beans of SharpDevlop | * Copy the CheckBrillantState.dll, CheckPresentState.dll and StateController.dll into the directory Beans of SharpDevlop | ||
Ligne 89: | Ligne 91: | ||
* Modify the component sl_services_functional_11's uri with the functional uri of the last container. | * Modify the component sl_services_functional_11's uri with the functional uri of the last container. | ||
==== Results of the relations with Reims (being factual without personal opinion) ==== | ==== Results of the relations with Reims (being factual without personal opinion) ==== | ||
- | The lamp was made as commended, except that there are two small remarks: | + | The collaboration with Reims learned us: |
- | * The high part of the lamp to put in the light sensor is not well done to capture light. | + | * How to make the nearly commercial product |
- | * The lamp was too fragile | + | * How to deal the prototype (we had written a specification file to describe our project) |
+ | * To communicate (we discuss on the web site of adhoc frequently to make the decisions and to talk about the changes for the project) | ||
+ | In result, the prototype was made as commended, except that there are two small remarks: | ||
+ | * The high part of the lamp to put in the light sensor is not well done to capture light. | ||
+ | * The lamp was too fragile (lamp was already broken when we received it) | ||
==== Prospects : ==== | ==== Prospects : ==== | ||
== Possible extensions of the object == | == Possible extensions of the object == |