EasyManua.ls Logo

Makeblock mBot2 User Manual

Makeblock mBot2
22 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
Page #1 background imageLoading...
Page #1 background image
1 | P a g e
Digital Technology
MakeBlock mBot2 / CyberPi
Block Coding
Version 1.0 Barry Butler
Feb 2022 bbutl58@eq.edu.au
Question and Answer IconNeed help?

Do you have a question about the Makeblock mBot2 and is the answer not in the manual?

Makeblock mBot2 Specifications

General IconGeneral
BrandMakeblock
ModelmBot2
CategoryRobotics
LanguageEnglish

Summary

MakeBlock mBot2 / CyberPi Block Coding

The mBot2 Vehicle

mBot2 Documentation

Provides links to mBot2 and CyberPi documentation resources.

CyberPi Firmware Update

Instructions for updating the CyberPi firmware using the mBlock software.

mBot2 Introduction

Introduction to the mBot2 robot vehicle.

mBot2 Operational Guide

Guide on how to operate the mBot2.

CyberPi Python API Reference

Reference for the CyberPi Python API.

mBuild Modules Overview

Details on mBuild modules like sensors and their usage.

mBot2 Assembly Guide

Steps involved in building the mBot2.

mBot2 Connection Ports

Explains the connection ports on the mBot2 and their uses.

Introduction and Setup

Software Download and Installation

Instructions for downloading and installing the mBlock software.

Running mBlock Software

Guide on launching and navigating the mBlock software interface.

Connecting the mBot2

Details on the connection button and its function.

Mode Switching

Explanation of mode switch for upload and live modes.

Block Modules Installation

Steps to install and update mBot2 block modules.

USB Port Identification

Guide to locating the correct USB port for connection.

Creating a New Project

How to create a new project in the mBlock software.

Initiating Coding

Starting the coding process within the software.

First Program: Hello World

Program Functionality

Explains the 'hello' program's functions: console output, speaker, and LEDs.

Code Upload Process

How to upload code to the mBot2 using the upload button.

Upload Troubleshooting

Troubleshooting tips for upload failures.

Saving Your Project

Instructions for saving the project to your computer.

Controlling with Buttons

CyberPi Interface Overview

Overview of the CyberPi module's components: joystick, buttons, sensors.

Button A Event Handling

Example code demonstrating button A press to trigger display changes.

Motor Control

Motor Movement Commands

Describes various commands for controlling motor movement.

Stopping Motors

Command to halt the mBot2's motors.

Motor Control Code Templates

Basic code templates for running motors.

Single Action Motor Control

Template for one-time motor actions.

Looping Motor Movements

Using loops for repeated motor movements, e.g., moving in a square.

Motor Control Challenges

Practical challenges for motor control.

Continuous Motor Actions

Code template for continuous motor actions.

Continuous Motion Challenges

Practical challenges for continuous motor actions.

Obstacle Detection and Avoidance

Ultrasonic Sensor for Distance

How the ultrasonic sensor measures distance for navigation.

Obstacle Avoidance Logic

Code example for avoiding obstacles using the ultrasonic sensor.

Collision Avoidance Maneuvers

Code to reduce speed when approaching obstacles.

Object Seeking Behavior

Code to find and approach objects.

Obstacle Navigation Challenges

Practical challenges for obstacle avoidance.

Object Tracking Challenges

Practical challenges for object seeking and navigation.

Line Following

Quad RGB Sensor for Line Detection

Using the color sensor to detect and follow lines.

Line Following Code Examples

Code examples for detecting lines and responding.

Color Sensor Reflectance Values

How color sensor values indicate line presence.

Motor Control for Line Following

Code examples for motor control based on line detection.

Line Following Optimization Tips

Tips to improve line following speed and accuracy.

Line Following Challenges

Challenges for line following tasks.

SumoBot Operations

SumoBot Sensor Integration

How SumoBots use sensors to navigate and interact.

Basic SumoBot Code Structure

Core code structure for SumoBot actions.

Line Detection Logic

Code to detect the white border using the color sensor.

Proximity Detection Logic

Code to check proximity to other vehicles.

SumoBot Enhancements

Advanced strategies and improvements for SumoBots.

Connecting Peripherals

Servo Motor Control

How to connect and control servo motors.

Analog Sensor Reading

Reading data from analog sensors.

Digital Sensor Interaction

Interacting with digital sensors.

DC Motor Control

Controlling DC motors via code.

CyberPi Advanced Features

Extra Sensor and Input Usage

Using advanced CyberPi features like sensors and touch input.

Light Sensor Measurement

Reading ambient light levels.

Sound Sensor Measurement

Capturing audio volume.

Audio Playback Commands

Commands for playing tones and adjusting volume.

Accelerometer and Gyro Commands

Commands for tilt and shake detection.

Related product manuals