> For the complete documentation index, see [llms.txt](https://sharinghub-eng.kittenbot.hk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sharinghub-eng.kittenbot.hk/educational-kit-sets/kittenbot-fitness-testing-kit/4.-y-balance-test.md).

# 4. Y-Balance Test

Measure the Y-Balance distance and upload to IoT platform.

![../../\_images/ybalance.png](https://kittenbothk-eng.readthedocs.io/en/latest/_images/ybalance.png)

### Building Instructions[](https://kittenbothk-eng.readthedocs.io/en/latest/Kits/fitness/ybalance.html#building-instructions)

[Building Instructions](https://kittenbothk-eng.readthedocs.io/en/latest/jacdac/microbit_webusb.html#id1)

#### Sensor[](https://kittenbothk-eng.readthedocs.io/en/latest/Kits/fitness/ybalance.html#sensor)

![../../\_images/ybalance\_sensor\_wire.png](https://kittenbothk-eng.readthedocs.io/en/latest/_images/ybalance_sensor_wire.png)

#### Controller[](https://kittenbothk-eng.readthedocs.io/en/latest/Kits/fitness/ybalance.html#controller)

![../../\_images/ybalance\_controller\_wire.png](https://kittenbothk-eng.readthedocs.io/en/latest/_images/ybalance_controller_wire.png)

### Sample Program[](https://kittenbothk-eng.readthedocs.io/en/latest/Kits/fitness/ybalance.html#sample-program)

#### Sensor(Front)[](https://kittenbothk-eng.readthedocs.io/en/latest/Kits/fitness/ybalance.html#sensor-front)

![../../\_images/ybalance\_f\_code.png](https://kittenbothk-eng.readthedocs.io/en/latest/_images/ybalance_f_code.png)

[Sample Program](https://makecode.microbit.org/_Tf63UpRzp9xK)

#### Sensor(Left)[](https://kittenbothk-eng.readthedocs.io/en/latest/Kits/fitness/ybalance.html#sensor-left)

![../../\_images/ybalance\_l\_code.png](https://kittenbothk-eng.readthedocs.io/en/latest/_images/ybalance_l_code.png)

[Sample Program](https://makecode.microbit.org/_K3Jhvx9qDLRE)

#### Sensor(Right)[](https://kittenbothk-eng.readthedocs.io/en/latest/Kits/fitness/ybalance.html#sensor-right)

![../../\_images/ybalance\_r\_code.png](https://kittenbothk-eng.readthedocs.io/en/latest/_images/ybalance_r_code.png)

[Sample Program](https://makecode.microbit.org/_Y3mKwmWcxiey)

#### Controller[](https://kittenbothk-eng.readthedocs.io/en/latest/Kits/fitness/ybalance.html#id1)

![../../\_images/ybalance\_controller\_code.png](https://kittenbothk-eng.readthedocs.io/en/latest/_images/ybalance_controller_code.png)

[Sample Program](https://makecode.microbit.org/_TUKAEaFcqdVM)

### Instructions[](https://kittenbothk-eng.readthedocs.io/en/latest/Kits/fitness/ybalance.html#instructions)

1. Make a big Y with tape on the ground. (Approx. 1m for each sid)
2. Place the corresponding sensor on the end of each line(F,L,R).
3. Place a little box on the center of the Y.
4. The system measures the Front, Left and then Right, the controller will show the current mode.
5. Press A on the controller to set a baseline on the current mode.
6. Ask the user to push the box with his/her feet along the line, press B on the controller when the user reaches the limit.
7. Press A+B to switch modes.
8. Repeat until all 3 lines are measured, press the button module to upload the data onto MakerCloud.

[ Previous](https://kittenbothk-eng.readthedocs.io/en/latest/Kits/fitness/sitandreach.html)[Next ](https://kittenbothk-eng.readthedocs.io/en/latest/Kits/fitness/plank.html)<br>
