Maqueen Plus V2 Motors Briefly Accelerate on Stop Command

userHead d0m3n 2024-11-06 07:31:56 95 Views0 Replies

Hi everyone,

 

I'm experiencing an issue with my Maqueen Plus V2 robot. When the robot is supposed to stop, the motors occasionally give a quick burst of acceleration before fully stopping. This "surge" lasts for just a split second but it affects precision. I'm not using the original micro:bit that came with the robot but a BPI-bit (https://wiki.banana-pi.org/BPI-Bit). I'm also using the C++ library for the Maqueen plus V1 (https://github.com/DFRobot/DFRobot_Maqueenplus). The sensors and motors work OK, the only issue is the fast acceleration when changing speed of the motors to 0. I made a simple function to test this, where the motors work for 1 second and then are off for one second. The first few times it moves it works ok but then it does the acceleration thing for 3-5 times, then works normally again. Then after some time it again accelerates for a few times, I couldn't really find a pattern.

 

I suspect the problem is because of the combination of the different library and board but I'm not sure. I don't have access to the original board so I can't try if it does the same thing there. Has anyone experienced this problem before? Should I try to fix it or does every Maqueen do this?

 

I’d appreciate any guidance on what might be causing this issue, or any suggestions for code adjustments or hardware modifications that might help.

Thanks for your help!