Outils pour utilisateurs

Outils du site


projets:ocs:20142015:gr7

Ceci est une ancienne révision du document !


Projets Objets Connectés et Services (OCS)

Title of the Project : Talking Lamp

When a lamp can replace an important parents role

GROUP GR7

MAIN INFORMATIONS about the Project

Name of the members of the Group

  • Zayani Amal, amal.zayani@esprit.tn
  • Stirbu Maria-Cristina, mariacristina.stirbu@gmail.com
  • El Amin Moustafa, moustafa.o.elamin@gmail.com

Scenario of the project


This project is based on telling stories by passing the RFID tags in front of the lamp which can be turned on automatically depending on its light sensor integrated. Each object is equipped with a modifiable tag and a weather bottom.

The main scenarios
I) Tony goes to sleep but he needs someone to tell him a story before sleeping.

Unfortunately, his parents aren't available at the moment. So that, Tony will ask his intelligent talking lamp to tell him a story.

All he has to do is to choose a card referring to a specific story and show it to the bear. The bear will start telling the story. After that, the lamp will be turned off automatically to let the boy sleeps.

II) Tony's parents are very busy and can't stay all the time with Tony. Fortunately, the talking lamp can reduce this problem by giving the parents the chance to upload their own story or just a simple advice to their son (in an .mp3 audio file) and to send it to the lamp via mail (predefined email to the lamp) during their work. Finally, Tony can use his golden modifiable card to listen to his parent recordings.

III) Tony and is parents can know the weather each morning by just clicking on the weather bottom on the lamp.

Connected Object Description

Sketch of our object
3D - CAD description of our object
Sketch of the new object
3D - CAD description of the new object
Real design of the object


Archive of propositions from the designers team

Hardware Specifications and Distribution of the connected Object

Hardware specifications


The light sensor is used to turn on/off the lamp (which is connected via the relays) and the Yellow led depending on its measurements.

The RFID is used to detect a tag and send its ID number to another module that will interact with the web service (via the wifi adapter) to retrieve the audio file associated.Then, the usb audio adapter is used to play the file directly on the speaker.

Array of the purchases
Type Reseller Reference Quantity Unit price (€) Link on the Web page of the product Total price (€)
Lecteur RFID 1024_0 Gotronic 25500 154.9http://www.gotronic.fr/art-carte-a-2-relais-3051-12110.htm 54.9
Interface 8/8/8 + hub SBC1073 Gotronic 25445 1 143.5 http://www.gotronic.fr/art-carte-a-2-relais-3051-12110.htm 143.5
Carte RFID T5577 3915 Gotronic 32150 10 1.8 http://www.gotronic.fr/art-carte-a-2-relais-3051-12110.htm 18
adaptateur-usb-audio-3401 Gotronic 25520 1 10.9 http://www.gotronic.fr/art-carte-a-2-relais-3051-12110.htm 10.9
Wi-Fi USB Adapter 3703_2 for SBC1073 Gotronic 2535 1 34.9 http://www.gotronic.fr/art-carte-a-2-relais-3051-12110.htm 34.9
Led 5mm rouge L53IT Gotronic 3035 1 0.15 http://www.gotronic.fr/art-carte-a-2-relais-3051-12110.htm 0.15
Led 5 mm jaune L53YT Gotronic 3036 1 0.15 http://www.gotronic.fr/art-carte-a-2-relais-3051-12110.htm 0.15
Led 5 mm verte L53GT Gotronic 3037 1 0.15 http://www.gotronic.fr/art-carte-a-2-relais-3051-12110.htm 0.15
Pack of 10 connecting cables M / F BBJ9 Gotronic 12313 2 1.95 http://www.gotronic.fr/art-carte-a-2-relais-3051-12110.htm 3.90
Pack of 10 connecting cables M/M BBJ8 Gotronic 12319 1 1.95 http://www.gotronic.fr/art-carte-a-2-relais-3051-12110.htm 1.95
Capteur de lumière 1143_0 Gotronic 31302 1 7 http://www.gotronic.fr/art-carte-a-2-relais-3051-12110.htm 7
Haut-parleur HP508 miniature - 8 Ω - 50 mm Gotronic 5518 1 0.7 http://www.gotronic.fr/art-carte-a-2-relais-3051-12110.htm 0.7
Cordon jack CA35S05 Gotronic 48248 1 0.9 http://www.gotronic.fr/art-carte-a-2-relais-3051-12110.htm 0.9
Bornier à vis Gotronic 1 3168 2.15 http://www.gotronic.fr/art-carte-a-2-relais-3051-12110.htm 2.15
Ampoule Led “standard” 8W - 230VAC (E27) Gotronic LAL1K3C 1 17.9 http://www.gotronic.fr/art-carte-a-2-relais-3051-12110.htm 17.9
Carte 2 a relays 3051 Gotronic 25495 1 17.6 http://www.gotronic.fr/art-carte-a-2-relais-3051-12110.htm 17.6
Excel File of the purchases

Software Specifications and Distribution of the connected Object

Software Specifications of the connected Object

i) Services exposed by the connected object for device specifications

  1. play sound via url in streaming
  2. turn light with a boolean parameter (threshold of the light sensor)
  3. play sound via text to speech (web service weather)
  4. turn on led
  5. turn off led

We pushed a very simpler logic in our embedded platform in order to make it generic as we can. so that, this logic has just the ability to control the big light of the lamp and the speaker that is connected via the usb audio modulator. The object can also play sound via bean of text to speech through url.

We put also the RFID reader and the light sensor in the object because they are already attached to it unlike other technologies that can be separated from the original object.

2) Application Protocol over Bluetooth link of the object

  • We don't have neither bluetooth neither mobile application in our project

3) Web service to modify a specific mp3 file of the object via sending an email to the object

  • Actually we developed a Java web application that check a predefined email for the object (every 10 seconds) for unread mail coming with a special authentication in the mail subject. Then if yes, it update the mp3 file existing for this tag in our database with the new attached one.
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):
  • Java web application
  • This application is developed on Netbeans8.2 with MySQL. We used the gmail APIs in order to access the mail and retrieve the new mp3 file.
  • This is a representation diagram of the application: click here .

Software Specifications and Distribution of the high level service for the user

BE CAREFUL : Here is the main purpose of your project.

BE CAREFUL : The connected object is only a part of the composition/orchestration between other services to build a high level service

BE CAREFUL : Don't forget that the added value and intelligence of the high level service are based on the use of multiple web services like meteo / agenda …

BE CAREFUL : The use of a user terminal and any other Man Machine interface in order to use directly the object is not the purpose of this module

Software Specifications of the High Level Service for the user

add the description of Specifications of the High Level Service for the user

including the lsit of the Web Services you use to design new High Level functionalities for the user

Example: use of Meteo Web Service to manage the watering of a plant equiped with a connected object

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 :
  1. Warning : everything must be written in english ….
  2. 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]] 
  3. For more informations on DokuWiki syntax go to syntax dokuwiki
projets/ocs/20142015/gr7.1424165898.txt.gz · Dernière modification : 2015/02/17 09:38 de zayani