A portable training device, comprising:
- a first substrate having:
- a first set of one or more time of flight (ToF) sensors positioned on the first substrate to face in a vertical direction, wherein the first set of one or more ToF sensors comprises at least three ToF sensors;
- a plurality of addressable red, green, blue light emitting diodes (RGB LEDs) positioned on the first substrate to face in the vertical direction;
- a second substrate positioned underneath the first substrate, the second substrate having:
- one or more processors positioned on the second substrate;
- and
- a second set of one or more ToF sensors positioned on a periphery of the second substrate to face in a horizontal direction that is perpendicular to the vertical direction, wherein the second set of one or more ToF sensors comprises at least four ToF sensors;
- a base positioned underneath the second substrate;
- and
- a lens cover coupled to the base, and positioned over the first substrate and the second substrate;
- wherein the one or more processors are configured to:
- determine a training program for a user that includes visual signals that represent a plurality of actions for performance by the user;
- determine a distraction program for the user that includes visual signals that represent a plurality of false actions for performance by the user;
- for each of the plurality of actions:
- cause a first set of the plurality of addressable RGB LEDs to provide a visual indication of the corresponding action for performance by the user;
- and
- following the visual indication of the corresponding action for performance by the user, utilize a first set of one or more indications received from the first set of one or more ToF sensors and/or the second set of one or more ToF sensors to detect whether the user performed the corresponding action;
- determine whether a heart rate of the user has reached a predetermined rate of at least 75% of the max heart rate for the user;
- and
- following a determination that the heart rate of the user has reached the predetermined rate of at least 75% of the max heart rate for the user, for each of the plurality of false actions:
- following the visual indication corresponding to one of the actions of the plurality of actions, cause a second set of the plurality of addressable RGB LEDs to provide a visual indication of the corresponding false action for performance by the user;
- following the visual indication of the corresponding false action for performance by the user, utilize a second set of one or more indications received from the first set of one or more ToF sensors and/or the second set of one or more ToF sensors to detect whether the user performed the corresponding false action;
- and
- transmit an indication of one or more of the detections for display.