Realtime Fitness Tracking with IoT

Fitness Tracking & Analytics

Going for a walk, sprinting over a mile, exploring the great outdoors on a trek or performing high-intensity workouts at the gym can all be enhanced with a wearable on the wrist. Wearables like smartwatches add a new dimension to our outdoor activities by capturing rich data to showcase the current health and to help us improve it further by recommending tailored activity plans.

What is a Wearable?

A Wearable is a device which a person can wear like a Smartwatch, Fitness Trackers, Google glass, etc, These devices contain various sensors like Heartbeat Sensor, Accelerometer, Magnetometer, Motion Sensor, Temperature sensor which capture information regarding the surrounding environment (temperature, magnetometer, and motion sensor) and the human activity (heartbeat sensor, accelerometer).

What is Wear OS?

Wear OS by Google is an Operating System having in built support for smartwatch sensors and exposes low level hardware via Wear OS SDK. This helps the developers to tap into the rich array of sensors present on the watch and capture data over time to extract meaningful activity information like Average Heartbeat, Calories burnt over a period, Cardiovascular activity performed, Step counter and so on. Developers can build applications to track the human activity and present interactive graphs to maintain and improve the individual health.

Google Fit is an application by Google available on Android and iOS platforms for the purpose of fitness Tracking and analytics. It tracks health of the heart and Activities either by using the sensors present on the wearable or by the companion app present on the paired smartphone.

Fitness Trackers from Fitbit also suggests a custom diet plan based on activity data and calorie expenditure. We can also input data based on our food intake and get information like calorie expenditure per dish/meal. The fitness trackers apply algorithms by using accelerometer and motion sensor data to identify the workout and calories being burnt. These data are usually sent to a companion app on the smartphone or to the cloud so the individual can also view the trend for each data set like heartbeat trend over a week, step count trend for a month, calories burnt throughout the day during different activities like a workout in the gym, walking, running, etc..,

Fitness Tracker Typical Architecture:

A typical fitness tracker or a wearable establishes a connection with a companion app running on a smartphone via Bluetooth and may support Wi-Fi, AND LTE, GSM capabilities for direct communication over the network.

Sensing Layer

This layer is responsible to collect data from sensors like footsteps count, heart rate, body temperature, XYZ axis variations with respect to Earth’s gravity, ambient magnetic strength and direction with respect to Earth’s magnetic field which can be used to calculate the speed and elevation of the movement.

Network Layer

This layer takes care of transmission, routing, and addressing using IPV6 and IPV4 protocols and power management, device monitoring and control, quality of service management.

Storage & Processing Layer

This layer is responsible for storing and processing the data received from Sensor layer in on device databases or send it to the companion smartphone or cloud for storage via API’s and Push messages.

Service Layer

This layer is responsible to display the data in interactive UX and ensure relevant data is available on the screen when required and to share such data with other services or mobile applications in Android or iOS smartphones.

Leave a Reply

Your email address will not be published.

Fill out this field
Fill out this field
Please enter a valid email address.