MechDog Frequently Asked Questions
1. During firmware flashing, the page keeps showing "Syncing no response," and the black terminal continuously outputs ellipses. How can this issue be resolved?
- First, verify whether the homepage is configured according to the following image, ensure the firmware checkbox is selected. After selecting the .bin file and entering the 0x0000 address, choose the correct serial port and baud rate. First click ERASE to erase the chip, then click START to begin downloading.
- If the configuration is correct but the issue persists, press the IO0 button on the ESP32 board during the flashing process to initiate the control chip firmware flashing.
- If the above steps still do not resolve the issue, try flashing the firmware using a different computer. If changing to a different computer does not resolve the issue, open the back cover of the device and power on the ESP32, then check whether the ESP32 chip becomes abnormally hot. If the temperature is very high, contact customer support via email: support@hiwonder.com, and the Hiwonder support team will then report the issue to the technical team.
2. How to modify the voice interaction recognition keywords on MechDog?
The instructions for modifying the MechDog voice interaction recognition words are as follows:
Locate the Command Word Broadcasting Protocol List file in MechDog & MechDog Pro 2501\1. Tutorials\3. Scratch Programming Projects\3.4 Voice Interaction Projects\3.4.1 WonderEcho Introduction & Assembly.
The keyword ID used by the voice interaction recognition module in the code is not the semantic label at the beginning, but the third column in the transmission protocol, as shown in the red box in the image above. The third column in the transmission protocol table is in hexadecimal format. When programming in the code, it must be converted from hexadecimal to decimal before it can be used.
The human-machine interaction code below serves as an example:
The section highlighted in the red box corresponds to the entry ID in the Command Word Broadcasting Protocol List. It is the decimal-converted value of the hexadecimal entry ID. If new voice interaction action groups and their corresponding recognition keywords need to be modified, they can be updated using this method.
3. When using the Python editor and WonderCode, if the correct serial port is selected but the robot cannot connect and a wrong controller board is detected, how should it be resolved?
First, check whether MechDog has been powered on before connecting it to the computer in the correct wiring order, and ensure it is not connected to any other device.
Then check whether Arduino programming was used before switching to the Python editor. If Arduino was used previously, switching to the Python editor will require reflashing the ESP32 board firmware to resolve this issue. The related firmware and tutorials are located in the following path: MechDog & MechDog Pro 2501\2. Software & Programs\1. Firmware Flashing Tool and Firmware.
If the device still cannot connect without having used Arduino programming, the serial port driver needs to be updated and the wiring should be checked again. This issue can be resolved by first uninstalling the driver, waiting for the process to complete, and then reinstalling it.
4. After powering on, the MechDog power indicator works normally, but it cannot stand up automatically. The servos are not powered and can be moved easily by hand. How can this issue be resolved?
This issue occurs because the MechDog firmware is missing. Reflashing the firmware on MechDog will resolve the problem. Please refer to the firmware flashing tutorial in the following path for instructions: MechDog & MechDog Pro 2501\2. Software & Programs\1. Firmware Flashing Tool and Firmware\Flashing MechDog Firmware.
5. How should the error “Compilation error: mech base types.h: No such file or directory” be resolved during program upload?
This error occurs because the required library package has not been added. After adding the package, recompile the program. Similarly, if errors occur due to missing libraries such as MPU6050 or SensorLib, the same method can be used by adding the corresponding compressed library package.
6. Why can’t the MechDog vision module correctly recognize colors when implementing the color recognition function?
Implementing this functionality requires flashing the corresponding programs separately to both the ESP32 S3 vision module and the MechDog.
When uploading the ESP32 S3 vision module program, the configuration items must match those specified in the reference documentation. Any mismatch with the provided configuration can lead to recognition failures.
Select the corresponding ESP32S3 development board configuration according to the following image. This configuration is required during the initial use and does not need to be repeated for subsequent uses. However, verifying the settings before every upload remains necessary.
Since the module has no display, if it is unclear whether it is functioning correctly, open the Arduino serial monitor after uploading the program to check the output. The serial monitor is located in the upper-right corner. If the corresponding color ID is displayed normally, the recognition is working properly. Then connect the vision module to the designated interface on MechDog as described in the documentation, and upload the corresponding program to the robot dog as well. After uploading the MechDog program, disconnect the data cable and restart the device to enable the function.
7. When uploading functions that require I2C devices, such as color recognition, a serial port error occurs and the upload fails. How can this issue be resolved?
This issue occurs because the MechDog is not properly connected to the corresponding I2C device, preventing the I2C module from initializing correctly and causing an error. Please check whether the device is connected to the correct port and ensure it has not been connected to any other device by mistake. If the connections are correct, further troubleshoot whether the issue is caused by the 4-pin cable or the module itself. If the issue is confirmed to be a hardware problem, contact customer support via email: support@hiwonder.com, and the Hiwonder support team will escalate it to the technical team.
8. Why does MechDog emit a beeping sound when connected to a computer?
This issue occurs because an incorrect connection sequence causes a power supply problem, triggering a low-voltage alarm. The correct procedure is to power on MechDog first, and then connect it to the computer.
9. Why does MechDog beep continuously when powered on?
This is a low-voltage alarm caused by insufficient battery power.
10. The robot dog does not respond at all when powered on, and the board’s indicator light does not turn on. How should this issue be resolved?
This issue occurs because, for safety during shipping, the lithium battery is disconnected from the robot dog before delivery. If this situation occurs after receiving the product, simply open the bottom cover, reconnect the battery, and then close the cover.
11. If the Python editor cannot be installed on macOS, how should Python programs be uploaded?
Wondercode can be used as an alternative. Wondercode offers a Mac version, which is suitable for resolving incompatibility issues between the Python editor and Mac systems.
.py programs should not be dragged directly into the software. Instead, the steps below must be followed by clicking the icon to import the Python .py file.
12. How should the robotic arm be connected to the MechDog?
Reference the tutorial located at the following path: MechDog & MechDog Pro 2501\1. Tutorials\10. Robotic Arm Expanded Lesson\10.1 Robotic Arm Control.
13. How should errors containing "stk500" and "not in sync: resp=0x00", such as "avrdude: stk500_gentsync( ) attempt 1 of 10: not in sync: resp=0x1b" and "Error: programmer is not responding Warning: attempt 1 of 10: not in sync: resp=0x00", or serial port and wiring-related errors indicating an inability to connect to boards like the ESP32S3 during program upload, be handled?
This type of error is caused by wiring issues and serial port issues. First, confirm whether the Bluetooth module on the robot dog was unplugged before uploading the program. Then confirm whether the correct serial port has been selected for the device. In Device Manager, check whether the selected port contains CH340. If uploading to an Arduino board, the correct port will be shown as Arduino UNO. If it matches, it is the correct port. If the serial port is confirmed to be correct, try replacing the cable or switching to another USB port. If the error still occurs, try using a different computer.
14. How should errors such as missing “dl_images.hpp”, “ledcSetup”, or “ledc” during program compilation be resolved?
This error occurs because the development board has been updated, causing compatibility issues with several libraries. The board package should use a lower version such as 2.0.11 or 2.0.12. It can be uninstalled directly in Arduino IDE, then the required version can be selected and reinstalled as shown in the image:
The installation package is also provided in the tutorial. First, remove the existing version. Then simply drag the installer to the desktop and double-click it to start installation. Wait until the progress bar completes. After installation, nothing may be displayed. Just restart the Arduino IDE to see the changes.
The installation package is located at the following path: 1. Tutorials\5. Arduino Programming Projects\5.1 Arduino IDE Installation and Calibration Writing\5.1.4 IDE Installation Package & ESP32 Development Package.
15. Why can’t the “ESP32 DEV Model” board be found or selected in the Boards Manager?
This issue occurs because the board package has not been installed. Navigate to the left panel in the Arduino IDE, click Boards Manager, then search for ESP32. Install a lower version such as 2.0.11 or 2.0.12. It is recommended to install either version 2.0.11 or 2.0.12.
The installation package is also provided in the tutorial. Simply drag it to the desktop and double-click to start the installation. Wait for the progress bar to finish. After installation, nothing may be displayed. Just restart the Arduino IDE to see the changes.
The installation package can be found in the following path: 1. Tutorials\5. Arduino Programming Projects\5.1 Arduino IDE Installation and Calibration Writing\5.1.4 IDE Installation Package & ESP32 Development Package.
16. How should the issue be resolved if the Python editor cannot be opened by double-clicking?
This issue is caused by encoding incompatibility. Simply rename the software to an all-English name and then double-click to open it.
17. How should the error “Compilation error stray "\357 in program” be resolved?
This error is a program encoding issue. Older versions of the Arduino software support this format. The problem can be resolved by switching to a lower version of Arduino or by manually modifying the program's encoding format.
18. What precautions should be taken when flashing firmware?
-
Before uploading the program, connect MechDog to the computer and open the PC software. Then click Read Deviation and take a screenshot to save the deviation values, because flashing the firmware will reset the servo deviations to zero.
-
First, check whether the home page has been configured as shown in the figure, and whether the firmware option has been selected. Then select the .bin file, enter the address 0x0000, choose the correct serial port and baud rate, click ERASE to erase the flash memory, wait until the process is completed, and finally click the START button to begin downloading.
