Program the encoder motors for Ultimate 2.0 Mega Pi


#1

I have tried to run the servo motors via port 1 and port 2. I am using Mblock. I use the set stepper motor port 1 and port 2 to 100% attached to the up arrow.
I attach it to the up arrow. I can reset the default firmware and then install firmware. Works fine. I then discover the bluetooth port. When I hit the up arrow the green flag on the mblock goes out but the motors do not turn.

What am I missing. First time user using windows 10.


#2

Can you post your code?


#3

I have figured out what I did wrong.


#4

I have exactly the same problem

How did you solve it?


#5

Connect USB cable between Mega Pi card and computer.
Under Menu Extension select MakeBlock
Under Menu Boards select Ultimate 2.0 (mega pi)
Under Menu Connect select your COM port.
If you have selected the correct COM port, you can click UPGRADE FIRMWARE
If that works, under Scripts and Robots (middle panel) drag a "set encoder motor (panel 1) Power (100) to the right.
Select the port you want.
Turn on the power button on the Mega PI board (away from the power connection)
Right click on it and select duplicate. Change the power to 0
Double click on the first SET block (power level 100). The motor should start up.
Double click on the second SET block(power level 0) and the motor should stop.

Very basic test.


#7