Skip to content

The tool’s interface below is still in French.

mBot: precise distances and angles

The mBot has no encoders: it drives “for a time.” Two measurements are enough to convert centimeters and degrees into seconds.

Étalonnage du robot

Pour étalonner : posez le robot sur le sol où il roulera, batteries chargées, et lancez « avancer à la puissance 50 % pendant 2 secondes », puis « tourner à droite pendant 1 seconde ». Mesurez, reportez ici. Refaites la mesure si vous changez de sol ou de piles.

Trajectoire et programme


            
How it works

How to use the mBot path calculator

Calibrate your mBot’s speed in two measurements, describe a route and get the exact durations, the mBlock script and the Arduino code.

  1. Calibrate

    Distance in 2 s, angle in 1 s.

  2. Write the route

    forward 30, right 90…

  3. Get the program

    Blocks, code and a path preview.

FreeNo subscription, no hidden limits.
No sign-upOpen the page and use the tool. That’s it.
InstantResults in seconds, on mobile too.
PrivateEverything runs in your browser.

About the mBot path calculator

The mBot has no encoders on its wheels: it does not know how far it has gone. Centimeters and degrees are therefore converted into durations, based on its measured speed.

The preview draws the path and shows whether the shape closes; four sample routes are provided.

mbot precise distance mbot turn 90 degrees mbot calibration mbot mblock move forward cm mbot square program mbot speed calibration mblock mbot distance
FAQ

Frequently asked questions about the mBot path calculator

Why doesn’t my square close?

Speed depends on the floor and on the battery charge: redo the calibration under real conditions.

Do I need a robot to use the tool?

No. It exists precisely to prepare or test a program before loading it onto the mBot.

Are the blocks identical to those in mBlock?

Labels may differ slightly depending on the mBlock version; the logic and the Arduino code stay the same.

Esc
↑ ↓ navigateEnter open