Skip to content

riccardo97p/IoT_ActivityRecognition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Activity Recognition

This is the official documentation page of the Activity Recognition IoT project.

Who we are

We are Andrea Napoletani, Alessandro Giannetti and Riccardo Pattuglia three friends and students at "La Sapienza" University of Rome.

The Project

Activity Recognition is a project that aims to recognize your activities like standing, sitting, walking and running in order to keep track of your daily trends.

We use the Intel® Curie™ module of Genuino 101 board to train activity patterns and his Pattern Matching Engine to classify new patterns exploiting data from accelerometer and gyroscope. All the classified activities are sent to an Android application through Bluetooth Low Energy (BLE) and stored on Amazon Web Services (AWS IoT and AWS DynamoDB); finally, everything is plotted on Redash.

Technologies

Be careful: for this project we have used free trial periods (30 days for Redash and 12 months for AWS IoT/DynamoDB), after that period you have to pay for them.

Project overview

  • Train Genuino 101 Board on some regular patterns (referred to each activity) in order to allow it to classify new patterns captured by accelerometer and gyroscope.
  • Send data from Genuino 101 to the Android App through Bluetooth Low Energy (BLE) technology.
  • Connect the Android App to AWS IoT service and send data exploiting MQTT protocol.
  • Connect and store data from AWS IoT to AWS DynamoDB.
  • Query the AWS DynamoDB from Redash to plot the activity overview.

For the details about each step see our Hackster.io post!

How to use

Follow these steps to try the project:

  • Import and upload the sketch on Genuino 101.
  • Import the Android app on Android Studio.
  • Change private static final String CUSTOMER_SPECIFIC_IOT_ENDPOINT = "YOUR_ENDPOINT"; in the AWSServiceClient.java file with your AWS IoT Endpoint.
  • Change final String topic = "YOUR_TOPIC"; in the AWSServiceClient.java with the name of your topic.
  • Change
    "PoolId": "YOUR_POOLID",
    "Region": "YOUR_REGION"

in the res/raw/awsconfiguration.json file with your PoolID and Region values.

  • Build and Run the app.

Useful Links

Authors

Feel free to contact us for further information!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages