Robot mBot2: Difference between revisions

From A Technological Wiki
Jump to navigation Jump to search
Created page with "== Required software == === mLink Controller === ==== Ubuntu ==== Driver: https://dl.makeblock.com/mblock5/linux/mLink-1.2.0-amd64.deb start it: sudo mblock-mlink start == Start programming == === Online IDE === https://ide.mblock.cc/ * CyberPi device should appear on the left side * Click on Switch to mLink * Click Connect none|thumb"
 
Line 1: Line 1:
== Required software ==
== Installation ==


=== mLink Controller ===
=== mLink Controller ===
Line 8: Line 8:
start it: sudo mblock-mlink start
start it: sudo mblock-mlink start


== Start programming ==
== Setup editor & Device ==


=== Online IDE ===
=== Online IDE ===
https://ide.mblock.cc/
https://ide.mblock.cc/


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


[[File:Mbot2.png|none|thumb]]
[[File:Mbot2.png|none|thumb]]
== 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
[[File:Mblock sample.png|none|thumb]]

Revision as of 12:06, 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