Outils pour utilisateurs

Outils du site


Panneau latéral

Accueil

Select other language :


Apprentissage

Enseignements

Enseignements Département Informatique SI5 et Master IFI

Enseignements Département Bâtiment Polytech'Nice

Autres Formations française et étrangère

Activités administratives, Ingénierie et Innovation Pédagogiques

Apprentissage Département Informatique SI5/Master 2 ingénierie informatique EUR DS4H


Recherche

Valorisation de la Recherche

Dépôts Logiciels à l’Agence de Protection des Programme (APP)

Valorisation des résultats de recherche et transfert

Diffusion de la Culture scientifique et Technologique

Communications de presse

Séminaire ENSI Tunis

Pédagogie Innovante

Relations industrielles et socio-économique

Organisation de Manifestations

  • Conférence sur les FabLabs, Alexandre Schneider, Professeur Agrégé en Génie Mécanique, Université de Reims Champagne-Ardenne Web
  • Journées UbiMob'14 Site Web

Animation de la Recherche

U-Santé

Privé

Outils

Sources d'Informations

projets:oc:oc_2013_2014:ubimug

Smart Objects and Services

Project Presentation

Name :

UbiMug

Group Composition :

Karim Hamrouni, Aymen Ben Alaya, Ramla Bachrouch

Scenario :

UbiMug is intended for use by everyone who loves coffe and cares about his health. This little gadget will of course, let you enjoy your prefered beaverage, but it will also helps it's users monitor their stress their sleep cycles among many other possibilities.

Let's take the example of workers at offices: the end-user can measure it's consumption of coffee, sugar and the amount of breaks he took in a journey. By collecting informations like the current temperature of the beaverage inside the UbiMug, data concerning the positionning of the mug, acceleration data, sugar concentration and times of consumption, it will be able to provide accurate data in order to be used in many cases: doctors, therapists, psychologists, project managers or the “drinker” itself. Temperature is gatherd by a precision temperature sensor in the base of the liquid container, which will provide accurate sensing of the temperature.

An accelerometer will sense the orientation of the mug; in other words, how it's used and how much coffee remains in the container.

Another voltage sensor will provide measurement about liquid conductivity: we can detect sugar concentration, presence of liquid, salt concentration and many other liquid-conductivity-related properties.

Object Shape :

Name of the contact at Reims :

Joseph Bourgeaux

Sketch of the Object from Reims :

Picture of the Object without instruments and electronics :

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 finished Object (all is integrated):

Demonstration Video :

Hardware specifications :

List :
sensor or actuator reseller link reference datasheet
3 Axis Accelerometer lextronic.fr SEN-09269 http://bit.ly/1oqQF0v
Precision Temperature Sensor lextronic.fr SEN-09418 http://bit.ly/1ewtCbO
Conductivity Probe None(wires only) None None

Specifications and interface of the service on the object

During the prototyping of our object, we focused on the ability of our object to provide the data through different, well known, standards such as CSV files and UPnP. With those two communication paths, many ways of high added value services could be added. As an example, we choose to delpoy some of them:

  • All data is collected in CSV data tables, those data tables are widely known and could be used in programs such as MS-Excel for easy charting, MatLab & Simulink for visualizing time-differed usage of the mug. They also can be imported into databases or used along with other CSV files or data in the Google Fusion Tables plateform. Analists can get correlations in using our CSV files in utilities such as 'R', and with a sufficent number of UbiMugs deployed in the world, beautifully informative data vizualisations, like the ones generated by Gapminder (Hans Roseling), are withing reach.
CSV files are stored into the device, and the embedded webserver can deliver thoses files to any device via simple webqueries (dnsnameofdevice.local/dd-MM-YYYY.csv)
  • UPnP status variables are sent on the lan of the connected object, this is useful for communicating values to other devices on the same network.

