# 3. Sit and Reach Test

Measure the sit and reach distance and upload to IoT platform.

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

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

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

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

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

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

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

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

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

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

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

### 使用方法[](https://kittenbothk-eng.readthedocs.io/en/latest/Kits/fitness/sitandreach.html#id1)

1. Place the sensor on a table facing a wall.
2. Turn on the Robotbit and wait for Wifibrick to connect to MakerCloud.
3. Sit right and hold out the hands, push the device against the tip of the hand, press A on the controller to set a baseline.
4. Push the sensor towards the wall, press B on the controller to measure the distance.
5. The sensor will show and upload the sit and reach distance onto MakerCloud.
