add wishlist add wishlist show wishlist add compare add compare show compare preloader icon-theme-126 icon-theme-161 icon-theme-138 icon-theme-027 electro-thumb electro-return-icon electro-brands-icon electro-payment
  • +1 (857) 226-1305
  • +86 18825289328

Summary of Common Issues in Tonybot Usage

1. Tonybot wiring instructions

To utilize PC software control and servo debugging functionalities, connect the computer to the interface on the servo control board.

For uploading programs and executing related functions, connect the computer to the interface on the core board.


2. Resolving "Compilation error: SensorQMI8658.hpp: No such file or directory"

This error occurs due to the missing data package from the provided materials. Add the required data package and recompile the program to resolve the issue.


3. Resolving robot drift after prolonged walking

This issue stems from incorrect deviation values in the legs or feet. Follow the steps below to adjust the deviation values.

After downloading and saving the deviation values, execute a reset motion to evaluate the performance. If the results are not ideal, repeat the same procedure for further tuning. It is also possible to observe which step and which servo is causing the robot to drift.


4. Continuous buzzer beeping

Q: What causes the Tonybot buzzer to sound continuously?

A: Apart from program-related causes, a continuously sounding buzzer on Tonybot is usually due to a low-voltage alarm caused by the power supply. Troubleshoot the issue using the following steps:

  1. Check the Tonybot Battery Level

    Connect the mobile application to monitor the battery level. A voltage reading around 10V triggers the low-voltage alarm.

  2. Verify the Boot Sequence

    Connecting only the Type-C cable can also trigger a low-voltage alarm. When using Tonybot, power on first before connecting the data cable.


5. Tonybot serial port not detected

Q: Why is the serial port missing from the Device Manager when connecting the Tonybot via a Type-C data cable?

A: This issue is typically caused by the following factors. Proceed with the troubleshooting steps below.

  1. Check the Serial Port Driver

    The computer lacks the necessary serial port driver, preventing port detection. Download the appropriate serial port driver file for the specific operating system.

  2. CH340 Driver Download Link

  3. Inspect Hardware Wiring

    1. The Tonybot controller features two ports with distinct functions. Only the core board port supports the serial port driver. The core board port is utilized for flashing programs, while the bus servo controller port connects to the PC software.

Core Board Port: Flashing programs.

Bus Servo Controller Port: Connecting to the PC software.


6. Tonybot fails to connect to flashing software

Q: Why does the Tonybot fail to connect to the Python editor or WonderCode, displaying the following error message?

A:

  1. Verify the wiring connections. Flashing programs requires connecting to the core board. Refer to the first section above for specific wiring details. If the wiring is correct, verify the selected serial port. Open the Device Manager to identify the port labeled CH340, which corresponds to the robot.
  2. This issue may arise if the core board lacks the corresponding MicroPython firmware or if an Arduino program was previously flashed.

Specific Path: 2 Software Tools & Source Code\9. Tonybot Firmware for Python and Scratch Programming


7. Tonybot firmware flashed successfully but fails to run

Q: Why does the Tonybot fail to connect to the flashing software or execute programs even after a "successful" firmware flash?

A: This issue indicates an unsuccessful firmware flash. Flashing the firmware requires configuring the parameters according to the corresponding documentation and ensuring the firmware file is explicitly selected.

Solution: Select the firmware checkbox as illustrated in the figure below.


8. Why does uploading functions such as color recognition that require I2C devices result in a serial port error, showing “upload failed, please check the panel information”?

This error occurs when the Tonybot fails to initialize the I2C device properly due to an incorrect or missing connection. Verify that the hardware is connected to the correct interface and ensure no other devices are improperly attached. If the wiring is correct, inspect the 4-pin cable and the module itself to identify the hardware fault. If a hardware defect is confirmed, please contact customer support so that it can be reported to the technical team for further handling.


9. Why does the Tonybot vision module fail to recognize colors properly?

Implementing this feature requires flashing the corresponding programs to both the ESP32 S3 vision module and the Tonybot.

When uploading the ESP32 S3 vision module program, strictly adhere to the configuration parameters outlined in the documentation. Any discrepancy with the provided configuration will likely result in recognition failures.

Select the corresponding ESP32S3 development board configuration as shown in the following image. Initial use requires configuration, and while subsequent uses do not require reconfiguration, verifying the settings before every upload remains strictly necessary.

Since the module does not have a display, if it is uncertain whether the module is being recognized properly, the Arduino Serial Monitor can be opened after uploading the program to check the output results. The Serial Monitor is located in the upper-right corner.

If the corresponding color ID is output correctly, it indicates that the recognition is functioning normally. The vision module can then be properly connected to the designated interface on Tonybot as described in the tutorial, and the corresponding program can also be uploaded to the robot.

After uploading the program to Tonybot, the data cable must be disconnected, followed by a power-off and restart to enable the function to run correctly.


10. Resolving missing file errors for dl_images.hpp, ledcSetup, or ledc during compilation

This error is caused by a development board update resulting in multiple library incompatibilities. The development board should use a relatively older version such as 2.0.11 or 2.0.12. It can be removed directly in Arduino, and then the corresponding version can be selected and reinstalled, as shown in the image:

The provided tutorials also include an installation package. After removing the existing version, drag the installer to the desktop and double-click to initiate the installation. Wait for the progress bar to complete. The installation will finish without displaying any confirmation prompts. Restart the Arduino IDE to verify the installation. The installation package is located at: 1. Tutorials\6. Arduino Programming Projects\6.1 Programming Tool Installation and Overview\6.1.3 Arduino IDE Installation Package.


11. Why is the "ESP32 DEV Module" missing from the Board Manager?

This indicates the development board package is not installed. Click the Boards Manager icon on the left panel, search for esp32, and install an older version such as 2.0.11 or 2.0.12. Installing either version 2.0.11 or 2.0.12 is highly recommended.

The provided tutorials also contain the installation package. Drag the installer to the desktop, double-click to initiate the setup, and wait for the progress bar to finish. The installation concludes without visual confirmation. Simply restart the Arduino IDE to verify the installed board. The package is located at: 1. Tutorials\6. Arduino Programming Projects\6.1 Programming Tool Installation and Overview\6.1.3 Arduino IDE Installation Package.


12. Resolving Python Editor launch failures upon double-Clicking

This situation is caused by encoding incompatibilities. Rename the software executable file using only English and double-click to launch the application.


13. Resolving "Compilation error stray '\357' in program"

This error relates to program encoding issues. Older versions of the Arduino software support this specific format. Resolve the issue by downgrading to a lower Arduino IDE version or manually modifying the program encoding format.


14. Uploading Python programs on Mac when the Python Editor fails to install

Utilize WonderCode as an alternative solution. A dedicated Mac version of WonderCode is available to circumvent macOS compatibility issues with the standard Python editor.

Dragging and dropping .py files directly into the software is unsupported. Follow the steps outlined below to click the designated icon and import the Python .py files manually.

Light
Dark