====== Smart Objects and Services ====== ====== Project Presentation ====== == Name : == Portefeuille intelligent == Group Composition : == Ines SARRAY & Rahma DAIKHI ==== Scenario :==== The user take his intelligent wallet like he's used to. When he opens the wallet, the embedded light sensor will detect this action and send a notification event to the attached GPS Module. The GPS module will get the user location coordinates, then, using Google Maps, it will convert this coordinates into an address. These addresses are then stored into a file for further processing. ==== Object Shape : ==== == Name of the contact at Reims : == Maxime Belgioino == Sketch of the Object from Reims : == [[https://www.dropbox.com/s/iaq3c543tmkfjta/REIMS_Model.jpg|Sketch 1]] [[https://www.dropbox.com/s/tl61gj3a2sd0hlk/REIMS_Model1.jpg|Sketch 2]] [[https://www.dropbox.com/s/wlarkn42lgwgt1o/REIMS_Model3.jpg|Sketch 3]] [[https://www.dropbox.com/s/bw9b4vghzpa2jbw/REIMS_Model2.jpg|Sketch 4]] [[https://www.dropbox.com/s/x1giowq6rzx2jnq/REIMS_Model4.jpg|Sketch 5]] == 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) : == [[https://www.dropbox.com/s/xy3un2kd2avp9c5/Portefeuille_circuits.JPG|Instruments and electronics]] == Picture of the finished Object (all is integrated): == == Demonstration Video : == [[https://www.dropbox.com/s/8tt49bk5372s393/DemoPortfeuille.avi|Demonstration Video link]] ==== Hardware specifications : ==== == List : == * 1 x Light Sensor | [[http://www.dfrobot.com/index.php|reseller link]] | 507010 | [[http://www.dfrobot.com/index.php?route=product/product&path=36_58&product_id=1004|technical document]] * 1 x GPS sensor | [[http://www.trenz-electronic.de|reseller link]] | Ev. Kit PA6B | [[http://www.trenz-electronic.de/fileadmin/docs/GlobalTop_Technology/evaluation_kits/documents/GPS%20Module%20EV-Kit%20User%20Manual%20A05%20For%20MTK%20Chip.pdf|technical document]] * Raspberry Pi | [[http://www.raspberrypi.org|reseller link]] | Rev. B | [[http://www.raspberrypi.org/technical-help-and-resource-documents|technical document]] * 1 x ADC microchip | [[http://www.microchip.com|reseller link]] | MPC3202 | [[http://ww1.microchip.com/downloads/en/DeviceDoc/21034F.pdf|technical document]] ==== Specifications and interface of the service on the object ==== * The system (wallet) components are connected via UPnP * When the Light Sensor detects a positive illumination change (lights), it sends an event to GPS Module * The GPS Module will send a read data request to the GPS chip (connected via usb-to-serial port) * Once the coordinates answer is received, it is parsed into longitude and latitude values * The GPS Modules sends these values to Google Maps, using Geocoder API, to do reverse decoding and get back the address * The address is stored for further usage (monitoring, spending pattern etc) - Sensors Module container: with Light sensor and GPS - Location Module container: connects to Google Maps to get location address, stores data and defines spending patterns ==== Specifications of the interface of high added value service ==== - Monitoring user location - Strong information about user spending pattern - Improve user money management - Can be coupled with other services via UPnP ==== Project Files: ==== == . wcc of the two containers (embedded and on the remote PC) : == [[https://www.dropbox.com/s/4yhixv7vfwxfz1g/WCompBeans.zip|WCC Container link]] == Beans added for the embedded container (for the service on the object) ** (DLL and Source code for each of them) == The LightSensor uses Raspberry.IO.Net Library to communicate with LightSensor module through Analog-to-Digital Converter (MCP3202) via Raspberry SPI/GPIO ports [[https://www.dropbox.com/s/3z848byyhpdik2r/SensorLightModule.zip|Sensor light Beans and source code]] GPS Module uses serial communication with GPS sensor to get coordinates, than uses Google Maps API to get actual location from coordinates [[https://www.dropbox.com/s/eaituote1lj4y09/GPSModule.zip|GPS Beans and source code]] == Beans added for the remote PC container (for the high added value service on the PC) ** (DLL and Source code for each of them) == == Chesklist to install the embedded service on the object == * Configure Raspberry Pi IP address * Install mono framework * Install GPIO SPI Driver (for communication with mpc3202 adc) * Install WComp Linux container * Copy WComp beans dll (LightSensorBean.dll, GPSBean.dll) under WComp container beans folder == Chesklist to install the remote service/application on the PC == ==== Results of the relations with Reims (being factual without personal opinion) ==== We communicated with Reims using www.adhoccollaboration.com platform, We've sent him specifications and trials results, the proposed prototype was satisfying, but missing some functionalities (like having a proper encloser for the light sensor inside the wallet) ==== Prospects : ==== == Possible extensions of the object == Currently the Wallet uses only Light sensor to detect when it's opened and GPS to get user's location * We could add a sensor to count the money contained in the wallet == Possible extension of the service on the Object == * Hold an account of the credit available in the wallet * Define user spending pattern * Change data storage from files to database == Possible extension of the high added value Service == * Notify the user when he's running low on credit * Notify the user when his spending pattern changes * Notify the user if his wallet is stolen or lost == Possible GUI for data visualization == * Show spending pattern as a graph * Show cash crediting and cash spending on a map