As an example, a UPnP enabled coffe machine could know if you are running out of coffe and prepare some for you.

  • We also imagined a “hacked way” to use UPnP data: let's take teachers as users: many times a day, they are doing presentations in classes and have to deal with a remote controller or their keyboard to jump from one slide to another. The UbiMug, with it's motion detection ability, can become a controller interface for the computer: turn it to the right to jump to the next diapositve, and vice versa…

Cases like brutal mouvements can of course engender coffe to leak from the UbiMug ; here too, a TTS (TextToSpeech) service reminds you whenever your mug is unstable by sound notifications from your personal computer.

Specifications of the interface of high added value service

Note : (including a figure on the orchestration between services on objects and information systems)

Project Files:

. wcc of the two containers (embedded and on the remote PC) :
Beans added for the embedded container (for the service on the object) ** (DLL and Source code for each of them)

DLLS Only : https://s.yunio.com/Y55Fkq Source Code Solution : https://s.yunio.com/lwK97t

Beans added for the remote PC container (for the high added value service on the PC) ** (DLL and Source code for each of them)

DLLS Only : https://s.yunio.com/Y55Fkq Source Code Solution : https://s.yunio.com/lwK97t

Chesklist to install the embedded service on the object
  • Using SFTP (user:root/pwd:admin)
    • Put beans into the Beans Folder (dll only)
    • Put WCC container into the phidget
    • Add autostart script to /etc/rc.local (mono /root/wcomp/SharpWCompContainer/Container.exe -r /root/wcomp/Beans/ -l /root/wcomp/SharpWCompContainer/UbiMugSBC.wcc -n UbiMugUPnP), if problems were encountred, wrap into a sed command line (check: http://en.wikipedia.org/wiki/Sed)
  • Using UPnP Device Inspector
    • After power-on, check the UPnP Device Inspector for new devices (UbiMug)
Chesklist to install the remote service/application on the PC
  • Install SharpDevelop along with WComp add-on
  • Put Beans (DLL), into beans folder of SharpDevelop
  • Open SharpDevelop and create a new C# container
  • Import and Replace WCC from Wcomp menu
  • Open UPnP Wizard
  • Back to SharpDevelop, Bind UPnP Device
  • Back to UPnP Wizard, connect container
  • Back to SharpDevelop, connect recently added devices to th Simulate-Key Bean

Results of the relations with Reims (being factual without personal opinion)

Working with CAO-Designers from Reins was an effective relation, resulting in a nearly commercial product. We learned how to deal with prototyping issues, such as cost, feasibility and size. They also learned how adapt their methodology and artistic added value for constraint-specific applications, such as embedding wires, waterproofing, temperature and environment constraints etc…

It's not an easy task to communicate around a project with virtual tooling, such as VoIP systems, emails, boards, 3D sketches… but it have to be done this way in order to reduce costs.

The end result of our UbiMug is very convincing and the implementation of the hardware went most of the time like a charm (not to consider small holes in the device for wiring).

Prospects :

Possible extensions of the object
  • Blutooth support for Smartphone synchronization
  • GPS enabled for outdoor tracking (10m)
  • RFID for better indoor tracking (10cm, floor, room etc…)
  • Moisture & other variables (such as caffeine, milk) detection
  • LEDs for showing the state of the mug
  • Ambient sound detection
Possible extension of the service on the Object
  • Use the object as a controller for other devices (remote controller for TV for example)
  • Use the object as a controller for the coffee machine ; disabling it if too much coffee is consumed in a certain period of time.
Possible extension of the high added value Service
  • Google Calendar integration, for detecting work days and better stress detection.
  • Coupled with ambient sound sensor for better “stress zones” detection.
Possible GUI for data visualization

Microsoft Excel Hans Rosling Gapminder Mathworks Simulink Google Fusion Tables www.datavisualization.ch_wp-content_uploads_2009_06_fusion_charts_01.jpg

Budget Summary :

approximative!

projets/oc/oc_2013_2014/ubimug.txt · Dernière modification: 2014/06/14 12:38 par etudiant_oc_2013_2014