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.
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.
Software Specifications and Distribution of the connected Object
Software Specifications of the connected Object
i) Services exposed by the connected object for device specifications
play sound via url in streaming
turn light with a boolean parameter (threshold of the light sensor)
play sound via text to speech (web service weather)
turn on led
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
Embedded Software in the connected object
We have to install many things before starting the development of our project:
WComp, SharpDevelop, Device Spy, Phidget Control Panel, Bonjour from Apple
Software Specifications and Distribution of the high level service for the user
This main purpose of this project is to play mp3 file and access to web service weather (RFID reader and a bottom).
In order to accomplish that, we put our project in the middle of an orchestration that's fulfill also web services that can be accessed by the object like the web service REST for weather and the Web application that is located in the local host (it can be migrated later into the cloud).
Finally, with this way of prototyping and accomplishing our object, we can have at the end a really smart connected lamp.
Software Specifications of the High Level Service for the user
Actually, our project is communicating with the orchestration by receiving request (events) based on the UPnP Universal Plug and Play to consume a certain web service like in our case the weather an text to speech. Also, it receives events to start playing a story stored on the local-host and not the object itself.
We are using the Web Service Weather from google vis the REST method ( explained here) with an HTTP GET request. Also, we are using the web service text to speech related to the weather.
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
This part is about
All the instructions on what must be on how to generate a new device and declare all events.
Binary distribution of the developed software for the object and how to install WS Weather, Text to speech,
Sources distribution of the developed software and how to build the binary distribution source
VIDEO PICTURES and SCREENSHOTS
the results of our project:
VIDEO for demonstrations
PICTURES of the object looking like a finished one
SCREENSHOTS of sofware applications and developments
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 tosyntax dokuwiki
projets/ocs/20142015/gr7.txt · Dernière modification: 2015/02/17 15:38 par zayani