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:

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.

Last updated