Main Content

Developing a "personal trainer" using TinyML

Creating a TinyML classification model to identify the correct execution of gym exercises

According to the Minister of Health of Brazil, in 2020, 36.8% of the country population used to practice some sort of physical activity on their free time.

Seeking a way to improve the feedback a person can receive while doing exercises, a system was developed by integrating TinymL with a small development board that can be attached to a dumbbell.

The development board which will be used in this project is the Seeed XIAO nRF52840 BLE Sense for its compact size, lower power consumption, ability to recharge the battery and built-in accelerometer and gyroscope. Sensors essential for this project.

3D Casing
To be able to bring the whole system inside a gym or in a physical activity environment, it is necessary to create a case to protect the development board from accidental drops while being able to carry along a battery, thus making it possible to operate without using cables.

A simple yet useful casing can be made by using 3D printers.

Data Acquisition
One of the main problems of this project is being able to collect reliable data, since collecting data involves attaching the whole system to the side of a dumbbel that in moving all the time, either up and down, side to side or both all together.

One way to solve this problem is by using bluetooth to transmit the data from the inertial measurement unit (IMU) to a smartphone without the need for cables.”

Link to article