Mbot motor speed one side slow and fast how to fix it?


#1

Hi Mblock ,

I am facing an issue with the motor speed for the mbot one side moving slower than the other side. Check no cables rubbing the wheels.


#2

Hi Kenneth_Phang,

Refer to follow to balance the motors.

Steps:

  1. Please open the file via mBlock software. Motor A represent the speed of motor A,
    Motor B represents the speed of motor B.

2.Upload the program to Robot by mBlock, and press on the remote control. Then oberve the two speed of the motors under the different values.

3.Adjust the speed values until making them balance.

4.Keep in mind the two values, we need them afterwards.

5.Please open the program , and input the different values for Motor A and Motor B as below:

6.Please upload the modified firmware to mBot, then you can run the same speed for Motor A and Motor B.


#3

Hi tec_support,

Could you attach program file you use in step 5 please? It looks like default mBot program made in mBlock but the screenshot is hard to read.
I wonder if modifying motorA and motor B values in default program will balance the motors permanently, i.e. will they be balanced also in mBlock and Arduino programs, not only in IR remote mode?


#4

Hi Kenneth_Phang,

Please see the attachment here.
After this adjustment, it will balance the motors permanently in IR control mode. Do you want to control through 2.4G or Bluetooth?

Default program for mBot_V1.sb2 (186.2 KB)
adjust.sb2 (74.6 KB)


#5

bluetooth


#6

Hi Kenneth_Phang,

Thanks for feedback.
Have you fixed the unbalanced issue on the motors with provided program?


#7

Nope it didn’t work


#8

Hi Kenneth_Phang,

Could you tell some details, have you ever able to find the two values which making the motors balance?

For further feedback, please kindly send to email: tec-support@makeblock.com


#9

The first set of code, I was able to determine the inputs for motorA and motorB. However, with the default code that was uploaded. There was an undefined variable and get speed was noted as undeclared. Has the code been updated since the last posts? Thanks, Cliff


#10

Hi Cborowicz,

There are some updates for the program blocks on the newer version mBlock.
To use the grahical default program for mBot, you can use the mBlock version older than 3.3.6
If you use the newer verison mBlock, the stop tone block will be marked as undefined, you may just removed that and upload the program have a try since it doesn’t affect much.


#11