Skip to content

Search the documentation

Kit
Firmware

Examples

Examples are ready-to-open MoBot projects, one idea each. For every example there is a project file (.mobot) you open in MoBot, and a page that says what to plug in, what to press, and what you should see or hear.

Blocks examples (33) are made of blocks. Their pages show the Python that MoBot makes from the blocks, for firmware 3.0 and for firmware 2.x, as a reading copy.

Python examples (17) are written in MicroPython, for children who have outgrown dragging blocks, and for testing the parts of the firmware that no block can reach. Each one comes in two versions, one for firmware 3.0 and one for firmware 2.x, in tabs on its page. Firmware 3.0 renamed the Python names a program writes: a robot on 2.x does not know the 3.0 names, and a robot on 3.0 does not know the 2.x ones. See the name map.

  1. Open the .mobot file in MoBot (desktop or web).
  2. Plug the board in and pick its port.
  3. Press Send to Device in a blocks example: MoBot puts the program on the board as main.py and starts it. A Python example opens in the Code editor, which has Save and Run instead: Save puts the program on the board as main.py and MoBot starts it, and Run tries it once without saving.
  4. A Smart Car or a Mini that is in another mode makes MoBot ask whether to switch it to Programmable. Answer Switch to Programmable, or the program will not run.
  5. Follow the “what you should see” part of the example’s page.