# Send Commands to Hackerbot

Connect to the Raspberry Pi via TigerVNC as described in the previous section. Once connected, open a terminal window on the Raspberry Pi and run the following command to initiate a serial connection with the Main Controller Arduino using `miniterm`:

```sh
python3 -m serial.tools.miniterm /dev/ttyACM0 230400 --echo
```

This command opens a serial interface at 230400 baud on `/dev/ttyACM0`, enabling direct communication between the Raspberry Pi 5 and the Hackerbot's Main Controller.

Once connected, you can send commands such as:

* `PING`
* `VERSION`

To test the connection, type `PING` and press **Enter** (on Windows) or **Return** (on macOS). If successful, the response `OK` will appear in the terminal. You can also try sending the `VERSION` command to retrieve firmware version information.


---

# 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://hackerbot-industries.gitbook.io/documentation-hackerbot-industries/send-commands-to-hackerbot.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.
