Example: scratch 3.0 programs
Use the IR remote control to start controlling mBot. In addition, you can also download APP to control the Bluetooth version mBot. Without an IR remote control or an app, you can still test your mBot by pressing the on-board push button to change modes: When the RGB LED is green, mBot is in the obstacle avoid-ance mode. MBot App is a free App that specifically designed for mBot robot. It’s an easy way for users to pair cellphone with mBot by Bluetooth, we could play with mBot immediately without programming and updating the firmware.What is mBot robot? MBot robot is a high cost performance, easy to run robot kit for students to achieve the STEM project.
Script description
Use the onboard button to start moving forward mBot. The value of the ultrasonic sensor indicates the distance between mBot and any barrier in front of it. Given the threshold of 10cm, it indicates there is no barrier in front when mBot is more than 10cm from the object, and mBot keeps its moving forward; it indicates there is barrier in front when mBot is less than 10cm from the object, and mBot needs to change direction to avoid the object.
In this example indicates that if is true, the “if” blocks will be loaded or the “or” blocks are loaded. Use to let mBot turn right to avoid barrier and use to control the right-turning angle. Or you can use other actions to avoid barriers, for example, let mBot move back for a certain distance and turn right or left.
Extended tasks
Task 1 | Modify the script and use block to achieve barrier avoidance. |
Task 2 | Change mBot’s action when it encounters a barrier and let mBot move back and turn around when it meets a barrier. |
Attached–ultrasonic sensor element diagram
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
—— More examples
# arduino download # coding robots for kids # scratch download # scratch 2.0 # kids programming language # how to make games on scratch # scratch 3.0
Introduction
Get Started
Programming
Resource Download
FAQ
mBot App
mBot App is a free App that specifically designed for mBot robot. It’s an easy way for users to pair cellphone with mBot by Bluetooth, we could play with mBot immediately without programming and updating the firmware.What is mBot robot? mBot robot is a high cost performance, easy to run robot kit for students to achieve the STEM project. You could use Bluetooth to connect mBot with cellphone easily, the App has integrated main functionality of mBot, which contains motion control, automatic line-tracking, ultrasonic obstacle-avoiding, buzzer, RGB LED and so on.
mBlockly For mBot
LET YOUR ROBOT FEEL, THINK, AND DANCE
With mBlockly, your mBot robot may perceive distance via ultrasonic sensors, mind its feet through line-tracking sensors, and be afraid of dark with its lightness sensor. Build short programs to let your mBot move or sing a little song when it is happy or sad.
TAKE YOUR MBOT WITH YOUR TRIP
Computers and cables are no more needed. Your iPad communicate directly with your mBot via Bluetooth.
TURN YOUR IPADS INTO MAGIC WANDS
mBlockly can read the status of iPad’s gyroscope, meaning that you may let your mBot dance by shaking the iPad or tilting it to each direction.
Video: https://www.youtube.com/watch?v=i1J1-W_onz0
Note: mBlockly app is no longer updated, please try Makeblock app or mBlock app, and here is the link for further information.
mBlock Software download
mBlock is a free modified version of Scratch2.0 developed by MIT Media Lab. Added some hardware-related blocks based on the original Scratch, mBlock enables users to read sensors, control motors and even the whole robot with ease.
Mbot Crack 1.2 Download For Laptop
Download: mblock Software
System Requirement:
- Windows or Mac operating system
- Adobe Air version 17.0+ (included)
- Arduino IDE version 1.6.5 (included)
- Over 120 MB free hard drive space