Pedometer: main information about the project
MEMBERS
Title of the Project : Podometer
Name of the members of the Group
- Paul Lavoine, IHM, lavoine@polytech.unice.fr
- Victor Sallé, IAM, salle@polytech.unice.fr
- Loïc Seguin, IAM, seguin@polytech.unice.fr
Equipments
- HTC 8S
- Personal phone: no
- IMEI: 358721050411346
PROJECT
Content of the Project
Our project aims to count the user footsteps, using one of the most common sensors, the accelerometer. This sensor is accessible through the Microsost.Devices.Sensors namespace from .NET Framework, and provides three-axis acceleration data. When the footsteps measure is launched, new data are fetched every 30ms thanks to a timer.
An algorithm transforms these datas into footsteps. When the user stops the measure, captured datas are serialized into a locally stored JSON file. When the user wants to retrieve past datas, he visits the page about statistics that informs him of his pas footsteps. Footsteps are classified in four time intervals (morning, afternoon, evening and night), and the visualisation is done using the Sparrow Toolkit library. In this way, the user can know when he walks the most.
The user can set the length of his steps to improve the accuracy of measurement. Moreover, the application is available both in English (US) and French (FR), using multiple AppResources files: the app language is automatically set according to the phone language setting.
The current version of the app only uses the accelerometer, but we plan to use the GPS in order to measure the distance traveled, which would allow us to compute an average foodstep length. This average length could give us information about the user, then we can determinate which user is currently using the phone.
SOFTWARE PACKAGES of the Project
- README File
Just open the .sln file using Visual Studio 2013 SP2. Then you will be able to launch the emulator.
- Project zip file
http://users.polytech.unice.fr/~salle/plim/plim-1415-gr5.zip
- All required softwares
Obviously, since Windows Phone development is not ported yet to other platforms (but will become since .NET Framework is now open-source), you need a PC running Windows 8.1 and Visual Studio 2013 with the WP8 SDK.
This project uses the Sparrow Toolkit library. A priori it is attached into the zip file, but if it doesn’t work for some reasons you can download it through NuGet Manager (package Sparrow.Chart.WP8).
HOW TO USE IT
First, you obviously need to launch the app. An app with three pivots should appear.
The first pivot allows you to perform footsteps measures: you just need to click on the Start button. Then the podometer is running and you can walk with the phone (running the app) in your pocket. Each time a footstep is measured the counter is increased and you can see it in live. When you want to stop the measure, just click on the Stop button (same as the Start one). The measure is saved, and you can now slide your finger from right to left to see the second screen.
This screen shows you the past measures (of all time), classified in time intervals. Data are shown as a bar diagram. If you want to reset these datas, go to the third screen. This one allows you to reset all the recorded data (this action can not be undone).
RESULTS
The main feature of our app is to count footsteps. After having use this app three days, we determine that the most walking time is the afternoon, between noon and 6pm.