# 1. Push-Up Exercise

The number of push-ups can be uploaded to the IoT platform.

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

### Building Instructions[](https://kittenbothk-eng.readthedocs.io/en/latest/Kits/fitness/pushup.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/pushup.html#sample-program)

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

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

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

1. Place the ultrasound sensor below the user’s chest.
2. Turn on the Robotbit and wait for Wifibrick to connect to MakerCloud.
3. When the user’s body is less than 15cm to the ground, the device beeps to notify the user to go up. When the user’s body is higher than 25cm, the device beeps to notify the user to go down.
4. Press A to see the number of push-ups done
5. Press B to upload the data to MakerCloud.
6. Press A+B to reset the counter to 0.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sharinghub-eng.kittenbot.hk/educational-kit-sets/kittenbot-fitness-testing-kit/1.-push-up-exercise.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
