Reference
Last revision 2025/12/26
This article offers a detailed guide on adjusting a robot's balance by modifying specific code parameters and addressing potential voltage issues, ensuring optimal performance.
Other Supplementary Information
- Assembly Guide assemblyEN.pdf
- Test Manual testingEN.pdf
- Software for testing test terminal.zip
If you find the robot can not keep balance use the main code, maybe the reason is the voltage of your battery. Then you can follow the following step to adjust your robot.
- Upload the main code to the robot.
- Find the k1 to k4 in the code. Adjust the k1 k2 k3 k4, and you can comment the value of k1 to k4 and uncomment the k1 to k4 in void loop(), then you can use the Analog Rotation Sensor to adjust the value of k1 to k4.
- Keep k2=k3=k4=0 change k1 from 0
- If the robot can keep balance and not fall down, then change k2. If the robot do not shake anytime ,then change k3 and k4.
- Change the value of k1-k4 until you satisfied.
Was this article helpful?
