None of MeEncoderOnBoard samples are working


Continuing the discussion from All About Motors, APP and Etc, from Makeblock Team:

mBot Ranger.

If I use run “Avoid Obstacles” mode from mBot App from iOS then the device moves as it should. Motors are working.

But if I try any MeEncoderOnBoard examples from Arduino IDE motors are not working at all.

a) “Me_Auriga_encoder_pid_speed” example loads on the device successfully and runs there but terminal shows zero speed.

b) Same problem with mBlock application. I can run all sensor and indicator functions, but not motors - they are silent.

In both cases I am connecting to the device with USB cable. Could it be the problem?

One more observation: in order to see meaningful output I am changing Serial.begin(115200); to Serial.begin(9600); in those samples - without that COM port communication over USB is not working properly. That shall be mentioned in comments of your samples.

Update: I am able to execute run commands using mBlock application over USB on other PC (Microsoft Surface) this time.


Answering to myself.

Apparently not all USB ports are powerful enough so on some ports Auriga will not be able to run motors. That could be confusing as micro servo motors work.


Hi C-smile,
There is no enough power from USB cable. USB connection offers 5V and Motor needs 6-12V.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.