Robot mBot2: Difference between revisions

From A Technological Wiki
Jump to navigation Jump to search
m Root moved page Category:Robot mBot2 to Robot mBot2 without leaving a redirect
No edit summary
Line 30: Line 30:


[[File:Mblock sample.png|none|thumb]]
[[File:Mblock sample.png|none|thumb]]
[[Category:IT Robotics]]

Revision as of 12:25, 11 March 2026

Installation

mLink Controller

Ubuntu

Driver: https://dl.makeblock.com/mblock5/linux/mLink-1.2.0-amd64.deb

start it: sudo mblock-mlink start

Setup editor & Device

Online IDE

https://ide.mblock.cc/

  • Add a new device "mBot2" using the button the left side
  • Click on Switch to mLink (in the image it shows "direct connection")
  • Click Connect

Basic example

On the side panel, you can select the different events and actions we want to make. In this example, we use:

  • Event: when jostick is pulled up
  • Display: clear screen
  • Display: print message
  • LED: play animation
  • Audio: play hi
  • mBot2 Chassis: move forward 1 cm