top of page
Blog: Blog2

TECH FOR THE MOTIVATOR

  • Oct 21, 2019
  • 2 min read

Interactive flowchart


1. Coach hands out device with no.1 and opens app with coach specific programming.

2. Types that device 1 is on participant named X, does this for all participants. The data generated from that device will automatically be linked to his profile.

3. Coach will decide what fitness/ skill level X will train at, i.e. beginner, intermediate, advanced and professional. There will be different settings for each level eg. beginner = 100 steps/min and only 30 seconds rest time before vibration occurs etc. (status).


Steps to be coded:

4. Once all users have their devices, they can turn them on using the on button and start their warm up (feedback). Once the pre- determined movement level is reached, the device will glow orange indicating it is ‘warmed up’ and ready to track movement in exercises (feedback).

5. The device will be on for the whole session and track how active the users are and motivate them to keep moving for all activities. If required step/ movement level is not being reached, two haptic motors on each side will vibrate creating an incentive to keep the feet moving (attention).

6. Coloured LEDs will also indicate what level the user is at, i.e. green for enough movement and red for not enough (status). This real time feedback can be noted visually by the user and coach and provide improvements while the session is running.

7. Once the session is done, the user turns the device off via the ON/OFF button which resets the system on that device (status). This stops users from turning devices off if they want to rest and stop the vibrations, making them stay active for longer. However, if they are injured or can’t compete with their set level then the coach can change the level.

8. During the cool down period, users can log onto the matching mobile application and review their data (alternatively, can log onto the website at home). Since the devices were linked to their profiles at the start, the data is inputted already and sent through bluetooth. They can review the data and speak with the coach about their progress or vise versa (feedback).


Coding items:

Button, accelerometer, LED, vibration motors


Coding actions:

Turn LEDs on with button - will flash green.

Accelerometer will track a determined low movement amount and LEDs will turn orange.

Accelerometer will track a determined high movement amount and LEDs will turn green.

When accelerometer isn’t receiving movement, vibration motors will go off. LED may turn red.

Turn device off with button that turns LEDs off.


Accelerometer

- Put long pins into breadboard and then breakout board on top, attach wires accordingly:

- Connect VIN hole to 5V power, connect GND to ground on arduino, only SCL and SDA are 5v safe

- Install ADXL343 library

- Run sensor test


Activity/Inactivity Detection

Rather than constantly polling an accelerometer to see if movement is detected, you can configure the ADXL343 to let you know when there is (one or both of) activity or inactivity on the device, with user-adjustable thresholds. This can be configured to fire an INT pin, which you could use to wakeup your device, for example, or put it to sleep after a certain amount of inactivity. ( to use an INT pin on 5v, will need to level shift manually ).


Comments


©2019 by Tayissa Walters. Proudly created with Wix.com

bottom of page